Don't spawn multiple instances from the .desktop file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Decibel Audio Player |
Fix Released
|
Low
|
Anonym25712 |
Bug Description
Hi François,
I've got this bug report in Debian:
http://
"When I select multiple audio files in Thunar and click "Play
with Decibel", multiple instances are spawn. This is due to a lacking
argument in the Exec entry in the desktop file. In fact, the Freedesktop
specifications
(http://
that with %f, the system should assume that the application can't manage
multiple files on its command line, and should run multiple instances,
whereas with %F, all files can be pushed to the same single instance.
In the provided desktop file, no argument is set, and I'm guessing
that's the reason why Thunar launch multiple players. Could you please
modify the Exec entry so that it has a trailing "%F"?"
I've reproduced the problem selecting multiple sogs in nautilus and opening them. Multiple instances of decibel open if I do that. I've tested adding the %F to the Exec file and it solves the problem (note that you need to run update-
Fixed on trunk.