Problem getting applications to autostart at start up

Please post all general support questions for LXDE here.
Locked
rdh61
Posts: 11
Joined: Tue Nov 06, 2012 2:41 pm

Problem getting applications to autostart at start up

Post by rdh61 »

Hi,

I'm running Lubuntu 13.10 on a desktop computer.

I want Wuala and Ubuntu One to launch automatically on start up. ("Connect automatically when computer starts" is checked in Ubuntu One client, but even so it does not start automatically). I have dropped their desktop files from /usr/share/applications to .config/autostart, but this doesn't help.

What else can I do to force them to start automatically?

Many thanks.
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: Problem getting applications to autostart at start up

Post by drooly »

there's a gui "desktop session" or sth like that, in the menu under settings or system, which should reflect what is in your autostart folders.
see if the .desktop files show up there, and if they're checked.
babak_tour
Posts: 15
Joined: Sun Dec 08, 2013 1:33 pm

Re: Problem getting applications to autostart at start up

Post by babak_tour »

Hi.
Check Preferences >> Default application for LXsession >> Autostart tab.
rdh61
Posts: 11
Joined: Tue Nov 06, 2012 2:41 pm

Re: Problem getting applications to autostart at start up

Post by rdh61 »

Thanks for both your suggestions. Yeah, I found "Default applications for LXSession (lxsession-default-apps), but its not exactly user friendly! I have no idea how to add the commands for my chosen applications. Can anyone tell me?
seppalta
Posts: 449
Joined: Tue Sep 20, 2011 6:09 am
Location: USA
Contact:

Re: Problem getting applications to autostart at start up

Post by seppalta »

Add them to /etc/xdg/lxsession/LXDE/autostart, where "LXDE" in this address is probably replaced by "Lubuntu" for your system. See
http://lxlinux.com/#4 for more information.
rdh61
Posts: 11
Joined: Tue Nov 06, 2012 2:41 pm

Re: Problem getting applications to autostart at start up

Post by rdh61 »

Thanks, somebody pointed me to that file on the Ubuntu forum, too. The problem is I do not know in what form to "add" them. I have tried simply writing their names (e.g. wuala) - that doesn't work. The instructions in the link you kindly provided simply say the file should be: "edited by adding text according to some format". But what format?!!
Rex Bouwense
Posts: 1093
Joined: Sat Aug 27, 2011 5:44 pm
Location: Sierra Vista, Arizona USA
Contact:

Re: Problem getting applications to autostart at start up

Post by Rex Bouwense »

Rex
babak_tour
Posts: 15
Joined: Sun Dec 08, 2013 1:33 pm

Re: Problem getting applications to autostart at start up

Post by babak_tour »

Thanks for both your suggestions. Yeah, I found "Default applications for LXSession (lxsession-default-apps), but its not exactly user friendly! I have no idea how to add the commands for my chosen applications. Can anyone tell me?
It,s simple. Insert app name in the front of "add" and press "add".
seppalta
Posts: 449
Joined: Tue Sep 20, 2011 6:09 am
Location: USA
Contact:

Re: Problem getting applications to autostart at start up

Post by seppalta »

Problem getting applications to autostart at start up
As root, add the line

Code: Select all

@wuala
and save. This should work if the exec is "wuala". If not, then you have to find the exec. You mentioned a desktop file. It will contain the exec.
rdh61
Posts: 11
Joined: Tue Nov 06, 2012 2:41 pm

Re: Problem getting applications to autostart at start up

Post by rdh61 »

Thank you to all who responded. The last two suggestions both work. For others having difficulty with this, the most complete answer is in the link provided by Rex Bouwense above.
Locked