[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re[2]: Save Yourself



Hi Jason,

On Saturday, September 01, 2001, 4:15:21 PM, you babbled something about:

JWE> Thanks for the reply. Where is the SESSION_MANAGER variable set and could
JWE> I just edit that file?

JWE> Thanks.

This is from memory so inaccuracies may be abound. ;)

I _believe_ all the session info is stored in a file at...

~/.gnome/session

but it doesn't have it the way you would expect and is not really as
"editable" as you might want.

But to add things to it I believe the methodology goes like this...

Open a terminal and run "gnome-session"
This should give you the SESSION_MANAGER variable (I think you need to ^C to
exit since it is already running) Something like...

SESSION_MANAGER=/local/<hostname>:/tmp/<some/sort/of/path/pid>

Then you need to run your program as follows (IIRC this should be done ONLY
for the program causing you problems, as the rest of the programs are
probably connecting to the session manager with no problems.)...

SESSION_MANAGER=/local/<hostname>:/tmp/<some/sort/of/path/pid> appname

So scripting something to look up the SESSION_MANAGER variable (since I
believe it changes each time you run gnome) then having it call your app
like above would be the way to resolve the error. But I don't think it will
help actually save the session info, because it basically means that the
individual application just can't handle the functionality.

You may want to put the line into your ~/.Xclients-default to save the
program to start each time without the error.

For more info you may want to search in the Gnome development areas as I
think that is where I gained all this interesting info.

Good luck. I've since switched to KDE. ;) (but not because of this problem)

Have fun,
-- 
_________________________________________________________________
 Brian Ashe                     CTO
 brian dee-web com              Dee-Web Software Services, LLC.
 http://www.dee-web.com/
-----------------------------------------------------------------
You don't have to swim faster than the shark...
You just have to swim faster than the people you're with.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]