Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#628 Autorun dialog does not pass URI to program (Rhythmbox does

1.1
closed-accepted
pcmanfm (100)
5
2012-10-08
2012-10-08
Paul Menzel
No

As sent to the Debian BTS.

Am Montag, den 01.10.2012, 16:30 +0200 schrieb Paul Menzel:

[…]

> having Rhythmbox (2.97-2.1) installed, using LXDE and inserting an audio
> CD, the autorun dialog from PCManFM is shown displaying all applications
> announcing to handle audio CDs in their `*.desktop` files under
> `/usr/share/applications/`. Choosing Rhythmbox, it is not started and
> the following error is written to `~/.xsession-errors`.
>
> (rhythmbox-client:3937): Rhythmbox-WARNING **: Für --select-source wird ein Argument benötigt
>
> The cause for this issue is, that the URI (%U) is not passed when the
> program is started.
>
> $ grep Exec /usr/share/applications/rhythmbox-device.desktop
> Exec=rhythmbox-client --select-source %U
>
> In #lxde on OFTC, the developer LStranger wrote that this issue has been
> fixed in 1.x. Though I still have to confirm this by building the
> packages myself from latest Git.
>
> I guess the fix should be not very invasive, but unfortunately I was not
> able to find a commit mentioning such a fix in its commit message.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689317

Discussion

  • Paul Menzel
    Paul Menzel
    2012-10-08

    Yesterday, LStranger in #lxde already posted the fix and will attach a patch shortly to fix/extend the call `g_app_info_launch(app, NULL, NULL, NULL);`.

     
  • Paul Menzel
    Paul Menzel
    2012-10-08

    • assigned_to: nobody --> lstranger
    • status: open --> open-accepted
     
  • Thank you very much. Patch applied.

     
    • status: open-accepted --> closed-accepted