From kde-linux Sat Jul 26 09:28:16 2008 From: Kevin Krammer Date: Sat, 26 Jul 2008 09:28:16 +0000 To: kde-linux Subject: Re: [kde-linux] Help with desktop file, Message-Id: <200807261128.30849.kevin.krammer () gmx ! at> X-MARC-Message: https://marc.info/?l=kde-linux&m=121706456900712 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0872762667==" --===============0872762667== Content-Type: multipart/signed; boundary="nextPart10498709.OdROFNSMqb"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart10498709.OdROFNSMqb Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 25 July 2008, jisaitua@covenco.cl wrote: > 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=3Dmyapp". > - 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:/us= r/ >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:/us= r/ >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. Depending on what the desktop-entry specification says this could be the=20 intended behavior, i.e. prefer the application on the same prefix as=20 the .desktop file over one in PATH. =46or example in a scenario where you'd have myapp and myapp_entry.desktop = both=20 in /usr/ and /usr/local, the respective menu entry would launch the=20 respective program. However my guess is that it is actually a bug, so I suggest you file a bug= =20 report against kdelibs. Might be just in time for KDE 3.5.10 Would be interesting to know if anyone with a KDE4 setup can reproduce it. Cheers, Kevin =2D-=20 Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring --nextPart10498709.OdROFNSMqb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIiu4+nKMhG6pzZJIRAiiVAKCEKSWaIUvmuVv2Gg5sYj7oMNanUQCeOQJt NZyRo8KgmWmPDk9phcAF8EI= =/0Ox -----END PGP SIGNATURE----- --nextPart10498709.OdROFNSMqb-- --===============0872762667== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________ 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. --===============0872762667==--