Colemak-dh on linux
I cerrently on “colemak” layout and wanna switch to “colemak-dh” but dunno how to set it up. Im on arch + hyprland (wayland) setup.
I cerrently on “colemak” layout and wanna switch to “colemak-dh” but dunno how to set it up. Im on arch + hyprland (wayland) setup.
FiskFisk33, I have this in my hyprland.conf
<span style="color:#323232;">input { </span><span style="color:#323232;"> kb_layout = us </span><span style="color:#323232;"> kb_variant = colemak_dh_iso </span><span style="color:#323232;"> kb_model = </span><span style="color:#323232;"> kb_options= </span><span style="color:#323232;"> kb_rules = </span>
You list some other variants with
grep -i ‘colemak_dh’ /usr/share/X11/xkb/rules/base.lst
, there are a few.
t0mri, Yo! Thanks a lot. It works.
I tried “colemak-dh” instead of “colemak_dh”, thats why it didnt work. My monkey brain didnt think of using underscore.
I wanna set it up on login shell too. So i tried
<span style="color:#323232;">localectl set-keymap colemak_dh </span>
But it says
Failed to set keymap: Keymap colemak_dh is not installed.
I tried
<span style="color:#323232;">[tomri@arch ~]$ localectl list-keymaps </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#323232;">grep colemak </span><span style="color:#323232;">colemak </span><span style="color:#323232;">[tomri@arch ~]$ </span>
Thanks in advance
imecth, (edited ) For the iso variant:
localectl --no-convert set-keymap mod-dh-iso-us
localectl set-x11-keymap us 105 colemak_dh_iso
For the ansi variant, switch to 104 and edit iso to ansi
t0mri, (edited ) Thanks. Just
localectl set-keymap mod-dh-ansi-us
works.Btw how did u find the name . Coz I couldnt find any ref online.
Thanks again
imecth, Probably duckduckgo, it was a while back.
imecth, Oh and fyi you'll probably need the second command too if you ever use x11, iirc
set-keymap
doesn't convert properly so you need to set it manually
localectl set-x11-keymap us 104 colemak_dh
t0mri, Oh ok. Follow experts advice.
Btw if ever find related article, could pls pass ghat here
imecth, Yeah i don't think i had an article, just some redhat documentation and the regular localectl help page, and a couple of hours.
Add comment