Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Volume control with media keys not working for regular user account. #24297
As per the title, relevant portion of my /etc/nixos/configuration.nix:
I had to remap the bindings as the defaults don't seem to match the keycodes on my laptop.
Stracing actk daemon shows it registering key presses and invoking the commands however it seems that amixer tries to connect to the pulseaudio deamon of root user rather the one spawned for my user's account, abbreviated output below:
I guess this makes sense given actk runs as root user. Are there any known workarounds or perhaps there is something wrong with my configuration?
Initially I tried xfce4-volumed which is what I normally use on my Debian/XMonad desktop but it's not working for some reason. I guess I will set up some XMonad binding or try debugging xfcce4-volumed to see why it's unhappy. In any case thank you for the suggestions.