You are not logged in.

#1 2018-04-11 18:26:18

werwas
Member
Registered: 2017-10-07
Posts: 4

[SOLVED] Can I somehow lock my keyboard?

I run Arch (with X11 and i3 window manger) on a Lenovo ThinkPad T450.

Here's the situation:
I have a cat who likes to walk on my keyboard while I'm watching movies/video chatting. I would like to be able to somehow "turn off" most of the keys on my keyboard so that she doesn't interrupt things. So I am imagining a solution to this problem that looks like an i3 keybinding like $mod+Del+Esc that toggles disabling/enabling x11 from receiving input from all keys (and perhaps the mouse) except those three.

Does anyone have an idea of how this could work?

Okay, solved it. The screen-lock program xtrlock is exactly what I need:
https://www.archlinux.org/packages/comm … 4/xtrlock/

Last edited by werwas (2018-04-11 19:10:48)

Offline

#2 2018-04-11 18:28:58

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,808
Website

Re: [SOLVED] Can I somehow lock my keyboard?

give your cat xanax


https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#3 2018-04-12 00:08:41

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: [SOLVED] Can I somehow lock my keyboard?

ugjka wrote:

give your cat xanax

$ echo xanax | cat

My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB