Multi-sessioning for GNOME [gnome-core/gsm]
- From: Glynn Foster <glynn foster Sun COM>
- To: gnome-hackers gnome org
- Subject: Multi-sessioning for GNOME [gnome-core/gsm]
- Date: Fri, 02 Feb 2001 16:58:29 +0000
Okay...
So the rumours were true....I was working on a patch for multi-session
support in GNOME for many weeks...and also been cleaning up the code
as best as I can :/ [some gsm loving for everybody ;) ]
gnome-session now takes the commandline argument
--choose-session=ARG
as well as the option now in ~/.gnome/session-options
CurrentSession=
so in theory multiple sessions can operate...but haven't tested it
too much...
There is also a new option [that replaces TrashMode] called AutoSave.
If the logout prompt option [LogoutPrompt] is checked from control
center and AutoSave is set to false then user will be prompted as
to whether to save current session pointed to by the "Current Session"
key [or if the user has specified at the command line with
--choose-session]. If AutoSave is true, then he'll be prompted for
logout, but not for a session save. If AutoSave is set to true it
also saves during your session [and I'm not sure if this is a good
thing or bad thing].
If the user specifies a session at the commandline which doesn't
exist, a default session will be opened from $PREFIX/share/default.session
and any save changes to the session will be written to
~/.gnome/session with the user specified session key at the command line.
I've also ripped the code out of the control-center and to it back into
gnome-core/gsm [which I think makes more sense since both modules share
a lot of code] and implemented the capplet code for multi-session.
Known Bugs - There's still bugs in the capplet code [especially for
'revert'] and the session name global [gchar *session_name] isn't getting
updated through the gsm-protocol from the capplet.
If no-one has any objections, I'd like to commit and get this stuff into
the 1.4 release and start testing and bug fixing.
Because the changes are quite big [against gnome-core CVS HEAD] you
can see them at the following link -
http://www.geocities.com/gmansundude/mypatch.tgz
or just a screenshot
http://www.geocities.com/gmansundude/capplet.jpg
Let me know what you think..
I see the light at the end of the tunnel...almost ;)
Glynn ;)
--
Glynn Foster Email: glynn foster ireland sun com
Desktop Apps & MiddleWare Tel: +353 - 1 - 8199782
Sun Microsystems Ireland Ltd. Generation dot-COM i||c Gman
_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]