switched away from profile mode

based on feedback from wife
This commit is contained in:
Gabe Venberg 2023-06-23 20:43:44 -05:00
parent debe81f89e
commit f91fbdba5e
2 changed files with 4 additions and 5 deletions

View file

@ -6,7 +6,7 @@ draft: false
:toc:
:toclevels: 4
= Caps to Ctrl in tty
== Caps to Ctrl in tty
In the past 2 years or so, I have been using my caps lock key as a seperate ctrl key on my desktop keyboard.
This is very easy to do in X11 with a setxkmap command.
@ -59,7 +59,7 @@ Well, it should!
However, there seems to be a bug in 'loadkeys', as the above only works when defining a complete keymap, not when overriding parts of default.map.
This means, that in order to correctly modify the keymap, we either have to define all columns manually, or we have to copy the default keymap, edit it, and load it as a complete keymap.
== Keymap patch
=== Keymap patch
To continue overriding the default keymap, you can simply manually repeat the control command.
Now, technically, there are 256 columns in the keymap file, but, at least for latin keyboards, only the first 16 are used.
@ -72,7 +72,7 @@ keycode 58 = Control Control Control Control Control Control Control Control Con
Now just put it in in '/usr/share/kbd/keymaps/', and set it as your keymap with 'sudo localectl set-keymap [filename without .map extention]'.
== Full keymap
=== Full keymap
In order to create a new full keymap, copy the keymap you want to edit from '/usr/share/kbd/keymaps/i386/[couple more folders here]' to somewhere in 'usr/share/kbd/keymaps/' and unzip it with 'sudo gzip -d [filename]'.
Edit it with sudoedit and replace
@ -99,4 +99,3 @@ setxkbmap -option ctrl:nocaps
{{</highlight>}}
in your .xinitrc.

View file

@ -72,7 +72,7 @@ url = "search"
weight = 3
[params.profileMode]
enabled = true
enabled = false
title = "Gabe Venberg"
imageUrl = "#"
imageTitle = "Gabe Venberg"