[Bug 252571] Re: .desktop file not honoring PATH environment variable

jisaitua jisaitua at yahoo.com
Wed May 6 14:02:11 UTC 2009


No, it has no Path entry. I can also put directly "Exec=/opt/bin/myapp", but I don't want to edit *.desktop files lying in /usr/share/applications.
Maybe I need to explain my real scenario: we are using a thinclient environment where we need to tweak many applications so they "just work" for the end users (e.g. sound, cd burning, 3d graphics). Our first approach was to edit the *.desktop files to run those specific applications with the corresponding tweak (e.g. use padsp to launch java to have remote sound). That approach doesn't scale well, because after every system update, some *.desktop files where replaced with newer ones, and our "tweaks" get loosed. Our next approach was to use "wrappers" for those specific applications. Those "wrappers" lay in /opt/bin. So when some one starts "java.desktop" it really should start "/opt/bin/java" (and that runs "padsp /usr/bin/java"). 
BTW: Our current workaround was to edit directly the libkdecore.so.4.2.0 library and replace the hard coded /usr/bin path with /opt/bin (see previous post for details about the PATH issue). A really nasty hack, but it work for us.

-- 
.desktop file not honoring PATH environment variable
https://bugs.launchpad.net/bugs/252571
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdelibs in ubuntu.




More information about the kubuntu-bugs mailing list