Comment 6 for bug 252571

Revision history for this message
In , Juan Ignacio Saitua (jisaitua) wrote :

Version: (using KDE 3.5.9)
Installed from: Ubuntu Packages
OS: Linux

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.