Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
Just a note of warning that my lubuntu system had "Disable autostarted applications" set to "config-only", which (as the name suggests) disables applications in the .config/autostart. Make sure this is set to "no", if you'd like to launch startup applications. It can be found in the GUI through: Desktop -> Preferences -> Default applications for LXSession -> Autostart -> Disable autostarted applications -> no –  Hello World 123 Feb 22 at 17:17
add comment

4 Answers

up vote 15 down vote accepted

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

share|improve this answer
    
Great, thank you! –  Peter Jaric May 29 '10 at 5:46
add comment

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:

share|improve this answer
    
Worked like a charm on my Raspberry Pi! :) Thank you! –  mOrSa Oct 28 '13 at 12:49
add comment

Preferences > Desktop Session Settings

From here you can add or remove startup programs.

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.