Forget all the rants about Caps Lock, Num Lock is the most useless key of them all. It's never, ever useful. You don't want to use your numpad as an arrowpad, since the arrows are 1cm away from it. Ever.
There was a time when some keyboards had a numpad but no dedicated arrow keys. They don't exist anymore. You can find keyboards with no numpad but with arrow keys, but not the opposite.
Therefore, Num Lock is useless, and it only serves to aggravate me and, I presume, others. Please note that I do not want to know how to turn Num Lock on at startup, I do not want to know how to tear the key off, I want to disable it so that it stays on all the time and can't be turned off by mistake. Any idea how to do that?
Ideally I'd like to be able to reclaim the key for another use, such as a modifier that allows me to type hex on the numpad.
Additionally I'd love to know how to turn off the equally useless mouse emulation triggered by Shift + Num Lock.
Answer
Well for your first question, you can remap it to nothing with xmodmap
:
xmodmap -e "keycode # = """
where # is the scan code of NumLock. You can find the scan code using xev
. Instead of nothing you can remap it to any key you'd like.
No comments:
Post a Comment