A place of confusion.

It's a new year. >

This is a post to verify that this website is still alive. Also that it appears to be a new year and that is something we must all come to terms with.

Disable keyboard. >

If, like me - you have cats. They quite often stand on my laptop keyboard, as I use my laptop as a 2nd monitor with peripherals attached.

The linux command xinput list gives you a list of devices and whatever the keyboard no xinput float 9 will disable the keyboard. Often the keyboard number changed for me, and I found it tedious typing this set of commands every time I logged on, because inevitably my cat was going to sit, because cat sits.

Thus I hacked about a bit with attempting to use bash commands I was unfamiliar with and wrote a line that I aliased, disabling my keyboard with one command:

xinput list|grep -i "translated"|awk '{print $7 }' | xinput float $(grep -oE '[0-9]+' $7)

This is much better!