I encountered a problem configuring touchpad in Sway: settings do not affect libinput configuration. Sway reload, log out and log in, system reboot don’t help.
This is what I initially placed in ~/.config/sway/config:
Then I placed similar code snippet to /etc/sway/config and tried to change "type:touchpad" to "1267:12817:ASUE1211:00_04F3:3211_Touchpad" (identifier given by swaymsg -t get_inputs), no effect either.
This is what I’ve found in logs. I’m not sure it is related though.
Feb 14 06:56:11 fedora sway[1907]: 00:27:19.214 [ERROR] [wlr] [backend/drm/atomic.c:79] connector eDP-1: Atomic commit failed: Device or resource busy
Feb 14 06:56:11 fedora sway[1907]: 00:27:19.214 [ERROR] [sway/desktop/output.c:317] Page-flip failed on output eDP-1
Feb 14 06:57:58 fedora sway[1907]: 00:29:06.136 [ERROR] [wlr] [libinput] event5 - ASUE1211:00 04F3:3211 Touchpad: kernel bug: Touch jump detected and discarded.
Feb 14 06:57:58 fedora sway[1907]: See https://wayland.freedesktop.org/libinput/doc/1.27.1/touchpad-jumping-cursors.html for details
Versions:
OS: Linux fedora 6.12.11-200.fc41.x86_64
Sway: sway version 1.10.1
Libinput: 1.27.1
Machine: Vivobook_ASUSLaptop X1605ZA_X1605ZA
Note that I moved from Gnome DE to Sway without reinstalling whole OS, I simply upgraded the system from 40 to 41, then removed Gnome Desktop and Fedora Workstation groups and installed Sway with SDDM. There is a possibility that I messed up with configs somewhere, but I really want to understand what’s going on instead of just reinstall everything as if I were using Windows.
to /etc/sway/environment (as a quick try) and exited Sway.
Now, two things happened: I’m unable to log in via SDDM, and my config is applied (I entered via tty).
I suppose SDDM is unable to start the DE because at the moment it tries to do so $HOME is unset. I’ll move this line to .config/sway/environment and see what happens.