lxde startup applications

Please post all general support questions for LXDE here.
Locked
nitrofurano
Posts: 38
Joined: Sat Sep 27, 2008 11:18 pm

lxde startup applications

Post by nitrofurano »

How can i define startup applications (and terminal commands) when LXDE boots?
mashcaster
Posts: 25
Joined: Thu Nov 13, 2008 9:14 am

Re: lxde startup applications

Post by mashcaster »

You can autostart by adding to:
/etc/xdg/lxsession/LXDE/autostart
dekaru
Posts: 14
Joined: Fri Nov 14, 2008 4:47 am

Re: lxde startup applications

Post 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.
PCMan
Posts: 85
Joined: Mon Oct 06, 2008 9:52 am

Re: lxde startup applications

Post 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
mase
Posts: 1
Joined: Wed Jan 07, 2009 8:47 pm

Re: lxde startup applications

Post by mase »

Is there a way to autostart an application on a certain virtual desktop?
Chriswaterguy
Posts: 26
Joined: Wed Dec 10, 2008 6:09 am

GUI available

Post by Chriswaterguy »

There's now a GUI. I can't find it on the menu, but the command is lxsession-edit.
Locked