[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-linux
Subject:    [kde-linux] Help with desktop file,
From:       jisaitua () covenco ! cl
Date:       2008-07-25 15:56:38
Message-ID: OF6768A478.EC453798-ON84257491.00497A0C-84257491.0057A7A7 () covenco ! cl
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic