You are not logged in.

#1 2017-01-13 07:44:45

nonZero
Member
Registered: 2015-05-17
Posts: 57

Control+Shift + Mouse Wheel with xbindkeys shortcuts propagate

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 last update...
Currently this works, but it also passes Ctrl+Wheel to the underlying window - which usually results in Ctrl+Wheel zoom (in browser/terminator for example)!

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

I am using gnome-shell with xorg

gnome-shell 3.22.2
X.Org X Server 1.19.1, Release Date: 2017-01-11

Thanks!

Last edited by nonZero (2017-01-13 18:54:44)

Offline

#2 2017-01-14 21:32:53

nonZero
Member
Registered: 2015-05-17
Posts: 57

Re: Control+Shift + Mouse Wheel with xbindkeys shortcuts propagate

The same happens when using sxhkd instead with:

control + shift + button4
  amixer sset -q 'Master' 10%+
  

control + shift + button5
  amixer sset -q 'Master' 10%-

Offline

#3 2017-01-17 12:25:42

naraesk
Member
Registered: 2016-10-11
Posts: 25

Re: Control+Shift + Mouse Wheel with xbindkeys shortcuts propagate

I'm using xbindkeys too and I guess I have the same problem. My script allows to use coy&paste with an extra mouse butten. It looks like this:

"/usr/bin/xvkbd -text "\[Control_L]\[v]""
b:8

But since the last update, I have the following problem: After using it, the control key keeps pressed down, which results into problems with scrolling just as you described. If I press the physical control key again, it's no longer treated as pressed and everythings works as usual.

Offline

#4 2017-01-21 17:47:17

nonZero
Member
Registered: 2015-05-17
Posts: 57

Re: Control+Shift + Mouse Wheel with xbindkeys shortcuts propagate

I have also posted the question here: http://unix.stackexchange.com/questions … -propagate
With some bounty available! :-)

Offline

#5 2017-02-05 20:59:10

gentoofu
Member
Registered: 2006-10-05
Posts: 34

Re: Control+Shift + Mouse Wheel with xbindkeys shortcuts propagate

I have xbindkeys mapped Page Down for one of my mouse buttons and web pages would just keep scrolling down randomly when using the button. sad Pressing one of the mapped xbindkeys again would stop the scrolling.

Started happening after xorg-server 1.19 update.

Offline

#6 2017-02-07 09:34:25

seth
Member
Registered: 2012-09-03
Posts: 51,026

Re: Control+Shift + Mouse Wheel with xbindkeys shortcuts propagate

check yout xorg logs, using the libinput driver? try evdev.

Online

#7 2022-02-16 21:06:07

nonZero
Member
Registered: 2015-05-17
Posts: 57

Re: Control+Shift + Mouse Wheel with xbindkeys shortcuts propagate

Bumping, as tis is still an issue, with gnome 41.3 and X.Org X Server 21.1.3.

Offline

#8 2022-02-16 21:08:18

seth
Member
Registered: 2012-09-03
Posts: 51,026

Re: Control+Shift + Mouse Wheel with xbindkeys shortcuts propagate

Try to "export GDK_CORE_DEVICE_EVENTS=1" to the session.

Online

Board footer

Powered by FluxBB