diff --git a/MSVSphere-9-Cinnamon.ks b/MSVSphere-9-Cinnamon.ks index d079034..b6c5b4d 100644 --- a/MSVSphere-9-Cinnamon.ks +++ b/MSVSphere-9-Cinnamon.ks @@ -4,7 +4,7 @@ firewall --enabled --service=mdns,samba,samba-client # Keyboard layouts keyboard --vckeymap=ru --xlayouts='us','ru' --switch='grp:alt_shift_toggle','grp_led:scroll' -# System language +# System language --addsupport=ru_RU.UTF-8 lang en_US.UTF-8 # Network information network --bootproto=dhcp --device=link --activate @@ -548,3 +548,28 @@ libreoffice-help-ru libreoffice-langpack-ru mythes-ru %end + +%post +cat > /etc/locale.conf << FOE +LANG="ru_RU.UTF-8" +FOE + +cat > /usr/share/glib-2.0/schemas/org.cinnamon.desktop.background.gschema.override << FOE +[org.cinnamon.desktop.background] +picture-uri='file:///usr/share/backgrounds/Inferit-MSVSphere-b2.xml' +FOE + +## add us,ru layouts by default +cat > /usr/share/glib-2.0/schemas/org.cinnamon.desktop.input-sources.gschema.override << FOE +[org.gnome.desktop.input-sources] +sources=[('xkb', 'us'), ('xkb', 'ru')] +xkb-options=['grp:alt_shift_toggle', 'grp_led:scroll'] +FOE + +## set icons +cat > /usr/share/glib-2.0/schemas/org.cinnamon.desktop.interface.gschema.override << FOE +[org.cinnamon.desktop.interface] +icon-theme='kora-pgrey' +FOE + +glib-compile-schemas /usr/share/glib-2.0/schemas