You are not logged in.
Pages: 1
I've read that xfce4-notifyd has implemented Canonical's extension allowing for progress bar/gauge style notification long ago, and it is obviously true as xfce4-volumed is using it. But, is this feature in any way accessible from notify-send?
If not, is there an example how to use it from Python or some other language?
Offline
I don't believe that notify-send supports this directly. Both xfce4-volumed and xfce4-pulseaudio-plugin use a libnotify wrapper to perform this function.
However, a little while ago, I came across a notify-send replacement (bash script) that does exactly this. You can replicate the volume gauge update via:
RID=$(notify-send "Volume" -p -i audio-volume-medium -h int:value:75)
notify-send "Volume" -r $RID -i audio-volume-high -h int:value:100
Naturally, you'll need to programmatically set the icon and value levels as required.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Nice tip! Thanks!
Offline
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 522.99 KiB (Peak: 529.88 KiB) ]