Ask Your Question

init-scripts for sessions in gnome-shell 3.2 ?

asked 2011-12-06 16:29:12 -0500

hp4 gravatar image

In all other Unix/Linux systems I've been working with, it was quite simple to provide my own customized initialization of the desktop. But I've not been able to do so in Fedora16 with Gnome 3.2.

1) Is there a login script ? At least my .bash_profile is not sourced during startup of gnome-shell.

2) How can I initialize windows (applications) and workspaces at session-startup? There seems to be a Javascript-based interface to Gnome-3.2. Spending hours with looking for any documentation on the Object model/API in Google without any success, I have the conclusion that there is no documentation at all and that this interface is not intended to be used by Gnome-users?

A solution to 2) is very important to me because Gnome-3.2 is very unstable on my netbook and crashes after almost every wake-up from 'suspend to RAM' state.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2011-12-07 07:04:53 -0500

SoumyaC gravatar image

For point 2) you can add those into gnome-session-properties , to start when there is a system startup. It should work

Regarding case 1, I am not sure why its not picked, for me I have custom changes in .bash_profile and it does reflect when I log out and log in back again.

Also can you try to check /etc/profile or .bashrc and put your changes there and check if it gets picked up or not ? Also is there a .bash_profile call from your .bashrc ?

For further customization of Gnome3 check the above links mentioned by @bodhi.zazen Also check the link from Archwiki regarding Gnome3

Also GNOME3 now has its official extensions website Any customization to Gnome3 is a cakewalk and super easy.

edit flag offensive delete link more

answered 2011-12-06 20:39:20 -0500

What is it you are wanting to do / customize exactly ?

Many users find this link helpful

Gnome 3 tips

See also

edit flag offensive delete link more

answered 2011-12-07 06:33:04 -0500

hp4 gravatar image

I'd like to do the following :

1) setting environment variables and aliases once at login (e.g. by sourcing .bash_profile). It should be possible to modify the values during the session and inherit the modified values by child-shells, so .bashrc can't be used for this purpose.

2) After login I want to come up with 3 workspaces, one with gnome-terminal windows, a second one with a browser (e.g.firefox) and the third one with graphic tools(e.g. GIMP)

Thank you for your links, I'm still scanning them but still haven't found a solution for the above 2 points.

edit flag offensive delete link more


I guess .bashrc is the file that is run for each child !

SoumyaC gravatar imageSoumyaC ( 2011-12-07 07:06:37 -0500 )edit

Question Tools


Asked: 2011-12-06 16:29:12 -0500

Seen: 2,295 times

Last updated: Dec 07 '11