User Tools

Site Tools


Autostart applications at login with LXDE and Debian

lxde debian

This is pretty straighforward, if you know were to put the files. LXDE uses Autostart spec which states that :

<note>The Autostart Directories are $XDG_CONFIG_DIRS/autostart […]</note>

Good, then what's mine ?

julien@sachiel:~$ env|grep XDG_CONFIG_HOME
$ ls /home/julien/.config/
akonadi    gnome-session  lxpanel     openbox  Trolltech.conf
autostart  gpicview       lxsession   pcmanfm  vlc
enchant    gtk-2.0        lxterminal  totem    xarchiver

Easy, just copy the .desktop file of the apps in this autostart directory :

julien@sachiel:~$ cp /usr/share/applications/pidgin.desktop /home/julien/.config/autostart/
julien@sachiel:~$ ls -l /home/julien/.config/autostart/
total 24
-rw-r--r-- 1 julien julien 9906 2009-11-30 07:17 pidgin.desktop
-rw-r--r-- 1 julien julien 5410 2009-11-02 13:32 print-applet.desktop
-rw-r--r-- 1 julien julien  161 2009-11-30 07:08 skype.desktop

That's it !

en/ressources/astuces/lxde_debian_autostart.txt · Last modified: 2024/04/17 10:19 by