From 616465b719a1147ee571434bbd7fd00357232f49 Mon Sep 17 00:00:00 2001 From: stefan230 Date: Mon, 6 Jan 2020 11:43:06 +0100 Subject: [PATCH] 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"