Re: debian, gnome and shutdown again...
On Friday April 2 2004 13:18, Michal R. Hoffmann wrote:
> Sven Arvidsson wrote:
> > Perhaps this can be of interest?
> > http://jodrell.net/gnome-hacks/hacks.html?id=31
> > http://mail.gnome.org/archives/desktop-devel-list/2004-January/msg00552.h
> I've already found it, but no, it is not sufficient. As I've written I'm
> looking for something to save-session-then-shutdown. This method allows to
> shutdown, but not to save session.
> The best would be "one button on the panel" solution, just my kids could
> use it (and they are small, they rather cannot read yet).
Why not write a tiny shell script and add your own icon to the panel...
something like this should work (untested).
# SAVE SESSION
# add the following to sudoers file
# rob ALL = /sbin/shutdown -h now
/usr/bin/sudo /sbin/shutdown -h now
Robert Wood <firstname.lastname@example.org>
"If you can't make something good,
make something look good." - Bill Gates