Bug#433960: gnome-session: script to warn users of a shutdown/reboot via zenity

Martin-Éric Racine q-funk at iki.fi
Sat Jul 21 13:12:04 UTC 2007


On 7/21/07, Josselin Mouette <joss at debian.org> wrote:
> Le vendredi 20 juillet 2007 à 19:08 +0300, Martin-Éric Racine a écrit :
> > Package: gnome-session
> > Version: 2.14.3-5
> > Severity: wishlist
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > The rough script below could be converted into a "gnome-wall" that is
> > called at the very start of rc0.d and rc6.d, followed by a long sleep,
> > to warn all users of the impeding system interruption.
> >
> > Of course, this is a rough hack.
>
> That's an euphemism. I really don't want to introduce such an ugly hack.
> Furthermore, doing it in the shutdown process makes it too late for
> users to save their work.

Good point.

> > Ideally, GNOME would simply have a way to catch all wall messages
> > (such as those issued by 'reboot') and to display them via the
> > notification area.
>
> I'm not 100% sure, but it should be feasible with notification-daemon.
> Ideally, the shutdown command should send notifications by dbus when it
> is available, and notification-daemon should display them.

Could the notification daemon perhaps acquire a feature to listen to
wall messages and display them, then?  Likewise, this could be used to
catch attempts to contact the user via deprecated UNIX tools based on
concepts similar to wall e.g. talk and to display the output via the
notification area.

If you feel that this wishlist bug would be more appropriate for
another package like notification-daemon, zenity or other parts of the
Galago project, feel free to reassign.

-- 
Martin-Éric Racine
http://q-funk.iki.fi


More information about the pkg-gnome-maintainers mailing list