I'm running xubuntu (xfce 4.12 on ubuntu 16.04.2 LTS). I frequently keep my laptop at my desk plugged into an external hdmi monitor. I found that after turning the display off and back on I would not get sound output via hdmi unless I killed pulseaudio. After doing this to get the sound was working the volume keys on my keyboard stopped working. After much putzing around I made the following bash script and created a .desktop entry for it so that I could pin it to my start menu:
#!/bin/bash killall pulseaudio killall xfce4-volumed xfce4-volumed killall xfce4-notifyd xfce4-notifyd When I try to call the xfce4 commands from terminal directly I get errors: ||$ xfce4-volumed ||Gtk-Message: Failed to load module "pantheon-filechooser-module" ||$ xfce4-notifyd ||xfce4-notifyd: command not found and yet these commands are essential to getting the volume keys running again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1291855 Title: After pulseaudio restart, volume keys no longer work To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfce4-volumed/+bug/1291855/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs