You are not logged in.

#1 2010-08-20 20:34:57

Garret
Member
From: Palermo, Italy
Registered: 2006-07-09
Posts: 172

On Lxde the autostart script doesn't work for dropbox

I have this autostart script on Lxde:

@(sleep 40s && /opt/dropbox/dropboxd) &
@tilda
@xfce4-power-manager
@volti
@parcellite
@zim --plugin trayicon
@pino
@blueman-applet
@vncserver :1

All the apps start correctly except for dropbox. I wait for more than 40secs and it doesn't start, but if I launch the command on a terminal it starts as it should (so after 40 seconds).

Why?

Offline

#2 2010-08-20 21:06:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: On Lxde the autostart script doesn't work for dropbox

Maybe it doesn't like the '(' or '&' - I'm not using lxde so I'm guessing here.
Try

@opt/dropbox/dropboxd &
@(sleep 40s && tilda)

Offline

#3 2010-08-20 21:25:19

Garret
Member
From: Palermo, Italy
Registered: 2006-07-09
Posts: 172

Re: On Lxde the autostart script doesn't work for dropbox

But the 40secs should be only for dropbox so it can start only when I have internet network.

Offline

#4 2010-08-20 21:26:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: On Lxde the autostart script doesn't work for dropbox

Garret wrote:

But the 40secs should be only for dropbox so it can start only when I have internet network.

I understand, but if e.g. tilda won't work you know there's a problem with '('.
You may un-background your network daemon so you will have network when you boot.

Last edited by karol (2010-08-20 21:27:57)

Offline

Board footer

Powered by FluxBB