Is there a way to make CapsLock a dead key? I never use this key on purpose and it's irritating when I sometimes hit it without knowing, so I would rather have it doing nothing.
-- Regards, Erik P. Olsen
On 2/7/19 6:57 AM, Erik P. Olsen wrote:
Is there a way to make CapsLock a dead key? I never use this key on purpose and it's irritating when I sometimes hit it without knowing, so I would rather have it doing nothing.
-- Regards, Erik P. Olsen _______________________________________________
Google .Xmodmap
I use it to disable the middle button on my mouse.
I found this link I use now an then:
http://xahlee.info/linux/linux_disable_number_lock_key.html
Emmett
2019-02-07 15:57 GMT+01:00, Erik P. Olsen epodata@gmail.com:
Is there a way to make CapsLock a dead key? I never use this key on purpose and it's irritating when I sometimes hit it without knowing, so I would rather have it doing nothing.
I use
xmodmap -e "keycode 66 = NoSymbol"
for this. xev is useful for finding out the keycodes of various keys.
On 2/7/19 8:57 AM, Erik P. Olsen wrote:
Is there a way to make CapsLock a dead key? I never use this key on purpose and it's irritating when I sometimes hit it without knowing, so I would rather have it doing nothing.
The way I handle that on my desktop machines is by putting an extra spring under the capslock key cap. That way, the function is still there by pressing hard on the key if I need it, but it's not going to get pressed accidentally. That's probably much harder to do on a laptop.
On Thu, Feb 07, 2019 at 03:57:33PM +0100, Erik P. Olsen wrote:
Is there a way to make CapsLock a dead key? I never use this key on purpose and it's irritating when I sometimes hit it without knowing, so I would rather have it doing nothing.
If you are using GNOME, run GNOME Tweaks and find the Keyboard and Mouse section. Hit the "Additional Layout Options" button and find "Caps Lock behavior" under that. Options include:
* Disabled * Act as an additional CTRL, ESC, Backspace, Menu, or other modifier * Some esoteric capitalization related possibilities
On 07Feb2019 15:57, Erik P. Olsen epodata@gmail.com wrote:
Is there a way to make CapsLock a dead key? I never use this key on purpose and it's irritating when I sometimes hit it without knowing, so I would rather have it doing nothing.
I do this:
echo add control = Caps_Lock | xmodmap -
which turns it into an additional control key. You could easily turn it into Shift or probably disable it too.
Cheers, Cameron Simpson cs@cskk.id.au
On 2/7/19 9:36 AM, Matthew Miller wrote:
On Thu, Feb 07, 2019 at 03:57:33PM +0100, Erik P. Olsen wrote:
Is there a way to make CapsLock a dead key? I never use this key on purpose and it's irritating when I sometimes hit it without knowing, so I would rather have it doing nothing.
If you are using GNOME, run GNOME Tweaks and find the Keyboard and Mouse section. Hit the "Additional Layout Options" button and find "Caps Lock behavior" under that. Options include:
- Disabled
- Act as an additional CTRL, ESC, Backspace, Menu, or other modifier
- Some esoteric capitalization related possibilities
MATE has a "System>Preferences>Hardware>Keyboard" menu option. From the "Layouts" tab select the "Options" button and then the "Caps Lock behavior" entry and select "Caps Lock is disabled" ore any other option that might be an alternative for you.
~~R
"Perfection is the enemy of good enough." -- Admiral of the Fleet Sergei G. Gorshkov
On 2019-02-07 at 15:57:33 Erik P. Olsen wrote:
Is there a way to make CapsLock a dead key? I never use this key on purpose and it's irritating when I sometimes hit it without knowing, so I would rather have it doing nothing.
Thanks for your interest in my problem. I solved it in Settings -> keyboard -> Layout by setting "Change Layout Option" to "Menu" and "Compose key" to "Caps Lock".
-- Regards, Erik P. Olsen