I have Fedora Workstation 36 running Wayland.
I need to disable the keyboard that comes with my laptop, without keeping a terminal open all the time.
The solution here is to run:
sudo evtest --grab /dev/input/event2
but this requires to keep a terminal open at all times, plus a background process running all time.
.desktop
file? – Artem S. Tashkinov May 15 '22 at 15:12rc.local
or create a systemd unit. GOOGLE knows everything. – Artem S. Tashkinov May 16 '22 at 06:08xinput
on Wayland – robertspierre May 16 '22 at 08:24