Autostart applications at login with LXDE and Debian

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

The Autostart Directories are $XDG_CONFIG_DIRS/autostart […]

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: 2011/03/16 01:30 (external edit)
CC Attribution-Noncommercial-Share Alike 3.0 Unported Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0