In the middle of the desert you can say anything you want

13 Nov 2020

Day 683

Linux disable and reenable laptop keyboard

xinput -list

Note the id of “AT Translated Set 2 keyboard” (14 in my case), it’s the laptop keyboard, and of the one labeled “master keyboard” (3 in my case). xinput float $id and xinput float $id $id-master. 1

xinput float 14         #disables laptop keyboard
xinput reattach 14 3    #enables it back

ssh keys (id_rsa,

Errors like:

Permissions 0644 for '/home/me/.ssh/id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.

can be fixed by setting the permissions to 400.

Java complaining about --add_opens + $JAVACMD

For some reason the script took java8 instead of the java11 returned by which java, through $JAVACMD. Temporarily fixed by doing JAVACMD="/usr/bin/java" ./

  1. How to Disable Laptop Keyboard in Ubuntu or Windows? – TechMagics ↩︎

Nel mezzo del deserto posso dire tutto quello che voglio.