Hi,
I just had an incident - or almost had - which reminded me that AFAIK there's no way to receive wall-messages on GNOME (or KDE) unless you happen to have a terminal open. Developers probably always have a terminal or a dozen open at any given time but the casual user might not and thus simply miss a broadcast from root about system going down in 15min (for example) which could be nasty.
Maybe a job for dbus? Hmm.. I see there are some plans for ACPI-dbus daemon: http://www.cs.bath.ac.uk/~occ/cgi-bin/ideas#acpi_dbus_daemon but that's a very special purpose thing and wont help the wall-case (I'm sure there are other similar cases as well).
Thoughts?
- Panu -
D-BUS could certainly be used to fix it, yes. You have to write two pieces, one piece runs systemwide and forwards wall messages over D-BUS; one piece runs in the user session and displays any such messages.
Havoc
On Wed, 2004-09-22 at 11:56 +0300, Panu Matilainen wrote:
Hi,
I just had an incident - or almost had - which reminded me that AFAIK there's no way to receive wall-messages on GNOME (or KDE) unless you happen to have a terminal open. Developers probably always have a terminal or a dozen open at any given time but the casual user might not and thus simply miss a broadcast from root about system going down in 15min (for example) which could be nasty.
Maybe a job for dbus? Hmm.. I see there are some plans for ACPI-dbus daemon: http://www.cs.bath.ac.uk/~occ/cgi-bin/ideas#acpi_dbus_daemon but that's a very special purpose thing and wont help the wall-case (I'm sure there are other similar cases as well).
Thoughts?
- Panu -
On Wed, 2004-09-22 at 11:56 +0300, Panu Matilainen wrote:
I just had an incident - or almost had - which reminded me that AFAIK there's no way to receive wall-messages on GNOME (or KDE) unless you happen to have a terminal open.
KDE can do it, if you enable the "KDE Write Daemon" in Kcontrol->KDE Components->Service Manager
-- Rex
On Wed, 2004-09-22 at 16:47, Havoc Pennington wrote:
D-BUS could certainly be used to fix it, yes. You have to write two pieces, one piece runs systemwide and forwards wall messages over D-BUS; one piece runs in the user session and displays any such messages.
...which sounds like yet-another-daemon (or two) ... like we didn't have enough of 'em already :-/
Hmm.. dbus-0.21 changelog says "implement "auto activation" flag on messages, so the destination service can be launched automatically" which, if it means what I think, is exactly what I was hoping for: the ability to register a program for given type of messages which then do stuff with the information received from the bus. So you don't need a separate user daemon for each and every thing that you might want to communicate across dbus - or did I completely misunderstand that?
- Panu -
On Wed, 2004-09-22 at 17:39 +0300, Panu Matilainen wrote:
On Wed, 2004-09-22 at 16:47, Havoc Pennington wrote:
D-BUS could certainly be used to fix it, yes. You have to write two pieces, one piece runs systemwide and forwards wall messages over D-BUS; one piece runs in the user session and displays any such messages.
...which sounds like yet-another-daemon (or two) ... like we didn't have enough of 'em already :-/
Hmm.. dbus-0.21 changelog says "implement "auto activation" flag on messages, so the destination service can be launched automatically" which, if it means what I think, is exactly what I was hoping for: the ability to register a program for given type of messages which then do stuff with the information received from the bus. So you don't need a separate user daemon for each and every thing that you might want to communicate across dbus - or did I completely misunderstand that?
That doesn't avoid the daemon in this case, but nothing says this has to be a separate daemon. The feature could be packed into gnome-settings- daemon, gnome-panel, gnome-session, or any other existing process.
The same is true of most of the desktop daemons; it's just a question of modularity vs. performance.
Havoc
On Wed, 2004-09-22 at 18:56, Panu Matilainen wrote:
I just had an incident - or almost had - which reminded me that AFAIK there's no way to receive wall-messages on GNOME (or KDE) unless you happen to have a terminal open. Developers probably always have a terminal or a dozen open at any given time but the casual user might not and thus simply miss a broadcast from root about system going down in 15min (for example) which could be nasty.
There's been a bug open about this for a while: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=114793
I wonder what has happened to the internal RFE that was mentioned
On Thu, 2004-09-23 at 01:57, Colin Charles wrote:
On Wed, 2004-09-22 at 18:56, Panu Matilainen wrote:
I just had an incident - or almost had - which reminded me that AFAIK there's no way to receive wall-messages on GNOME (or KDE) unless you happen to have a terminal open. Developers probably always have a terminal or a dozen open at any given time but the casual user might not and thus simply miss a broadcast from root about system going down in 15min (for example) which could be nasty.
There's been a bug open about this for a while: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=114793
I wonder what has happened to the internal RFE that was mentioned
Colin Charles, byte@aeon.com.my http://www.bytebot.net/ "First they ignore you, then they laugh at you, then they fight you, then you win." -- Mohandas Gandhi
Wall seems to do fine on my systems using KDE.
jludwig wrote:
On Thu, 2004-09-23 at 01:57, Colin Charles wrote:
On Wed, 2004-09-22 at 18:56, Panu Matilainen wrote:
I just had an incident - or almost had - which reminded me that AFAIK there's no way to receive wall-messages on GNOME (or KDE) unless you happen to have a terminal open. Developers probably always have a terminal or a dozen open at any given time but the casual user might not and thus simply miss a broadcast from root about system going down in 15min (for example) which could be nasty.
There's been a bug open about this for a while: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=114793
I wonder what has happened to the internal RFE that was mentioned
Colin Charles, byte@aeon.com.my http://www.bytebot.net/ "First they ignore you, then they laugh at you, then they fight you, then you win." -- Mohandas Gandhi
Wall seems to do fine on my systems using KDE.
I must admit that I always have a terminal open, but KWrited picks up wall messages, and I did not have to ask it to.
desktop@lists.stg.fedoraproject.org