Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to change the steps in the multimedia volume keys?

Need help with peripherals or devices?
Post Reply
Message
Author
User avatar
Zaxon_
Posts: 25
Joined: 2014-08-21 13:09
Has thanked: 1 time
Been thanked: 1 time

How to change the steps in the multimedia volume keys?

#1 Post by Zaxon_ »

I am using Debian 11 with Mate and by keyboard shortcuts I have a media volume control. However if I press once I see that in the 'pulsemixer' it is represent by 5 steps of volume change. This is annoying as sometimes one press is already too loud/quiet. Where this can be changed in the system?

Image

User avatar
NorthEast
Posts: 348
Joined: 2018-11-18 04:35
Has thanked: 12 times
Been thanked: 30 times

Re: How to change the steps in the multimedia volume keys?

#2 Post by NorthEast »

Is alsamixer any more fine-grained? That's all I use. Thanks for alerting me to existence of pulsemixer.

User avatar
canci
Global Moderator
Global Moderator
Posts: 2497
Joined: 2006-09-24 11:28
Has thanked: 135 times
Been thanked: 134 times

Re: How to change the steps in the multimedia volume keys?

#3 Post by canci »

You could rebind your multimedia keys to do something like this:

I have XF86AudioRaiseVolume set to

Code: Select all

pactl set-sink-volume @DEFAULT_SINK@ +1%
and XF86AudioLowerVolume set to

Code: Select all

pactl set-sink-volume @DEFAULT_SINK@ -1%
which would change the volume at 1% increments

That's what the keys are called in the Sway window manager. Not sure if that's the same in Mate?
Image Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe

READ THIS:

* How to Post a Thread Here
* Other Tips and Great Resources

User avatar
Zaxon_
Posts: 25
Joined: 2014-08-21 13:09
Has thanked: 1 time
Been thanked: 1 time

Re: How to change the steps in the multimedia volume keys?

#4 Post by Zaxon_ »

NorthEast wrote: 2022-01-18 04:02 Is alsamixer any more fine-grained? That's all I use. Thanks for alerting me to existence of pulsemixer.
Yes, it is the same:
Image

User avatar
Zaxon_
Posts: 25
Joined: 2014-08-21 13:09
Has thanked: 1 time
Been thanked: 1 time

Re: How to change the steps in the multimedia volume keys?

#5 Post by Zaxon_ »

@canci It is working! :D

Image

Previously I was using some bash script, but that seems to be to slow and sometimes one channel was going out of sync. Now it is all correct. Thanks a lot!

Under Mate the keys binding program is

Code: Select all

mate-keybinding-properties
. First I had to disable the default audio bindings in the Sound section, then define new ones in Custom shortcuts.

By the way I am using the hardware knob as it is more convenient:
Image

User avatar
canci
Global Moderator
Global Moderator
Posts: 2497
Joined: 2006-09-24 11:28
Has thanked: 135 times
Been thanked: 134 times

Re: How to change the steps in the multimedia volume keys?

#6 Post by canci »

Fancy!
Image Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe

READ THIS:

* How to Post a Thread Here
* Other Tips and Great Resources

Post Reply