grimoire

personal wiki
git clone git://git.pyratebeard.net/grimoire.git
Log | Files | Refs

commit 7c6831197efdc0b126fa212121ff96c0fe6e2032
parent bb9044901acac6859bee9d74a7fcf134f93a308a
Author: pyratebeard <root@pyratebeard.net>
Date:   Fri, 21 Jun 2019 13:36:02 +0100

capslock as esc and ctrl

Diffstat:
Mtechnology/linux/general/keymaps.md | 13+++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/technology/linux/general/keymaps.md b/technology/linux/general/keymaps.md @@ -1,12 +1,21 @@ # keymaps -check keymaps +## check keymaps ``` localectl status ``` -changes required to load keys +## changes required to load keys ``` vconsole.conf /etc/X11/xorg.conf.d/00-keyboard.conf ``` + +## use capslock as escape and control +using xcape capslock can be set to 'escape' when tapped and 'ctrl' when help down. +``` +setxkbmap -option ctrl:nocaps +xcape -e 'Control_L=Escape' +``` + +[ref](https://www.dannyguo.com/blog/remap-caps-lock-to-escape-and-control)