Usually when we use a laptop, this type of equipment has keys with multimedia functions to control the volume of output through the speakers, but a conventional PC, with a conventional keyboard, this is not the case.
In my case, with Xfce I have found a way to upload, get off, silence y activar the volume using amixer, which is nothing more than a mixer for Alsa which is used through command lines. The commands I used in this case, along with the key combination, I put below:
Turn up the volume:
amixer sset Master playback 5%+ with the keys: [Ctrl] + [+]
amixer sset Master playback 5%- with the keys: [Ctrl] + [-]
Put everything on Silent:
amixer sset Master mute with the keys: [Ctrl] + [*]
Activate the sound:
amixer sset Master unmute with the keys: [Ctrl] + [/]
I must clarify that Master is the channel to which I am going to apply the options. As usual in Xfce, to configure these shortcuts we go to Menu »Preferences» Keyboard »Application shortcuts and it should stay as in the image.
Sure, you can use the shortcuts you prefer 😀