Notify all users
Lubos Lunak
l.lunak at suse.cz
Wed Sep 10 03:06:21 PDT 2008
On Tuesday 09 of September 2008, Hal V. Engel wrote:
> On Tuesday 09 September 2008 09:25:13 am John Tapsell wrote:
> > 2008/9/9 Jason Kim <jason at userful.com>:
> > > I think the imaginary "xwall" won't work because each user has it's own
> > > X session.
> > >
> > > How possibly a program determine all running X sessions?
> >
> > KDE used to have a demon 'kwrited' that would simply listen for
> > 'wall' messages and then display them to the user.
> >
> > This code probably just needs a bit of cleaning up and would probably
> > work again.
> >
> > Something similar could be done for gnome
>
> I just did a quick test with KDE 4.1 and kwrited is working and popping up
> a message box that has messages sent with wall. So it is working at least
> for more recent versions of KDE.
Actually it has generally worked since ages. The factor deciding when it's
broken is IIRC the distro's failure to link it properly with libutempter.
> I would think that the daemon could be
> modified without too much difficulty to pop up a generic X (IE. non-KDE or
> Qt specific) message box if that is not already the case.
>
> To configure this go to System Settings --> Advanced --> Service Manager
> and make sure that KDE Write Daemon is checked in the Startup Services
> area.
It should be enabled by default.
I would like to also point out that all libnotify-based solutions are
GNOME-only (or GNOME+Xfce, whatever).
--
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12 tel: +420 284 028 972
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz
More information about the xorg
mailing list