.desktop file not honoring PATH environment variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdelibs |
Fix Released
|
Medium
|
|||
kdelibs (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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/
- I added /opt/bin into PATH (editing /etc/environment). So PATH has the following: /opt/bin:
Now, when I launch "kdialog --msgbox `echo $PATH`" using ALT+F2 it shows correctly: /opt/bin:
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://
Thank you.
description: | updated |
Changed in kdelibs: | |
status: | Unknown → New |
Changed in kdelibs: | |
importance: | Unknown → Medium |
Changed in kdelibs: | |
status: | New → Incomplete |
Changed in kdelibs: | |
status: | Incomplete → New |
Changed in kdelibs: | |
status: | New → Fix Released |
Version: (using KDE 3.5.9)
Installed from: Ubuntu Packages
OS: Linux
This is the situation: applications with the Exec line as "Exec=myapp" /usr/local/ sbin:/usr/ local/bin: /usr/sbin: /usr/bin: /sbin:/ bin:/usr/ games
- I have myapp in /usr/bin/myapp and in /opt/bin/myapp
- I also have myapp_entry.desktop in /usr/share/
- I added /opt/bin into PATH (editing /etc/environment). So PATH has the following: /opt/bin:
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.