From 4a88b7c3e22638620e29379c577a64ce7da5e7b9 Mon Sep 17 00:00:00 2001 From: pvincent Date: Sat, 28 Oct 2023 18:08:37 +0400 Subject: [PATCH] fix keyboard layout french only --- src/main | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main b/src/main index d995ba5..3c86b62 100755 --- a/src/main +++ b/src/main @@ -93,12 +93,22 @@ for package in ${REQUIRED_PACKAGES[@]}; do fi done +echo "# fix input sources containing french variants" +echo "==============================================" +if gsettings get org.gnome.desktop.input-sources sources | grep fr+; then + gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'fr')]" + echo no more french variant found, fixed +else + echo no french variant found, ok! +fi + echo "## debian-bash" echo "==============" if [[ ! -d /opt/debian-bash ]]; then curl https://git.artcode.re/pvincent/debian-bash/raw/branch/master/install.sh | sudo bash -s -- --host else echo "debian-bash already installed!" + /opt/debian-bash/tools/debian_bash_upgrade fi echo "## openssh-server"