While playing Nexuiz on my Ubuntu in fullscreen mode the volume control buttons on my laptop don't work at all, externally after minimizing the game increasing/decreasing the sound solves the problem but there is no in-game vol control?

Also when on headphones the game music plays on the laptop speakers as well as on the headphones!

What could the problem be? Is this a sound driver issue or x-org issue? its also happening with someone i know while playing Warzone2100 on Ubuntu 12.04.

  • this problem is most likely not caused by your system but by the way the full screen client application (aka game) handles input events. If it just eats all events, even the ones it doesn't understand, then no input control events will pass and reach the underlying desktop to react to this button press. Like warl0ck suggests, you might be able to circumvent this by catching the event at a lower level. I experienced the same problem but mostly with older linux ports or badly ported games. Try for example Team Fortress 2, volume control should work.
    – mx1up
    Aug 18, 2014 at 16:06

1 Answer 1


It works if you use acpid to listen for your XF86 volume key events, and use amixer to set the volume manually, but you need to disable the original volume key listener to prevent "double volume change"

As I only know about how this could work with xfce4-volumed, here I will only provide the ACPID handler script:

# Default acpi script that takes an entry for all actions

set $*

case "$1" in
        amixer sset Master 3+ # increase volume by 3%
        amixer sset Master 3- # decrease volume by 3%

You will need to find these part in your acpid script and put the axmier lines in.

Read this link for details

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.