launch bar execs wrong app

The standard panel of LXDE - http://wiki.lxde.org/en/LXPanel
Locked
ryofurue
Posts: 12
Joined: Wed Feb 18, 2009 7:44 am

launch bar execs wrong app

Post by ryofurue »

Hi there,

I've added a .desktop file (~/Desktop/emacs22-gtk.desktop) to the launch bar:

(right click) > "Application Launch Bar" Settings > Add

and then I choose the .desktop file. The emacs icon appears in the launch bar. If you click on the icon, emacs is launched, but not the version specified in the .desktop file. As you can see in the attached contents of the .desktop file, I want to exec /usr/local/bin/emacs. But, the launch bar execs /usr/bin/emacs22 instead. Why is that?

The .desktop file itself works. If you double-click on it on the Desktop, /usr/local/bin/emacs is launched.

I use the testing distribution of Debian GNU/Linux, where the LXDE version is 0.3.2.1+svn20080509-5 .

Thank you.
Best regards,
Ryo
------------------------
[Desktop Entry]
Comment=GNU Emacs Text Editor 22
Comment[en_US]=GNU Emacs Text Editor 22
Exec=/usr/local/bin/emacs
GenericName=Emacs
GenericName[en_US]=Emacs
Icon=/usr/share/emacs/22.2/etc/images/icons/emacs_48.png
MimeType=text/plain
Name=Emacs 22 (X11)
Name[en_US]=Emacs 22 (X11)
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=
X-KDE-SubstituteUID=false
X-KDE-Username=
Locked