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
Binary package hint: kdelibs
Hi,
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.
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=1217063439320 70&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.