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@startrek.website
    link
    fedilink
    arrow-up
    7
    arrow-down
    2
    ·
    8 个月前

    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.mlOP
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      8 个月前

      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
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        8 个月前

        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.mlOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          8 个月前

          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