Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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. – mxttie Aug 18 '14 at 16:06

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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