Update 'custom_kbd_layout_gnome.md'
This commit is contained in:
parent
ff6cad2e80
commit
40db8b4642
@ -1,10 +1,10 @@
|
|||||||
1 - create layout, cz hack for example:
|
1 - create layout, cz hack for example:
|
||||||
|
|
||||||
in /usr/share/X11/xkb/symbols
|
in `/usr/share/X11/xkb/symbols`
|
||||||
create file for ex: czus
|
create file for ex: `czus`
|
||||||
|
|
||||||
default partial alphanumeric_keys
|
default partial alphanumeric_keys
|
||||||
xkb_symbols "basic" {
|
xkb_symbols "basic" {
|
||||||
|
|
||||||
include "us(basic)"
|
include "us(basic)"
|
||||||
name[Group1]= "Custom CZ - US";
|
name[Group1]= "Custom CZ - US";
|
||||||
@ -32,16 +32,17 @@ xkb_symbols "basic" {
|
|||||||
key <SPCE> { [ space, space, nobreakspace, nobreakspace] };
|
key <SPCE> { [ space, space, nobreakspace, nobreakspace] };
|
||||||
|
|
||||||
include "level3(ralt_switch)"
|
include "level3(ralt_switch)"
|
||||||
};
|
};
|
||||||
|
|
||||||
2 - edit /usr/share/X11/xkb/rules/evdev
|
2 - edit `/usr/share/X11/xkb/rules/evdev`
|
||||||
|
|
||||||
under ! option = symbols add:
|
under `! option = symbols` add:
|
||||||
czus:czhack = +czus(czhack)
|
czus:czhack = +czus(czhack)
|
||||||
|
|
||||||
3 - edit /usr/share/X11/xkb/rules/evdev.xml
|
3 - edit /usr/share/X11/xkb/rules/evdev.xml
|
||||||
|
|
||||||
under <layoutList> add:
|
under `<layoutList>` add:
|
||||||
|
```
|
||||||
<layout>
|
<layout>
|
||||||
<configItem>
|
<configItem>
|
||||||
<name>czus</name>
|
<name>czus</name>
|
||||||
@ -60,11 +61,12 @@ under <layoutList> add:
|
|||||||
</variant>
|
</variant>
|
||||||
</variantList>
|
</variantList>
|
||||||
</layout>
|
</layout>
|
||||||
|
```
|
||||||
|
|
||||||
4 - edit dconf
|
4 - edit dconf
|
||||||
|
|
||||||
open dconf-editor and under /org/gnome/desktop/input-sources
|
open dconf-editor and under `/org/gnome/desktop/input-sources`
|
||||||
edit xkb-options to: [('xkb','czus')]
|
edit xkb-options to: `[('xkb','czus')]`
|
||||||
apply
|
apply
|
||||||
log out and log back in and you're done
|
log out and log back in and you're done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user