.desktop launchers ignore path argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Docky |
New
|
Undecided
|
Unassigned |
Bug Description
I created some .desktop files to launch some of my programs that don't create launchers when installed.
Docky identifies the windows correctly and associates them with the correct launcher. Minimize and unminimize also work correctly.
The issue occurs when the program is not running and I try to use the launcher to start it. The animation of the icon bouncing plays but the program is not launched. This only happened with launchers that I created, not with those created automatically during installations so I opened an automatically generated one and my custom one in a text editor and found that the generated ones do not make use of the PATH argument. I wrote out the full command as the EXEC argument and the launchers now function as intended.
I'm not sure if this is actually bug or just a missing feature, but I feel fixing it would improve the user experience for docky. The GUI tool in Xubuntu (and I assume xfce in general) for creating .desktop launchers allows you to use the PATH argument and the launchers function properly when you do so just not with docky.
It's easy enough to work around but is confusing, especially to less advanced users.
I'm probably going to poke through the source a bit and see if I can't add/fix this feature but my c# experience is minimal so I figured I'd post this here anyway in case some one else can/wants to tackle it.
Specs:
Docky version: 2.2.0 Release
Xubuntu 14.04
I've attached the debug output. The three fatal outputs at the end of the file are from trying to launch a custom launcher 3 times.
Here are my .desktop files:
# Auto generated file
[Desktop Entry]
Version=1.0
Type=Application
Name=PhpStorm
Icon=/home/
Exec="/
Comment=Develop with pleasure!
Categories=
Terminal=false
StartupWMClass=
# File that has errors
[Desktop Entry]
Version=1.0
Type=Application
Name=VS Code
Comment=
Exec=./Code
Icon=/home/
Path=/home/
Terminal=false
StartupNotify=false
# File with changes that fix the error
[Desktop Entry]
Version=1.0
Type=Application
Name=VS Code
Comment=
Exec=/home/
Icon=/home/
Terminal=false
StartupNotify=false