Mint 15/Mate, Debian 9 + Mate: Volume wheel/buttons on keyboard are too insensitive

This considers Linux Mint 15, Mate edition and Debian 9.4 + Mate

On a keyboard with volume wheel (Prodikeys, very handsome) I encountered a problem where every volume change was too much in either direction. One scroll up or down made a too big change in volume.

Better solution - adjust volume step

Open a terminal, run the following:
sudo apt-get install dconf-editor

In the address bar, click on /org/ so you get to the bottom of the tree
Click on the search button (the magnifying glass)
Type 'volume-step' and press Enter
You should now be at /org/mate/settings-daemon/plugins/media-keys/volume-step
In the list, click on volume-step
Turn off Use default value
In the customized value, enter the desired step value - type 1 to get 1% change on volume control steps
Click on the confirmation button in the bottom right

Previous solution - workaround

This is the solution I found at first, which remaps the keyboard shortcuts for volume control to customized commands. The drawback of this method is that the graphical user interface does not get the changes and does not display them correctly.

System -> Settings -> Keyboard shortcuts (or find Keyboard shortcuts)

Then find this entries in the dialog:

Sound -> Volume 


Sound -> Volume down

Click on the keyboard button in the right column - XF86AudioLowerVolume and XF86AudioRaiseVolume, when it says New shortcut, hit backspace to not assign any to it.

Then try the volume wheel (or buttons). They should not make a change in volume currently.

Continue the workaround by clicking on the Add button in the bottom of the dialog.

Make two new shortcuts:

Name: Volume Up

/bin/bash -c "amixer set Master 5%+ && amixer set Speaker 5%+ && amixer set Headphone 5%+"


Name: Volume Down

/bin/bash -c "amixer set Master 5%- && amixer set Speaker 5%- && amixer set Headphone 5%-"

Click on the column for the keyboard for Volume Up and scroll up one step on the volume wheel (or hit the volume up keyboard button). Do the same for Volume Down - click to assign, scroll down (click down button).

Try the volume wheel / volume buttons now. If you need more or less change, edit the Volume Up and Volume Down shortcuts in the dialog by clicking on the shortcuts.

To debug you may also open a terminal and type alsamixer to see the volume levels.

This is a personal note. Last updated: 2018-03-16 00:06:32.


Don't forget to pay my friend a visit too. Joakim