Hello!
I google it for two days and finally gave up.
How to change volume adjustment step for volume keys?
I set up custom shortcuts (e.g. pactl set-sink-volume 1 +1%) but it really ugly workaround.
Is any way to change step in built-in functions?
Volume adjustment step.
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Volume adjustment step.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Volume adjustment step.
To my knowledge there is no adjustment configurable.
Re: Volume adjustment step.
You could try amixer:
http://www.commandlinefu.com/commands/using/amixer
Can increment in db or integer (HW value, I think, typically 0 to 31), and percent (maybe?).
I have these hooked up my numberpad +/- keys:
Edit: You can find the limits of the integer value like this:
amixer get Master
So the lowest increment is "1", which is about 3% or 1.5db:
http://www.commandlinefu.com/commands/using/amixer
Can increment in db or integer (HW value, I think, typically 0 to 31), and percent (maybe?).
I have these hooked up my numberpad +/- keys:
Code: Select all
amixer sset Master,0 1+
amixer sset Master,0 1-
amixer get Master
Code: Select all
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [0.00dB] [on]
Front Right: Playback 31 [100%] [0.00dB] [on]
Code: Select all
Front Left: Playback 30 [97%] [-1.50dB] [on]
Front Right: Playback 30 [97%] [-1.50dB] [on]
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: Volume adjustment step.
5% is too much for my speakers. 1% is just fineALF13 wrote:Why would you need that ? Just curious.
Re: Volume adjustment step.
I see.zloe wrote:5% is too much for my speakers. 1% is just fineALF13 wrote:Why would you need that ? Just curious.
Re: Volume adjustment step.
Tue Feb 09, 2016 5:15 pm Flemur posted:
My goal is to get finer volume control in "audtty" (an ncurses command line controller for audacious music player) as well as from mousewheel on volume icons in gui.
How specifically did you 'hook them up'? Script, assign keyboard shortcut somewhere, etc.?I have these hooked up my numberpad +/- keys:Code: Select all
amixer sset Master,0 1+ amixer sset Master,0 1-
My goal is to get finer volume control in "audtty" (an ncurses command line controller for audacious music player) as well as from mousewheel on volume icons in gui.
Re: Volume adjustment step.
I found a solution using dconf
Alternatively use dconf with the dconf-editor GUI
Code: Select all
env | grep DESKTOP_SESSION= #gives cinnamon,mate, etc
dconf read /org/cinnamon/settings-daemon/plugins/media-keys/volume-step #6 by default
dconf write /org/cinnamon/settings-daemon/plugins/media-keys/volume-step 2 #set the step to 2 or 3
Re: Volume adjustment step.
So i've just recently installed Mint 19.2 Cinnamon for the first time (first time Linux user in fact!) and as I use an Audioquest Dragonfly as my audio DAC, I immediately was annoyed as well by the 5% volume step. I would much rather have 1%. I tried the steps above, mainly using the custom keyboard shortcuts, but they weren't working. Discovered upon further investigation that the commands mentioned appear to now be out of date. The process to now follow is:
System Settings > Keyboard > Shortcuts > Sound and Media > On Volume Down & Up, double click the assigned keyboard bindings and press backspace for each > Custom Shortcuts > Add Custom Shortcut >
Name: Volume Up, Command: pactl set-sink-volume @DEFAULT_SINK@ +1% and for Volume Down, pactl set-sink-volume @DEFAULT_SINK@ -1%
Now as previously mentioned, this does remove the on-screen overlay, but at least my headphone listening experience has improved!
System Settings > Keyboard > Shortcuts > Sound and Media > On Volume Down & Up, double click the assigned keyboard bindings and press backspace for each > Custom Shortcuts > Add Custom Shortcut >
Name: Volume Up, Command: pactl set-sink-volume @DEFAULT_SINK@ +1% and for Volume Down, pactl set-sink-volume @DEFAULT_SINK@ -1%
Now as previously mentioned, this does remove the on-screen overlay, but at least my headphone listening experience has improved!