Newsgroups: comp.os.linux.x Date: Wed, 14 Aug 2002 04:21:22 GMT
> >I want a file into which I put a bunch of commands > >that get executed after the session initializes. > > Why not just use the gnome control-centre app, it has a place to put this > stuff in (I can't recall the name of it at the moment tho).
I found it and had trouble with it. But you are essentially right — I put into it the command .gnome/startup and then created a shell script of the same name.
Now I just have to figure out how to get the gnome-terminals not to come back in the next session, but that shouldn't be too hard.
Eddie
> +> Now I just have to figure out how to get the gnome-terminals not to > +> come back in the next session, but that shouldn't be too hard. > > Go back into the control panel, the startup section, there should be a > check box about "automatically save setup" or some such, check that > off. When you go to log off, set your desktop the way you want to have > it come back, then select log off. Now you should see another check > box on the logoff (yes/cancel/help) dialog titled "save this setup?" > Check it. Log off. Log back in. It should be as you saved it.
It is not quite that simple. The gnome terminals have a memory that is outside of saving the session, but it doesn't quite work [they randomly forget size or placement]. I want to set up an environment with an assortment of different gnome terminals with different geometries at each startup [among other things].
I figure to start them at startup and have them die at logout. Saving a blank session doesn't help since the next time you log in and log out without exiting each and every gnome terminal [which I don't want to have to do] the nuisances remember to come back next time even though the session was not explicitly saved.
I guess I will end up doing something like overwriting .gnome/session during logout. Maybe during logout I should also delete all those gnome-terminal-XXXXXX files cluttering up the place.
Eddie