Questions tagged [capslock]

Button on keyboard that locking all text typed to device to capital text.

129 questions
124
votes
5 answers

How do I turn off Caps Lock (the lock, not the key) by command line?

For some reason my laptop is stuck in Caps Lock. I have the Caps Lock key mapped by xmodmap to hyper_l, so I don't have a caps_lock key to turn it off. Is there a way I can turn it off by command line? It would be nice if I could reset the lock…
Echogene
  • 2,345
48
votes
2 answers

What's the opposite of setxkbmap -option ctrl:nocaps?

Normally I have caps lock to be a control key. setxkbmap -option ctrl:nocaps makes that happen, but I can't remember where I got it from or find any docs (man setxkbmap is singularly unhelpful ) Can anyone tell me the command to put it back to…
44
votes
10 answers

Deactivate Caps Lock in 14.04

I really don't need Caps Lock (who does?) and would rather have it as a Shift key as I sometimes hit it by mistake especially on the small netbook keyboard. Since I don't read while I type this might mean I have to retype half a page. I only find…
Karsten Decker
  • 463
  • 1
  • 4
  • 4
35
votes
4 answers

How do I swap Escape and Caps Lock in 14.04?

It appears that the keyboard Layout Options that allow things such as "Swap the Escape key and Caps Lock" have disappeared from the keyboard settings in 14.04 Is there another GUI where they can be set? Or is it back to dotfiles?
Hamish Downer
  • 19,506
29
votes
3 answers

Remapping Caps Lock to Escape in Ubuntu 18.04 bionic

In Ubuntu 16.04, there was an option in the settings which allowed to switch between Esc and Caps Lock. Where is this option in Ubuntu 18.04?
vrcmr
  • 6,397
27
votes
2 answers

Fast switch input source via CapsLock button in Ubuntu 17.10

I updated my Ubuntu version to 17.10 and I want to configure switching to next input source via CapsLock button. I tried to set CaspLock in keyboard setting, but I cant because nothing happening. I did actions explained here How to switch input…
lupti_du
  • 373
25
votes
0 answers

How do I turn Caps Lock into an extra Control key?

There used to be a great set of options under keyboard that allowed me to choose stuff such as how the caps lock key behaves. How do I do this in 14.04?
John Gill
  • 251
  • 1
  • 3
  • 5
25
votes
2 answers

How to change CapsLock key to produce "a"?

While typing I often hit the CapsLock key instead of the a key. (QWERTZU keyboard) This is quite annoying because the moment I realise that I hit the wrong key, I will have to delete multiple character/lines of text an rewrite them in the right…
Pit
  • 1,234
23
votes
2 answers

Map caps-lock to control on Ubuntu 17.10

The settings that allowed to change caps-lock to control seem to have gone in the latest Ubuntu. How can this behavior can be changed now?
19
votes
4 answers

How do I make the Caps Lock key a third Shift key?

How do I make the Caps Lock key work just like another Shift key? There are loads of questions here about reassigning it, or having it launch a custom command. I just want it to work like another Shift key. I don't want any other keys to change…
Tom Brossman
  • 13,297
18
votes
6 answers

Can I remap the Caps Lock key to play audio?

I'm trying to re-use the useless Caps lock key for something useful on 16.04 MATE. I have come across setxkbmap -option ctrl:nocaps to disable it, but could it be remapped to play/pause VLC for example? Thanks for your answers!
2BFrank
  • 211
14
votes
3 answers

How do I install caps2esc?

I am switching back from mac-land, and the thing that bugs me the most about linux these days is the keybindings. Specifically, right now, I miss Karabiner, and the ability to turn the caps lock both into control and escape at the sametime.…
14
votes
2 answers

Capslock (and other keys) indicator for Ubuntu 18.04

I know there are many solutions to this problem like using indicator-keylock or using lks-indicator. I have tried them both. However since I am on Ubuntu 18.04, these are not working. Can someone help me with something new or help me in writing a…
13
votes
3 answers

Check Lock Keys state from command-line

I want to check Lock keys (i.e Caps Lock, Num Lock, Scroll Lock etc.) state (On/Off) from command-line. How do I check state via terminal command?
Pandya
  • 37,289
13
votes
4 answers

Swap caps lock and Ctrl in Ubuntu 13.10

Can anyone explain how to swap Caps Lock and Ctrl keys on Ubuntu desktop under Unity. I use it to avoid emacs pinky.
1
2 3
8 9