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

Josselin Mouette joss at debian.org
Sat Jul 21 12:44:57 UTC 2007


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.

> 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.

Cheers,
-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20070721/0fa8f7a2/attachment-0001.pgp 


More information about the pkg-gnome-maintainers mailing list