I switched my ubuntu from 21.10 impish to 22.04 jammy which implied to leave x11 for wayland.
I prevented unsolicited selection paste or unwanted closed tabs by completely disabling middle click with this line into my .bashrc :
xinput set-prop 'Synaptics TM3289-021' 'libinput Middle Emulation Enabled' 1
It was working fine with x11. After the upgrade, I get this error message
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
unable to find device Synaptics TM3289-021
When I do xinput list
, I don't get my touchpad but rather
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ xwayland-pointer:16 id=6 [slave pointer (2)]
⎜ ↳ xwayland-relative-pointer:16 id=7 [slave pointer (2)]
⎜ ↳ xwayland-pointer-gestures:16 id=8 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ xwayland-keyboard:16 id=9 [slave keyboard (3)]
How can I disable middle click with Wayland protocol?