![]() Registered Member ![]()
|
Hello,
I am writing a simple program to display my study notes every few minutes. I would like to use KNotify (like this) instead of the QSystemTrayIcon balloon. How can I call KNotify instead of the balloon?
Thanks, Eduardo |
![]() Administrator ![]()
|
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks for your time, bcooksley.
I updated kdelibs with «sudo apt-get install kdelibs» and tried:
But got the following error message:
What am I doing wrong? |
![]() Administrator ![]()
|
"knotify4" is likely not running, although if you are in a KDE session, it should be.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thank you again, bcooksley. I understand the problem now! It happens that I found the notifier so pretty, I thought it couldn't be Gnome, it had to be KDE...! Ubuntu uses NotifyOSD.
|
![]() Administrator ![]()
|
Both GNOME and KDE implement a XDG Notifications specification, I suggest implementing that. Look at org.freedesktop.Notifications on D-Bus.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]