You are not logged in.

#1 2017-12-16 23:10:46

Walton
Member
Registered: 2014-01-09
Posts: 23

Volume Buttons Dell Inspiron 7000

I am trying to get my volume keys to work. I have tried xbindkeys, but it does not seem to be working. Here is what I have in ~/.xbindkeysrc

# Mute
"amixer set Master toggle"
   m:0x0 + x:121
   Mod2 + XF86AudioMute

# Volume Down
"amixer set Master 5%- unmute"
   m:0x0 + c:122
   Mod2 + XF86AudioLowerVolume

# Volume Up
"amixer set Master 5%+"
   m:0x0 + c:123
   Mod2 + XF86AudioRaiseVolume

Checking the mute button

[ steven ] [~] > xbindkeys -k                                                              []
Press combination of keys or/and click under the window.
You can use one of the two lines after "NoCommand"
in $HOME/.xbindkeysrc to bind a key.
"(Scheme function)"
    m:0x0 + c:121
    XF86AudioMute

Similarly with the volume down and up.

Those amixer commands do work just fine when running from a terminal. Everything I'm reading in the forums suggest to use xbindkeys and I'm at a loss of what else will work.

Offline

#2 2017-12-20 21:39:27

Walton
Member
Registered: 2014-01-09
Posts: 23

Re: Volume Buttons Dell Inspiron 7000

So I also tried using acpi events and actions like have been suggested for volume buttons. Unfortunately this did not work either. I'm really at a loss. I don't understand why I can control it from the terminal, but I can't script these commands.

Offline

Board footer

Powered by FluxBB