From 0b243479e0fa883572fa97c4c7fef34300bd6cf1 Mon Sep 17 00:00:00 2001 From: stefan230 Date: Sun, 5 Jan 2020 18:08:08 +0100 Subject: [PATCH 1/3] add missing language-packages to script This commit adds the missing language-packages to script, so those don't need to be installed manually through mintlocale anymore, after this script was executed. --- linux_mint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 linux_mint.sh diff --git a/linux_mint.sh b/linux_mint.sh old mode 100755 new mode 100644 index db3f610..877b20b --- a/linux_mint.sh +++ b/linux_mint.sh @@ -130,6 +130,7 @@ apt install language-pack-ar language-pack-gnome-ar language-pack-fa language-pa echo ">>> Sprachunterstützung vervollständigen ..." apt install language-selector-common --yes apt install $(check-language-support) --yes +apt install hunspell-de-at hunspell-de-ch hunspell-de-de hyphen-fi hyphen-ga hyphen-id openoffice.org-hyphenation --yes echo ">>> Unnötige Pakete entfernen ..." apt clean @@ -142,5 +143,4 @@ apt autoremove --yes echo ">>> Initiales Setup beendet." echo echo ">>> To-dos:" -echo ">>> - Sprachpakete komplettieren" echo ">>> - Arabisches und persisches Tastatur-Layout einrichten" From 616465b719a1147ee571434bbd7fd00357232f49 Mon Sep 17 00:00:00 2001 From: stefan230 Date: Mon, 6 Jan 2020 11:43:06 +0100 Subject: [PATCH 2/3] add missing language-packages and configure arabic and persian keyboard-layout This is a correction of the PR #5. According to the comment I got I can remove hyphen-fi hyphen-ga hyphen-id from the list since they are dependencies of the openoffice.org-hyphenation package and are installed automatically. This resolves issue #4. I also added a command to the script which sets the additional keyboard layouts (arabian and persian) needed via command line. This resolves Issue #5. --- linux_mint.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linux_mint.sh b/linux_mint.sh index 877b20b..0443fdb 100644 --- a/linux_mint.sh +++ b/linux_mint.sh @@ -130,7 +130,10 @@ apt install language-pack-ar language-pack-gnome-ar language-pack-fa language-pa echo ">>> Sprachunterstützung vervollständigen ..." apt install language-selector-common --yes apt install $(check-language-support) --yes -apt install hunspell-de-at hunspell-de-ch hunspell-de-de hyphen-fi hyphen-ga hyphen-id openoffice.org-hyphenation --yes +apt install hunspell-de-at hunspell-de-ch hunspell-de-de openoffice.org-hyphenation --yes + +echo ">>> Richte arabisches und persisches Tastatur-Layout ein..." +gsettings set org.gnome.libgnomekbd.keyboard layouts "['de', 'ara', 'ir']" echo ">>> Unnötige Pakete entfernen ..." apt clean @@ -141,6 +144,3 @@ apt autoremove --yes # Finalisation ### echo ">>> Initiales Setup beendet." -echo -echo ">>> To-dos:" -echo ">>> - Arabisches und persisches Tastatur-Layout einrichten" From 205d9484cfa03bb9d25a0946915289f996e0a3eb Mon Sep 17 00:00:00 2001 From: stefan230 Date: Mon, 6 Jan 2020 13:07:16 +0100 Subject: [PATCH 3/3] Add lines to change the checkboxes "Anzeigeoptionen" in cinnamon-settings Added some lines to the script yet again. Sets the checkboxes like mentioned unter Issue #3. With this commit also this issue is resolved fully. --- linux_mint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linux_mint.sh b/linux_mint.sh index 0443fdb..c5c92db 100644 --- a/linux_mint.sh +++ b/linux_mint.sh @@ -134,6 +134,10 @@ apt install hunspell-de-at hunspell-de-ch hunspell-de-de openoffice.org-hyphenat echo ">>> Richte arabisches und persisches Tastatur-Layout ein..." gsettings set org.gnome.libgnomekbd.keyboard layouts "['de', 'ara', 'ir']" +echo ">>> Ändere Anzeigeoptionen für die Tastatur auf die richtigen Werte..." +gsettings set org.cinnamon.desktop.interface keyboard-layout-show-flags false +gsettings set org.cinnamon.desktop.interface keyboard-layout-use-upper true +gsettings set org.cinnamon.desktop.interface keyboard-layout-prefer-variant-names true echo ">>> Unnötige Pakete entfernen ..." apt clean