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

jisaitua jisaitua at yahoo.com
Mon Jul 28 13:46:14 UTC 2008


Public bug reported:

Binary package hint: kdelibs

Hi,

This is the situation: 
  - I have myapp in /usr/bin/myapp and in /opt/bin/myapp 
  - I also have myapp_entry.desktop in /usr/share/applications with the Exec line as "Exec=myapp" 
  - I added /opt/bin into PATH (editing /etc/environment). So PATH has the following: /opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games 
 
Now, when I launch "kdialog --msgbox `echo $PATH`" using ALT+F2 it shows correctly: /opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games 
 
When I launch "myapp" using ALT+F2 it runs /opt/bin/myapp as expected. 
But, and this is what I think is a BUG, when I launch "myapp_entry" using ALT+F2 it runs /usr/bin/myapp and not /opt/bin/myapp as I would expect.

My system:
  Description:    Ubuntu 8.04.1
  Release:        8.04
  kdelibs: 4:3.5.9-0ubuntu7.1

I asked about this issue on kde-linux mailing list
(http://lists.kde.org/?l=kde-linux&m=121706343932070&w=2) , then I
reported a BUG mainstream (https://bugs.kde.org/show_bug.cgi?id=167502).
Maybe this is a kubuntu only issue, I'm not sure, so this is why I'm
posting it here too. Sorry if this is not the way to go.

Thank you.

** Affects: kdelibs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
.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
Team, which is subscribed to kdelibs in ubuntu.




More information about the kubuntu-bugs mailing list