5
0
Fork 0
mirror of https://codeberg.org/B3rtl/Ubuntu-Setup-Skripte synced 2025-06-28 11:26:08 +02:00

Remove keyboard configuration from linux_mint.sh

This is not needed anymore because the OEM install is now used,
so the recipients can choose the keyboard layout themselves.
This commit is contained in:
lumidify 2021-06-30 14:52:18 +02:00
parent 617f5bac09
commit 651e027063

View file

@ -219,28 +219,6 @@ e "Unnötige Pakete entfernen und Cache bereinigen …"
apt clean --yes --quiet apt clean --yes --quiet
apt autoremove --yes --quiet apt autoremove --yes --quiet
# https://askubuntu.com/questions/1037553/how-to-configure-a-dconf-key-globally-across-all-user-accounts#1037557
# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/desktop_migration_and_administration_guide/custom-default-values-system-settings
e "Tastatur- und Desktop-Optionen anpassen …"
mkdir -vp /etc/dconf/{profile,db/local.d}
cat <<'EOF' > /etc/dconf/profile/user
user-db:user
system-db:local
EOF
cat <<'EOF' > /etc/dconf/db/local.d/00-keyboard-layout
[org/gnome/libgnomekbd/keyboard]
layouts=['de', 'ara', 'ir']
[org/cinnamon/desktop/interface]
keyboard-layout-show-flags=false
keyboard-layout-use-upper=true
keyboard-layout-prefer-variant-names=true
EOF
dconf update
### ###
# Finalisation # Finalisation
### ###