this post was submitted on 24 Mar 2024
30 points (96.9% liked)

Linux

48404 readers
734 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I cerrently on "colemak" layout and wanna switch to "colemak-dh" but dunno how to set it up. Im on arch + hyprland (wayland) setup.

you are viewing a single comment's thread
view the rest of the comments
[–] FiskFisk33@startrek.website 5 points 8 months ago (1 children)

I have this in my hyprland.conf

input {
    kb_layout = us
    kb_variant = colemak_dh_iso
    kb_model =
    kb_options=
    kb_rules =

You list some other variants with grep -i 'colemak_dh' /usr/share/X11/xkb/rules/base.lst, there are a few.

[–] t0mri@lemmy.ml 4 points 8 months ago* (last edited 8 months ago) (1 children)

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

localectl set-keymap  colemak_dh

But it says Failed to set keymap: Keymap colemak_dh is not installed.

I tried

[tomri@arch ~]$ localectl list-keymaps | grep colemak
colemak
[tomri@arch ~]$

Thanks in advance

[–] imecth@fedia.io 4 points 8 months ago* (last edited 8 months ago) (1 children)

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@lemmy.ml 1 points 8 months ago* (last edited 8 months ago) (2 children)

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@fedia.io 2 points 8 months ago (1 children)

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@lemmy.ml 1 points 8 months ago (1 children)

Oh ok. Follow experts advice.

Btw if ever find related article, could pls pass ghat here

[–] imecth@fedia.io 3 points 8 months ago* (last edited 8 months ago)

Yeah i don't think i had an article, just some redhat documentation and the regular localectl help page, and a couple of hours.

[–] imecth@fedia.io 1 points 8 months ago

Probably duckduckgo, it was a while back.