You are not logged in.

#1 2019-09-03 01:32:00

fulaphex
Member
Registered: 2019-02-04
Posts: 11

xset autorepeat rate doesn't apply to some XF86 special keys

I'm using i3 for my WM.
I have changed autorepeat rate with `xset r rate 200 25` and tested the repeat rate with xev. For almost any key the time delta between KeyPress is 40ms, which is correct. For XF86AudioRaiseVolume and XF86AudioLowerVolume it's working fine, the time delta between KeyPress events is 40ms, but for XF86MonBrightnessDown and XF86MonBrightnessUp the time delta is roughly 250ms. The KeyPress and KeyRelease events for both look very similar.
xev output for XF86AudioLowerVolume
xev output for XF86MonBrightnessDown
I don't know why that's the case, but I would very much want all the keys to have the same autorepeat rate. There are no keybindings associated (at least I don't know of any) with the brightness keys, nothing happens when I press those.

Offline

#2 2019-09-03 07:06:22

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

Re: xset autorepeat rate doesn't apply to some XF86 special keys

Does the behavior remain if you xmodmap the keycode to another symbol (like "F13")?

Offline

#3 2019-09-03 16:02:14

fulaphex
Member
Registered: 2019-02-04
Posts: 11

Re: xset autorepeat rate doesn't apply to some XF86 special keys

Changed BrightnessDown/Up to F13/14 and VolumeRaise/Lower to F15/16 in xmodmap and it's still the same. F13 and F14 have a slower repeat rate than F15 and F16

Offline

#4 2019-09-03 19:32:58

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

Re: xset autorepeat rate doesn't apply to some XF86 special keys

Let's check on

at least I don't know of any

Try in a clean environment (ie. an X11 server running only an xterm and xev from there)
Also might be worth to see whether the behavior differs when using libinput or evdev (installing xf86-input-evdev should prefer that on the next X server start, still check the logs)

Offline

#5 2019-09-03 20:15:55

fulaphex
Member
Registered: 2019-02-04
Posts: 11

Re: xset autorepeat rate doesn't apply to some XF86 special keys

In a clean environment the same happens, Brightness buttons have slower repeat rate, Volume buttons have the same rate as any other key, even after modmapping them into F13/F14/F15/F16.

Installed xf86-input-evdev, launched bare xterm session and checked again. Same result as above. See the Xorg log, not sure if things went as you planned.

I have also just checked a manjaro i3 edition, the same problem exists. Seems to be a lower level problem. Is there a way to change it lower in the stack?

Last edited by fulaphex (2019-09-09 13:43:06)

Offline

Board footer

Powered by FluxBB