415671 n00b
Joined: 06 Mar 2021 Posts: 1
|
Posted: Sat Mar 06, 2021 3:31 am Post subject: Keyboard volume scroll not working with xbindkeys |
|
|
My keyboard has a volume scroll wheel to adjust the volume. I wanted to map the scroll wheel with xbindkeys to change my volume through amixer.
Here is my ~/.xbindkeysrc file:
Code: | "amixer set Master 2%+"
XF86AudioRaiseVolume
"amixer set Master 2%-"
XF86AudioLowerVolume
"amixer set Master toggle"
XF86AudioMute |
When running nothing registers when I use the scroll wheel (or the mute button). But it registers when I use my other multimedia buttons, which are stop, previous, play/pause, and next. The volume control keys are the only ones that do not work.
Just to be sure, I changed my ~/.xbindkeysrc file to this, mapping my next and previous buttons to the volume:
Code: | "amixer set Master 2%+"
XF86AudioNext
"amixer set Master 2%-"
XF86AudioPrev
"amixer set Master toggle"
XF86AudioMute |
And that worked perfectly, confirming it is a problem with just the volume keys, not all multimedia keys.
I also want to mention that using the same exact ~/.xbindkeys file (the top one from this post) works flawlessly in Arch Linux.
Also, just to clarify, I am running this every time I edit my ~/.xbindkeysrc file:
Code: | xbindkeys --poll-rc |
I am not sure what the problem is, obviously, so I hope some of you guys can help me out here. Any help is appreciated. Thank you guys! |
|