[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to disable certain keys



On 2015-08-14, Bret Busby <bret.busby@gmail.com> wrote:
> Hello.
>
> Some of the keys are causing problems and disrupting what I do, due to
> the keys apparently being inadvertently pressed.
>
> How do I disable the <Caps Lock> key, and, how do I disable the left
> hand <CTRL> key, and, how do I disable the <Windows> keys?

I'm reading you can use xev to obtain the keycode value of the key you want to
disable, then you can run xmodmap to disable the key (by setting it to the
empty string, I guess)

xmodmap -e 'keycode <value>='

https://wiki.archlinux.org/index.php/Xmodmap

> Thank you in anticipation.
>




Reply to: