32

I want to add Gnome-Do to my startup applications in Lubuntu 10.04 and the only reference I've found on the net is to edit /etc/xdg/lxsession/LXDE/autostart. But surely there must be a way to do this on a user basis?

happy_soil
  • 2,435
Peter Jaric
  • 2,156
  • 5
  • 28
  • 37

5 Answers5

26

http://wiki.lxde.org/en/Autostart

Add a .desktop file to your ~/.config/autostart directory (create one if not available) with 3 lines saying :

 [Desktop Entry]
 Type=Application
 Exec=wicd-client -n
Hunsu
  • 185
  • 3
  • 8
10

If the program you want to start has a *.desktop file, then simply copy or symlink it into the ~/.config/autostart directory.

Source:

Otherwise, for commands in general,

"For per-user autostart, use the ~/.config/lxsession/Lubuntu/autostart file."

It has the same format as /etc/xdg/lxsession/Lubuntu/autostart

Source:

yuzisee
  • 201
5

Preferences > Desktop Session Settings

From here you can add or remove startup programs.

Wes
  • 51
3

In case you don't like editing *.desktop files manually or the app you need does not have a *.desktop file in /usr/share/applications you could simply open ~/.config/autostart in pcmanfm, right-click on white space and select Create New -> Shortcut and fill in the Command field with whatever you need.

ccpizza
  • 8,241
2

This works for Lubuntu LXQt 20.04:

Preferences -> LXQt settings -> Session Settings -> Autostart

AmerllicA
  • 425