PDA

View Full Version : [ubuntu] Configure the session start programs order



ztrange
January 7th, 2009, 07:28 AM
Im having a problem with the programs that start when I log in to my computer. I have configured emesene to start with my account but the problem is that it starts before Im auto logged in to my wifi internet so it always gives me this connection error.

Im wondering if there is a way to set the desired order of the services or maybe a delay for a certain program.

I have tried sleep 10s

like this:
sleep 10s;emesene -m --user=mymail@mail.com

but it doesnt work; emesene doesnt launch at all.

Any ideas?

Thanks in advance

ztrange
January 9th, 2009, 08:10 AM
Bump...

Anyone?

ztrange
February 8th, 2009, 08:14 AM
This one is kind of old and no one replied to it... Well, I finally got a solution that works pretty fine, maybe it is too simple but may help someone and I want to mark this solved...

I created a emeseneStart.sh in my home/scrips folder:


#!/bin/bash

sleep 50s
emesene -m --user=mail@mymail.com


I gave it execution permission
I added a session start program that was linked to that "program"

And voila

PS. I wonder why I cant find the mark as solved button...