How to install a custom keyboard layout on Fedora 28

asked 2018-07-03 20:03:04 -0500

i5ar gravatar image

updated 2018-11-04 03:22:28 -0500

hhlp gravatar image

I created a keymap file based on the /usr/share/X11/xkb/symbols/us. I moved this file into /usr/share/X11/xkb/symbols/mylayout but when I run localectl list-keymaps it does't show up. What steps I'm missing? What other files do I need to edit to I install the new layout?

My layout look like this:

partial default alphanumeric_keys
xkb_symbols "basic" {
    include "us(basic)"
    name[Group1]= "Mylayer";

    // Alphanumeric section
    key <TLDE> { [        grave,   asciitilde,      dead_tilde,       asciitilde ] };
    key <AE01> { [            1,       exclam,      exclamdown,      onesuperior ] };
    key <AE02> { [            2,           at,       masculine,      twosuperior ] };
    ...
    include "level3(ralt_switch)"
};

Thank you.

edit retag flag offensive close merge delete