[Galago-devel] Re: Passing a notification from root to user with notification-daemon
Kalle Vahlman
kalle.vahlman at gmail.com
Wed Apr 4 08:26:17 EEST 2007
2007/4/4, Marco <marcodefreitas at gmail.com>:
> > > For the time-being,
> > > I don't have a good answer for you, except find a way to listen to the
> > > notifications (per-user) and then emit a notification. So, a proxy of
> > > sorts for this specific case.
> >
> > This sets off my in-built complexity meter;)
> >
> > Thanks for the reply, even a negative result is useful sometimes...
> >
> I have the same problem.
> I'm coding a shell script to notify me when ppp0 is up but it don't work if root:
I was hacking emerge to get notifications from it the other day and
had to have DISPLAY set to be able to send notifications from root to
user session bus, but after setting that it did work.
I'm not sure which of the systems (d-bus, libnotify, ...) required that though.
--
Kalle Vahlman, zuh at iki.fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi
More information about the galago-devel
mailing list