Topic: How to bind volume keys with xbindkeys
1 - Installed xbindkeys and its gui configuration utility:
sudo apt-get install xbindkeys xbindkeys-config
2 - Execute this:
xbindkeys --defaults > ~/.xbindkeysrc
3 - Run xbindkeys and xbindkeys-config
xbindkeys
xbindkeys-config
4 - Press the button "New" to create a new keybinding, and on the right, you can name it, choose what key to use (use the Get Key button then press the combination of keys you want, and it will capture it for you), and choose the command to run.
Here are the basic ones: substitute "Master" with "PCM" if needed, or others
Name: Mute
Action: amixer sset Master toggle
Name: Increase volume
Action: amixer sset Master 1+ unmute
Name: Decrease volume
Action: amixer sset Master 1- unmute
5 - File -> Save to default File
6 - Add "xbindkeys &" to your autostart.sh so it always runs when you start up.
And that's it.
Last edited by ShazbotMcNasty (2010-07-14 21:01:24)