PDA

View Full Version : [ubuntu] run programs automatically after login?


bobdobbs
August 11th, 2008, 06:38 AM
Hi all.

I'd like to find out how I can create a script that will run after I log in.

Specifically, I'd like to load cairo-dock after gnome creates my desktop.
But, I might also want to use another desktop environment or wm, in which case I'd like to establish the post-login behaviour after any desktop environment has been created. (Just after log in)

I'm guessing that all I need to do is put a simple script somewhere.
I'm hoping that I can set up one post-login script that can be used for all, or at least a bunch of wm's.

Can this be done?

Thanks.

fabounet
August 12th, 2008, 09:44 AM
/usr/bin/launch-cairo-dock-after-beryl.sh ;-)

gjoellee
August 12th, 2008, 09:50 AM
System->Prefernces->Sessions click on "add"

Name: Cairo Dock
Commands: cairo-dock

click on OK

bobdobbs
August 12th, 2008, 10:08 AM
Thank you both.


:)