How do I remap the Caps Lock key in Chrome OS?

21

9

I have a Chromebook and have attached an external keyboard to it. How do I remap the Caps Lock key on the external keyboard to another modifier? (The keyboard settings - chrome://settings/keyboard-overlay - don't provide a way to modify caps lock.)

lid

Posted 2014-04-13T20:45:56.817

Reputation: 859

Answers

23

It turns out that there is a setting for changing the functionality of Caps Lock, but it is hidden unless you have a Chrome external keyboard (e.g. one that comes with a Chromebox).

  1. Navigate to the keyboard settings overlay (chrome://settings/keyboard-overlay)
  2. Right click on "Alt" and choose Inspect Element
  3. Find the line <tr id="caps-lock-remapping-section" hidden="">, double click on hidden, and press delete, so that it reads <tr id="caps-lock-remapping-section">
  4. Press Enter to commit the change
  5. The Caps Lock functionality should now be visible!

lid

Posted 2014-04-13T20:45:56.817

Reputation: 859

2Wow. Great answer. I never would have figured this out!

I never thought about the settings pages being inspectable, either. – Wes Alvaro – 2014-09-26T18:07:31.923

Also surprised by this answer. It worked great. Thank you. – kzahel – 2015-01-05T02:29:07.990

Brilliant solution to stupid, frustrating problem! – Scott Bale – 2015-05-23T14:16:56.850

It's working! I has map my <Ctrl> to <Caps Lock>, thank you. – Chu-Saing Lai – 2016-02-23T06:52:20.363

4As of today, this setting appears to be just visible! :-) – Blaisorblade – 2018-11-04T09:15:45.837