Я пытаюсь не перезаписывать / usr / share / X11 / symbols / us, даже думал, что делаю это годами.
Поэтому я добавил в ~ / xkb / jpic копию dvorak-alt-intl из / usr / share / X11 / symbols / us, поскольку над этим я буду работать:
default partial alphanumeric_keys xkb_symbols "dvorak-alt-intl" { name[Group1]= "English (Dvorak alternative international no dead keys)"; include "us(dvorak)" key <AE04> { [ 9, dollar, EuroSign ] }; key <AD02> { [ comma, less, adiaeresis, dead_caron ] }; key <AD03> { [ period, greater, ecircumflex, periodcentered ] }; key <AD04> { [ p, P, ediaeresis, dead_cedilla ] }; key <AD05> { [ y, Y, udiaeresis ] }; key <AD08> { [ c, C, ccedilla, dead_abovedot ] }; key <AC01> { [ a, A, agrave ] }; key <AC02> { [ o, O, ocircumflex ] }; key <AC03> { [ e, E, eacute ] }; key <AC04> { [ u, U, ucircumflex ] }; key <AC05> { [ i, I, icircumflex ] }; key <AC10> { [ s, S, ssharp ] }; key <AB01> { [ semicolon, colon, acircumflex ] }; key <AB02> { [ q, Q, odiaeresis, dead_ogonek ] }; key <AB03> { [ j, J, egrave, dead_doubleacute ] }; key <AB04> { [ k, K, ugrave ] }; key <AB05> { [ x, X, idiaeresis ] }; include "level3(ralt_switch)" };
Но это всегда терпит неудачу:
>>> setxkbmap -v 10 -I ~/xkb/ jpic dvorak-alt-intl Setting verbose level to 10 locale is C Warning! Multiple definitions of keyboard layout Using command line, ignoring X server Warning! Multiple definitions of layout variant Using command line, ignoring X server Trying to load rules file ./rules/evdev... Trying to load rules file /usr/share/X11/xkb/rules/evdev... Success. Applied rules from evdev: rules: evdev model: evdev layout: jpic variant: dvorak-alt-intl Trying to build keymap using the following components: keycodes: evdev+aliases(qwerty) types: complete compat: complete symbols: pc+jpic(dvorak-alt-intl)+inet(evdev) geometry: pc(pc104) Error loading new keyboard description