Comment 6 for bug 1291855

Revision history for this message
Thomas (phrenicgermal) wrote :

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.