Hi all,
the “audio” topic in QubesOS is very “specific”. For me it starts with the “audiovm”, goes via “bluetooth headsets” and ends in controlling volume, current sink and source.All these things I had to learn the hard way when starting using QubesOS but am now happy with how it works.
What I would like to show here is my way of adding keyboard control to my audiovm. Basically what I wanted to achieve is:
volume up/down
mute toggle
mic mute toggle
sink selection
source selection (mic)
This is how it looks like:
To achieve that I have added some scripts to dom0 home folder:
Those scripts are responsible for determining the current vm (based on the currently focused window) and then to call the corresponding script within my audiovm. Additionally those are referenced in the global keyboard shortcut configuration.
Additionally I have added these scripts to my audiovm:
Those contain the “real logic” to control audio via pactl.
Not sure if there is an alternative to this or if this is the right way to go, but it works for me and if somebody would like to try it out I can share the scripts that I have build so far.
Feedback welcome!










