step 1 : use :
xevto identify the "keycode"
e.g.
keycode 121 is for mute key
keycode 122 is for volume decrease key
keycode 121 is for volume increase key
step 2 : assign key to volume operation in ~/.fluxbox/keys
e.g.
None 121 :ExecCommand /usr/bin/amixer sset Master,0 toggle None 122 :ExecCommand /usr/bin/amixer sset Master,0 5%- None 123 :ExecCommand /usr/bin/amixer sset Master,0 5%+
Step 3 : re-launch fluxbox by right click any empty space in desktop and click on "Restart".
Voilla !!!
No comments:
Post a Comment