From kde-linux Fri Jul 25 15:56:38 2008 From: jisaitua () covenco ! cl Date: Fri, 25 Jul 2008 15:56:38 +0000 To: kde-linux Subject: [kde-linux] Help with desktop file, Message-Id: X-MARC-Message: https://marc.info/?l=kde-linux&m=121706343932070 Hi, I would appreciate if someone could help me with the following problem. I'm running kubuntu hardy (KDE 3.5.9) and 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 here is my problem, when I launch "myapp_entry" using ALT+F2 it runs /usr/bin/myapp and not /opt/bin/myapp as I would expect. So, how can I make that myapp_entry.desktop runs /opt/bin/myapp without using the absolute path in Exec=? Thank you. JIS. ___________________________________________________ This message is from the kde-linux mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde-linux. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.