You are not logged in.

#1 2013-08-17 09:19:00

renegat
Member
From: Europe
Registered: 2012-12-28
Posts: 100

[SOLVED] LXDE .desktop file unable to start terminal based application

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.
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

[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:

[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?

Last edited by renegat (2013-08-18 12:43:55)

Offline

#2 2013-08-17 10:34:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] LXDE .desktop file unable to start terminal based application

Offline

#3 2013-08-18 11:39:16

renegat
Member
From: Europe
Registered: 2012-12-28
Posts: 100

Re: [SOLVED] LXDE .desktop file unable to start terminal based application

@karol: Thanks for your answer, but I do not have /dev/pts in my /etc/fstab

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

Last edited by renegat (2013-08-18 12:43:25)

Offline

Board footer

Powered by FluxBB