Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-05-20 14:19:21

colemakDHusr
Member
Registered: 2023-05-20
Posts: 2

Add Colemak Mod-DH keyboard layout

May the Colemak Mod-DH keyboard layout be added to MX, specifically for a standard US ANSI layout? MX has support for the Colemak keyboard layout, but not for the Colemak Mod-DH keyboard layout (a relatively popular alternative).

(Colemak Mod-DH is commonly known as Colemak-DH or Colemak DH. I was able to modify the US keyboard file on my comp, and typed this request with Colemak Mod-DH. It was a rough edit. I'm requesting the change for others and myself in the future. An easy custom keyboard creator may be an alternative solution.)

see details:
https://colemakmods.github.io/mod-dh/
https://colemakmods.github.io/mod-dh/gf … n_ansi.png


Below is the change I made to the Colemak layout of /usr/share/X11/xkb/symbols/us
It's not complete as I did not edit the third or forth columns:
   

    key <TLDE> { [        grave,   asciitilde,      dead_tilde,       asciitilde ] };
    key <AE01> { [            1,       exclam,      exclamdown,      onesuperior ] };
    key <AE02> { [            2,           at,       masculine,      twosuperior ] };
    key <AE03> { [            3,   numbersign,     ordfeminine,    threesuperior ] };
    key <AE04> { [            4,       dollar,            cent,         sterling ] };
    key <AE05> { [            5,      percent,        EuroSign,              yen ] };
    key <AE06> { [            6,  asciicircum,         hstroke,          Hstroke ] };
    key <AE07> { [            7,    ampersand,             eth,              ETH ] };
    key <AE08> { [            8,     asterisk,           thorn,            THORN ] };
    key <AE09> { [            9,    parenleft,  leftsinglequotemark,  leftdoublequotemark ] };
    key <AE10> { [            0,   parenright, rightsinglequotemark,  rightdoublequotemark ] };
    key <AE11> { [        minus,   underscore,          endash,           emdash ] };
    key <AE12> { [        equal,         plus,        multiply,         division ] };

    key <AD01> { [            q,            Q,      adiaeresis,       Adiaeresis ] };
    key <AD02> { [            w,            W,           aring,            Aring ] };
    key <AD03> { [            f,            F,          atilde,           Atilde ] };
    key <AD04> { [            p,            P,          oslash,         Ooblique ] };
    key <AD05> { [            b,            B,     dead_ogonek,       asciitilde ] };
    key <AD06> { [            j,            J,         dstroke,          Dstroke ] };
    key <AD07> { [            l,            L,         lstroke,          Lstroke ] };
    key <AD08> { [            u,            U,          uacute,           Uacute ] };
    key <AD09> { [            y,            Y,      udiaeresis,       Udiaeresis ] };
    key <AD10> { [    semicolon,        colon,      odiaeresis,       Odiaeresis ] };
    key <AD11> { [  bracketleft,    braceleft,   guillemotleft,        0x1002039 ] };
    key <AD12> { [ bracketright,   braceright,  guillemotright,        0x100203a ] };
    key <BKSL> { [    backslash,          bar,      asciitilde,       asciitilde ] };

    key <AC01> { [            a,            A,          aacute,           Aacute ] };
    key <AC02> { [            r,            R,      dead_grave,       asciitilde ] };
    key <AC03> { [            s,            S,          ssharp,        0x1001e9e ] };
    key <AC04> { [            t,            T,      dead_acute, dead_doubleacute ] };
    key <AC05> { [            g,            G,  dead_diaeresis,       asciitilde ] };
    key <AC06> { [            m,            M,      dead_caron,       asciitilde ] };
    key <AC07> { [            n,            N,          ntilde,           Ntilde ] };
    key <AC08> { [            e,            E,          eacute,           Eacute ] };
    key <AC09> { [            i,            I,          iacute,           Iacute ] };
    key <AC10> { [            o,            O,          oacute,           Oacute ] };
    key <AC11> { [   apostrophe,     quotedbl,          otilde,           Otilde ] };

    key <AB01> { [            x,            X,              ae,               AE ] };
    key <AB02> { [            c,            C, dead_circumflex,       asciitilde ] };
    key <AB03> { [            d,            D,        ccedilla,         Ccedilla ] };
    key <AB04> { [            v,            V,              oe,               OE ] };
    key <AB05> { [            z,            Z,      dead_breve,       asciitilde ] };
    key <AB06> { [            k,            K,  dead_abovering,       asciitilde ] };
    key <AB07> { [            h,            H,     dead_macron,       asciitilde ] };
    key <AB08> { [        comma,         less,    dead_cedilla,       asciitilde ] };
    key <AB09> { [       period,      greater,   dead_abovedot,       asciitilde ] };
    key <AB10> { [        slash,     question,    questiondown,       asciitilde ] };

    key <CAPS> { [    BackSpace,    BackSpace,       BackSpace,        BackSpace ] };
    key <LSGT> { [        minus,   underscore,          endash,           emdash ] };
    key <SPCE> { [        space,        space,           space,     nobreakspace ] };




Snapshot created on: 20230315_2318
System:    Kernel: 5.10.0-21-amd64 [5.10.162-1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/vmlinuz-5.10.0-21-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower March 15  2023 
           base: Debian GNU/Linux 11 (bullseye)

Offline

#2 2023-05-20 14:28:23

colemakDHusr
Member
Registered: 2023-05-20
Posts: 2

Re: Add Colemak Mod-DH keyboard layout

My apologies. I just realized that this XFCE site is external to MX linux. The question may still stand if XFCE is the origin for other distros keyboard layouts.

Offline

#3 2023-05-20 15:59:13

lastonestanding
Member
Registered: 2018-11-12
Posts: 21

Re: Add Colemak Mod-DH keyboard layout

This layout variant was added quite some time ago. Your version of xkeyboard-config (package: xkb-data) is probably not recent enough.

https://gitlab.freedesktop.org/xkeyboar … fe65bcbf5a

Last edited by lastonestanding (2023-05-20 16:01:51)

Offline

Board footer

Powered by FluxBB