Forums » Tips and Tricks

edit lxde keyboard volume shortcuts with xbindkeys

    • 6 posts
    March 4, 2013 10:42 PM PST

    1. install xbindkeys in Synaptic or in terminal: sudo apt-get install xbindkeys xbindkeys-config

    2. execute this in terminal: xbindkeys --defaults > ~/.xbindkeysrc (to create the necessary file)

    3. to open xbindkeys GUI, execute this in terminal: xbindkeys-config

    4. press the "New" button on bottom to create a new keybinding

    5. the basics:

    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

    6. after entering each "Name/Action" pair, press the "Get Key" button on right>>a blank white window will open (you may need to maximize it), press the key or combination of keys you want, and it will capture it for you; then hit the "Apply" button on right

    7. go to the "File" tab in the upper left corner and hit "Save to default File" in the dropdown menu

    8. add "xbindkeys &" to your so it always runs on startup (