Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

Raspberry Pi OS • Re: Notifications

$
0
0
You can use DBus to post notifications to the panel under wayland. There is a command-line utility to make it easy to post them. From a terminal:

wfpanelctl notify "a message"

or

wfpanelctl critical "a critical message"

If you look in /usr/bin/wfpanelctl, you can see how the DBus access works.

Under X, there is a much simpler mechanism whereby the application can be directly messaged - the equivalent of wfpanelctl is lxpanelctl, so

lxpanelctl notify "a message"

Statistics: Posted by spl23 — Wed May 07, 2025 9:39 pm



Viewing all articles
Browse latest Browse all 8082

Trending Articles