.desktop launchers ignore path argument

Bug #1532628 reported by Chris Henk
6
This bug affects 1 person
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/cahenk/Applications/PhpStorm-143.382.38/bin/webide.png
Exec="/home/cahenk/Applications/PhpStorm-143.382.38/bin/phpstorm.sh" %f
Comment=Develop with pleasure!
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-phpstorm

# File that has errors

[Desktop Entry]
Version=1.0
Type=Application
Name=VS Code
Comment=
Exec=./Code
Icon=/home/cahenk/Applications/VSCode-linux-x64/resources/app/vso.png
Path=/home/cahenk/Applications/VSCode-linux-x64/Code
Terminal=false
StartupNotify=false

# File with changes that fix the error

[Desktop Entry]
Version=1.0
Type=Application
Name=VS Code
Comment=
Exec=/home/cahenk/Applications/VSCode-linux-x64/Code
Icon=/home/cahenk/Applications/VSCode-linux-x64/resources/app/vso.png
Terminal=false
StartupNotify=false

Revision history for this message
Chris Henk (cahenk95) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.