Page 1 of 1

lxde startup applications

Posted: Mon Nov 17, 2008 2:24 pm
by nitrofurano
How can i define startup applications (and terminal commands) when LXDE boots?

Re: lxde startup applications

Posted: Tue Nov 18, 2008 10:38 am
by mashcaster
You can autostart by adding to:
/etc/xdg/lxsession/LXDE/autostart

Re: lxde startup applications

Posted: Tue Nov 18, 2008 5:19 pm
by dekaru
A less global way would be to make a *.desktop file in the ~/.config/autostart folder. Here's an example of my nitrogen.desktop file:

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=nitrogen
Comment=
Exec=nitrogen --restore
StartupNotify=false
Terminal=false
Hidden=false
I don't know where is the call to these files made. Since I first installed XFCE and then LXDE I already had my XFCE autostarted apps working and it seems that both DE's modify and look in these locations for commands to run after logging in.

Re: lxde startup applications

Posted: Wed Nov 19, 2008 4:05 am
by PCMan
dekaru wrote:I don't know where is the call to these files made. Since I first installed XFCE and then LXDE I already had my XFCE autostarted apps working and it seems that both DE's modify and look in these locations for commands to run after logging in.
It's well-documented in the wiki:
http://wiki.lxde.org/en/LXSession#Autom ... s_on_login

Re: lxde startup applications

Posted: Wed Jan 07, 2009 8:51 pm
by mase
Is there a way to autostart an application on a certain virtual desktop?

GUI available

Posted: Thu Dec 23, 2010 7:45 am
by Chriswaterguy
There's now a GUI. I can't find it on the menu, but the command is lxsession-edit.