.desktop file unable to start console apps from desktop

All questions and problems regarding the installation and upgrades of LXDE from USB Stick, Live CD or Web.
Locked
renegat
Posts: 6
Joined: Fri Mar 29, 2013 9:06 am

.desktop file unable to start console apps from desktop

Post 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?
Arch-Linux @ 3x D510MO (Atom D510), 1x D410PT (Atom D410), 1x D525MW (Atom D525), Foxconn nt-535 (Atom D525), Shuttle XS35V2 (Atom D525), D945GCLF (Atom 230), D945GSEJT (Atom N270), Q-Box aka Netbox n270 (Atom N270), SZ901 Netbook (Atom N270)
Rex Bouwense
Posts: 1093
Joined: Sat Aug 27, 2011 5:44 pm
Location: Sierra Vista, Arizona USA
Contact:

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

Post 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
Rex
renegat
Posts: 6
Joined: Fri Mar 29, 2013 9:06 am

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

Post 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
Arch-Linux @ 3x D510MO (Atom D510), 1x D410PT (Atom D410), 1x D525MW (Atom D525), Foxconn nt-535 (Atom D525), Shuttle XS35V2 (Atom D525), D945GCLF (Atom 230), D945GSEJT (Atom N270), Q-Box aka Netbox n270 (Atom N270), SZ901 Netbook (Atom N270)
Rex Bouwense
Posts: 1093
Joined: Sat Aug 27, 2011 5:44 pm
Location: Sierra Vista, Arizona USA
Contact:

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

Post 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.)
Rex
Locked