5

My .xbindkeysrc file includes:

"amixer sset -q 'Master' 10%+"
  control + shift + b:4

"amixer sset -q 'Master' 10%-"
  control + shift + b:5

Which allows me to control sound volume with Ctrl + Shift + Mouse Wheel. This worked perfectly fine until a recent upgrade.

Currently this works, but it also passes Ctrl + Wheel to the underlying window - which usually results in zoom in/out (for example in the browser or in terminator).

How can I change the volume without zooming? :-)

I am using arch linux, and gnome with xorg.

  • gnome 41.3
  • X.Org X Server 21.1.3

Update: the same happens also when using sxhkd.

(2022-02, Updated versions, problem persists)

Udi
  • 163
  • 2
  • 8

1 Answers1

1

I had the same situation but with xdotool

"xdotool key XF86AudioPlay"
    shift + b:4

According to xbindkeys#Troubleshooting article on archlinux wiki, I updated it to include --clearmodifiers, which worked for me.

"xdotool key --clearmodifiers XF86AudioPlay"
    shift + b:4

It also mentions using + release at the end of the command.

Guido Tarsia
  • 151
  • 1
  • 5
  • Thanks - Since I am not using `xdotool`, this does not relate or solve the problem. – Udi Feb 16 '22 at 21:04