This questions pops up every now and then and there are numerous answers, all of which may have been correct when they were written but somehow do not (always?) apply anymore.
I want to use a modified keymap based on or replacing the standard Colemak layout. I choose to modify the British keymap for this, and changed /usr/share/X11/xkb/symbols/gb
accordingly. These changes work – sometimes:
- When I issue
setxkbmap 'gb (colemak)'
, my layout is applied. However, I cannot switch layouts using Super-Space or from the menu anymore. My layout sticks. - As long as I haven’t issued above command, I can switch layouts the way Ubuntu likes it (and I like it, too). US English Intl. is fine, but switching to GB Colemak I find that this is the original Colemak, not my modified version.
So it seems to me that Ubuntu is using a different mechanism now, which I overwrite with my setxkbmap
command. What is the correct way of modifying an existing keymap (or creating a new one)?
/usr/share/X11/xkb/symbols/de
. It somehow did not work before… Still, weird behaviour remains: Why is the old value ofgb (colemak)
cached somewhere, why can’t I change keymaps in the GUI once I calledsetxkbmap
, … – MPi Sep 17 '21 at 11:46