Xorg with evdev input devices

Vasily Postnicov shamaz.mazum at gmail.com
Sun Sep 22 16:27:18 UTC 2019


It looks like user does not have permissions to access /dev/input/event*
devices. Sway starts after I tried chmod 777 /dev/input/event*. I don't
understand why suid bit on /usr/local/bin/sway is not enough

вс, 22 сент. 2019 г. в 15:11, <greg at unrelenting.technology>:

> September 22, 2019 10:34 AM, "Vasily Postnicov" <shamaz.mazum at gmail.com>
> wrote:
>
> > Hello. I use FreeBSD 12.0-RELEASE-p10 on amd64 machine and my xorg-server
> > version is 1.18.4_12,1
> >
> > I want to test Xorg with evdev input devices.
> > […]
> >> setxkbmap -rules evdev us,ru winkeys
> > grp:rwin_toggle,grp_led:scroll,compose:lwin,ctrl:nocaps
> >
> > I have a standard 104-keys keyboard with Russian layout. All works almost
> > perfectly, but I have a little problem. With old xf86-input-keyboard
> driver
> > when an arrow key is held, an application constantly receives an event
> > (e.g. when I hold up/down arrow, content in browser keeps scrolling).
> With
> > xf86-input-libinput only up arrow and right arrow keep this behavior, but
> > the other two do not. This means, I must constantly press and release
> down
> > arrow to scroll the content in browser or editor. This is really
> annoying.
> > How it can be fixed?
>
> By switching to Wayland of course :)
>
> But also, I've had this in my xinitrc:
>
> xset r 113 # 2009 bug strikes again
> https://bbs.archlinux.org/viewtopic.php?id=76747
> xset r 116
>
> that link talks about this exact problem, so this should be the fix.
>


More information about the freebsd-x11 mailing list