Page 1 of 1

.desktop file unable to start console apps from desktop

Posted: Sat Aug 17, 2013 9:42 am
by renegat
Hello;
Everytime I try to start a termial based command or application by a .desktop starter, the termial window opens, closes immediatly and then a new termial window opens with a shell only doing nothing. OS 3.10.6-2-ARCH
The same starter at ~/.local/share/applications/ called from lxmenu works fine.
This behaviour happens since one of the last updates, it was reproducable on 32bit and 64bit systems.

Example:

calendar.desktop

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Calendar
Exec=/usr/bin/watch -n30 /usr/bin/cal
Terminal=true
This starter on the desktop worked till update, after update it showed behaviour described above.
I don't know if this issue is lxde related. The recently updated lx components were:

Code: Select all

[2013-08-03 20:00] [PACMAN] upgraded lxpanel (0.5.12-1 -> 0.5.12-2)
[2013-08-03 20:00] [PACMAN] upgraded lxsession (0.4.6.1-3 -> 1:0.4.6.1-1)
[2013-08-13 08:20] [PACMAN] upgraded lxdm (0.4.1-22 -> 0.4.1-23)
STFW: LXDE Forums: problem starting console apps from .desktop
very old and no solution

No errors logged in any log
Any Ideas how to fix this?

Re: .desktop file unable to start console apps from desktop

Posted: Sat Aug 17, 2013 2:04 pm
by Rex Bouwense
No idea how to fix it but it has already been reported to SourceForge as a bug.
http://sourceforge.net/search/?group_ar ... om+desktop

Re: .desktop file unable to start console apps from desktop

Posted: Sun Aug 18, 2013 12:34 pm
by renegat
Thank you Rex Bouwense;
your answer led to another bug report which contained the solution:

I had to add '-e' and '%s' behind 'lxterminal' in the PCManFM Edit -> Preferences -> Advanced Tab:

Terminal-Emulator: lxterminal -e %s

Re: .desktop file unable to start console apps from desktop

Posted: Sun Aug 18, 2013 12:53 pm
by Rex Bouwense
Excellent. Thanks for posting back. I didn't even look in Launchpad just in SourceForge. Stick around and provide help to others if you have the time (and the desire.)