Lum – How to increase or decrease volume in Xfce with keyboard shortcuts

audioaudio-volumekeyboard shortcutsxfce

In "Settings->Window Manager" I can customize keyboard shortcuts for actions such as window tiling or maximizing and minimizing windows. There is no option to control the volume with keyboard, though. It is possible in Cinnamon which has a similar control panel for keys but I don't know how to do it in Xfce.

Best Answer

I figured it out. Go to Settings->Keyboard->Application Shortcuts and bind the volume up and volume down keys you want to use to:

amixer set Master 5%+ 
amixer set Master 5%-

This will increase or decrease your volume by 5% depending on the key pressed.