Right now I'm using notify-send to send a notification when I mute or unmute pulseaudio via my own script. The problem is that if I try to do the same for volume I end up with a ton of notifications piling up on the screen. Is there any way that I can create a notification, which I can then update with the changes in volume level until the notification expires? Oh, and xfce4-volumed doesn't work on my setup and ends up causing problems, so that's a no-go...
Thanks in advance...
I don't think the distributed xfce4-notifyd app can do that. However, someone has forked it to allow just that - reuse existing notification events. See: https://github.com/nowrep/notify-desktop.
Otherwise, you may wish to create an enhancement request at https://bugzilla.xfce.org/.
I'm having trouble building the package. It gives an error when I try making it, like so:
$ make Package dbus-1 was not found in the pkg-config search path. Perhaps you should add the directory containing `dbus-1.pc' to the PKG_CONFIG_PATH environment variable No package 'dbus-1' found cc -c -o ../build/dbusimp.o dbusimp.c -Wall -Wextra -pedantic -O2 -s -DNDEBUG dbusimp.c:22:23: fatal error: dbus/dbus.h: No such file or directory #include <dbus/dbus.h> ^ compilation terminated. make: *** [../build/dbusimp.o] Error 1
I installed libdbus-1-3, but to no avail. Any insight? (Sorry, I know this is off the original topic...)
No package 'dbus-1' found
You need to install the dbus development package. What distro do you use?
Ubuntu = libdbus-1-dev
Arch = libdbus
Ack, I figured it out just before you posted. It was the #include that made me clue in: I'd have a hard time compiling against libdbus without the dev package...d'oh. I've got the notification working perfectly now, thanks to your link. I've filed a bug as well.