Change schema to setup keyboard

i9-scbs
Arkady L. Shane 1 year ago
parent 59756f6fb1
commit a2b71c0582
Signed by: tigro
GPG Key ID: 9C7900103E1C4F8B

@ -197,11 +197,10 @@ touch /.liveimg-configured
echo "localhost-live" > /etc/hostname
## add us,ru layouts by default
cat > /usr/share/glib-2.0/schemas/org.gnome.desktop.input-sources.gschema.override << FOE
[org.gnome.desktop.input-sources]
sources=[('xkb', 'us'), ('xkb', 'ru')]
mru-sources=[('xkb', 'us'), ('xkb', 'ru')]
xkb-options=['grp:alt_shift_toggle', 'grp_led:scroll']
cat > /usr/share/glib-2.0/schemas/org.gnome.libgnomekbd.keyboard.gschema.override << FOE
[org.gnome.libgnomekbd.keyboard]
layouts=['us', 'ru']
options=['grp\tgrp:alt_shift_toggle', 'grp_led\tgrp_led:scroll']
FOE
# rebuild schema cache with any overrides we installed

Loading…
Cancel
Save