Estou tentando não substituir / usr / share / X11 / symbols / us, até pensei que fazia isso há anos.
Então eu adicionei ao ~ / xkb / jpic, uma cópia do dvorak-alt-intl do / usr / share / X11 / symbols / us, já que é nisso que eu vou trabalhar:
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)"
};
Mas isso sempre falha:
>>> 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