Last active
September 12, 2020 16:07
-
-
Save tyalie/5f5cd9ade915f715768dec0a05d3741c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable keyboard on Gnome Wayland without disabling the screen or mouse | |
# This is incredibly useful when the only space left | |
# to take physical notes is on your keyboard | |
# | |
# I've last used it on a prolonged train drive | |
# 1. Get the event number of the device to be blocked | |
evtest # remember the path to the device | |
# 2. block keyboard | |
sleep 1; evtest --grab "/dev/input/eventX" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment