[kde-linux] Help with desktop file, exec and PATH environment variable
- From: jisaitua@xxxxxxxxxx
- Date: Fri, 25 Jul 2008 11:56:38 -0400
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.
- Follow-Ups:
- Re: [kde-linux] Help with desktop file, exec and PATH environment variable
- From: Kevin Krammer
- Re: [kde-linux] Help with desktop file, exec and PATH environment variable
- Prev by Date: [kde] Wallet Manager in KDE4
- Next by Date: [kde-linux] Issues with KDE4.1 RC1
- Previous by thread: [kde] Wallet Manager in KDE4
- Next by thread: Re: [kde-linux] Help with desktop file, exec and PATH environment variable
- Index(es):
Relevant Pages
|