Re: Saving sessions before a system shutdown

Ted Gould <[email protected]>
Newsgroups gmane.comp.gnome.devel
Message-ID <1196186310.7737.24.camel@shi>
On Mon, 2007-11-26 at 20:21 -0500, José Alburquerque wrote:
> Ted Gould wrote:
> > On Wed, 2007-10-24 at 16:08 -0400, José Alburquerque wrote:
> >> Does anyone think it's possible to insert some script in /etc/init.d
> >> that might save the session before a shutdown?  In other words is there
> >> some way to save the session(s) (if there are more than one) just before
> >> a shutdown?  I'd appreciate any pointers.  BTW, I'm running gnome 2.20.
> >> Thanks for your answers.
> >
> > I don't know if you've already gotten an answer, but I don't think there
> > is a generic way to do this currently.  But, I think the part you're
> > looking for is probably the command: "gnome-session-save".  I believe if
> > you run this with "--kill" and "--silent" on all users currently logged
> > in you should get what you're looking for.
>
> Thanks for answering.  A developer from this list did give a similar 
> answer off-list, but, again, I appreciate your suggestion.  :-)

For those finding this thread on Google, did it work?  Any advice from
your experiences?

		--Ted

_______________________________________________
gnome-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-devel-list
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBHTFrGLE335pRPGp0RAmWnAJ97Vuf2jEb1IvGGwLyep69AGJCWIwCfWFC6
mYbk/ME2t+T/vvfZttvhk5c=
=rIRP
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.