Questions tagged [capslock]

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

122 questions
118
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,285
  • 4
  • 18
  • 23
44
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…
John Lawrence Aspden
  • 2,077
  • 4
  • 19
  • 25
42
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
  • 433
  • 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,013
  • 14
  • 70
  • 92
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,267
  • 10
  • 37
  • 60
25
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
  • 353
  • 3
  • 5
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
24
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,214
  • 2
  • 13
  • 26
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?
Damian Nadales
  • 425
  • 1
  • 3
  • 8
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
  • 12,953
  • 11
  • 66
  • 134
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
  • 1
  • 7
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.
user2239690
  • 133
  • 1
  • 1
  • 5
12
votes
2 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.…
12
votes
4 answers

How to toggle off Caps Lock by Shift key?

I get used to turn Caps Lock off by Shift in Windows. That way I never need to check whether Caps Lock is on when I just want to type a first letter in uppercase. But how can I do the same in Ubuntu? iF sHIFT CANCELS cAPS lOCK YOU RARELY NEED TO FIX…
Evgeny Mikhaylov
  • 129
  • 1
  • 10
11
votes
2 answers

Remap Caps Lock key to 'Run Command' (Alt+F2)

I'm trying to get rid of the Caps Lockkey and give it a better use. Since I constantly use the run command Alt+F2, I'd like to make Caps Lock trigger that action. I've found a couple of questions related, using xmodmap, but none of them try to map…
user14539
1
2 3
8 9