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

Josselin Mouette joss at debian.org
Sun Jul 29 14:40:51 UTC 2007


Le samedi 21 juillet 2007 à 16:12 +0300, =?UTF-8?Q? Martin-=C3=89ric?=
Racine a écrit :
> > > 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.

The appropriate solution is to update the wall and shutdown commands to
send the notification via dbus, not the other way round. Of course this
should be done only if dbus is installed, to avoid spurious dependencies
(as these are required packages).

-- 
 .''`.
: :' :      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/20070729/6d24f928/attachment.pgp 


More information about the pkg-gnome-maintainers mailing list