10
3
How can I write, from a bash script, to KDE's OSD or notification area? I am using KDE 4.5, and basically what I want is my script to report some stuff when it is run. Since I run the script by a shortcut, I have no console output, but I would like to write to OSD on notification area.
I know about, and use, "osd_cat" but that just puts some ugly text on the screen.
Thanks.
Usually, the answer to "How … kde4 … from the shell" starts with
qdbus
. I would expect something likeqdbus org.kde.knotify /Notify event "notice" "my script" '(' ')' "title" "body" 0 '(' ')' 1000 0
to work, but it produces no visible effect on my Ubuntu 10.04 kde 4.4.2. – Gilles 'SO- stop being evil' – 2010-08-12T09:13:04.200By the way, this is what passes for the API documentation: http://api.kde.org/4.x-api/kdebase-runtime-apidocs/knotify/html/classKNotify.html
– Gilles 'SO- stop being evil' – 2010-08-12T09:15:40.823