This is a discussion on Re: Notifications in the tray via DCOP call? - KDE ; Hi again! > >is there any possibility to trigger a system tray notification via dcop? > > I mean those bubble-like things that pop up for a few seconds telling > > you about events on the system (like in ...
> >is there any possibility to trigger a system tray notification via dcop?
> > I mean those bubble-like things that pop up for a few seconds telling
> > you about events on the system (like in Kopete: " 'whoever' is now
> > away").
> Yes. All notifications are done through DCOP via knotify. But that's just
> the technical detail: you're not supposed to use the DCOP calls to do
> that. Use the KNotify class.
Ah. I should explain myself better. I know that things work automagically with
KNotify. My use case is: I would like to be able to create notifications from
the command-line, read: with dcopclient (or if it exists, some
"knotifycommandlinewrapper" ;-) ). I have a simple bash script that checks a
Nagios Tactical Overview page for some keywords and that should give some
visual feedback when something's wrong. So a command-line driven notification
would really come in handy.
This mail is guaranteed to be virus free because it was sent from a computer
The K Desktop Environment
- Stefan Winter -
Areas of Activity:
kde-i18n/de (German translation)
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<