RaspberryPi: LxSession confused by nondesktop autostart file

The standard session manager used by LXDE - http://wiki.lxde.org/en/LXSession
SteveDee
Posts: 4
Joined: Mon Oct 06, 2014 5:06 am

RaspberryPi: LxSession confused by nondesktop autostart file

Postby SteveDee » Thu Oct 09, 2014 4:40 pm

I was puzzled recently when I added a .desktop file (launcher) to /home/pi/.config/autostart and could not see it listed in "Desktop Sessions Settings" (lxsessions-edit). My x11VNC.desktop should have appeared in the "Automatically Started Applications" list, but it was not there.

The problem was due to a second file in the autostart folder. I had edited x11VNC.desktop using gEdit, a text editor which automatically creates a backup file, in this case: x11VNC.desktop~

Having non-desktop files in the autostart folder seems to confuse LxSession. Simply deleting the bogus file fixed the problem.

Return to “LXSession (Lite)”

Who is online

Users browsing this forum: No registered users and 1 guest