When entering : notify-send "a" "b" Nothing shows up on plasma5. Reproducible: Always Steps to Reproduce: 1. Run notify-send "a" "b" Actual Results: Nothing shows up in the notifications area Expected Results: A notification containing "a" and "b" should appear.
Thanks for the report. Do other notifications work? Do you have the notifications applet in the systray (right click on the up pointing arrow -> settings -> notifications is checked)? Do you use multi-screen setup? Are "application notifications" enabled in Notifications applet settings (right click on the applet -> settings)? If you use custom position in the notification config, such as top-left, does it work? Thanks
marking as needsinfo
After a reboot, this morning, notify-send started displaying notifications again. Is it possible it would be because I made mistakes using the "notify2" library in python ? import notify2 if not notify2.is_initted(): notify2.init("test") n = notify2.Notification("test", "test", "notification-message-im" # Icon name ) # n.show() <- # I forgot to use n.show at first. After adding n.show(), still no freedesktop notifications would display. After a reboot, it's working again. Answers to your questions : Do other notifications work? -> KDE notifications worked Do you have the notifications applet in the systray (right click on the up pointing arrow -> settings -> notifications is checked)? -> yes Do you use multi-screen setup? -> no Are "application notifications" enabled in Notifications applet settings (right click on the applet -> settings)? -> no If you use custom position in the notification config, such as top-left, does it work? -> Canno't test
I cannot reproduce my theory. Not using "n.show()" doesn't display notifications, but it doesnt block "notify-send" from displaying notifications. I don't know what stopped notifications from being displayed.
I'm afraid I don't know about Notify2 enough to tell you where the problem is. However, this does not seem like a bug in plasmashell. What you can do is use "bustle", run it, start the capture, run your program with n.show(), and see if/what goes to the org.freedesktop.Notifications service. Additionally, you may request support with Notify2 devs. I'm closing this as a local issue.