Control Volume with Keyboard Shortcut in Xfce
Add an Xfce shortcut by going to Applications > Settings > Keyboard. Select the Application Shortcuts tab. Click Add to set volume up, volume down and toggle mute shortcuts:
For toggling mute:
After each code shortcut command is added, press a hotkey to associate it with the command.
Code
amixer set Master 3+
Code
amixer set Master 3-
For toggling mute:
Code
amixer set Master toggle
After each code shortcut command is added, press a hotkey to associate it with the command.