PDA

View Full Version : [ubuntu] per user session startup script



el_baby
May 29th, 2012, 12:10 AM
Hi,

is there a 'per user' script (like, within ${HOME}) that gets executed whenever I start a graphical (unity) session?

.profile and .bash_rc are run if I start a shell, but not when I log in graphically (at least in precise).

If I undrestand correctly, the programs pointed by entries in /etc/xdg/autostart are run for ALL users.

What I'm looking for is some kind of ${HOME}/.unity.rc or whatever name where I can run commands on graphical session startup.

TIA

brainwash
May 29th, 2012, 12:21 AM
This one here is the user specific autostart folder:

${HOME}/.config/autostart

el_baby
May 29th, 2012, 02:33 AM
thanx a lot for your help, brainwash.