A Fishy Wiki

Stuff and things

User Tools

Site Tools


linux:caps-lock-ctrl

Remap Caps Lock as Ctrl

1. Install `dconf-editor` 2. Navigate to/Search for `/org/gnome/desktop/input-sources/xkb-options` 3. Change the value to the following array:

['ctrl:nocaps', 'caps:none']

โ€”

Alternatively, you can use this command:

dconf write /org/gnome/desktop/input-sources/xkb-options "['caps:none', 'ctrl:nocaps']"

โ€”

Both of these solutions will disable killing the X-Server with Ctrl+Alt+Backspace, but who wants that anyway? If you do, just add `['terminate:ctrl_alt_bksp']` back into the array

โ€”

On Startup

Put the above command in `/etc/rc.local` or add a cron entry for it `@reboot`

/var/www/dokuwiki/data/pages/linux/caps-lock-ctrl.txt ยท Last modified: 2019-04-07 17:53 by Tom