Commit 91672352 authored by Dimitris T's avatar Dimitris T

fix keyboard layouts and screensaver

parent 5e450587
......@@ -5,13 +5,6 @@ MYUSER=`whoami`
echo "[X] This script should not be executed as root!! run as user without sudo!!"
fi
# keyboard layout & screensaver fixes
echo 'keyboard layout & screensaver settings...'
gsettings set org.mate.peripherals-keyboard-xkb.kbd layouts "['us', 'gr']"
gsettings set org.mate.peripherals-keyboard-xkb.kbd options "['terminate\tterminate:ctrl_alt_bksp', 'currencysign\teurosign:e', 'grp\tgrp:alt_shift_toggle', 'grp_led\tgrp_led:scroll']"
gsettings set org.mate.screensaver lock-enabled 'false'
gsettings set org.mate.session idle-delay '60'
# system upgrades
sudo apt-get update -y
echo "repositories updated! removing unecessary packages, installing new ones, and upgrading system now..."
......@@ -20,7 +13,9 @@ sudo apt-get purge -y blueberry* bluetooth* bluez-cups* bluez-obexd* brltty* esp
# remove asian fonts
sudo apt-get purge -y fonts-deva-extra fonts-gubbi fonts-gujr-extra fonts-guru-extra fonts-lohit-beng-assamese fonts-lohit-beng-bengali fonts-lohit-deva fonts-lohit-gujr fonts-lohit-guru fonts-lohit-knda fonts-lohit-mlym fonts-lohit-orya fonts-lohit-taml fonts-lohit-taml-classical fonts-lohit-telu fonts-nanum fonts-orya-extra fonts-pagul fonts-smc fonts-telu-extra fonts-tlwg-garuda fonts-tlwg-kinnari fonts-tlwg-laksaman fonts-tlwg-loma fonts-tlwg-mono fonts-tlwg-norasi fonts-tlwg-typist fonts-tlwg-typo fonts-tlwg-umpush fonts-tlwg-waree fonts-wqy-microhei
# packages install
sudo apt-get install -y myspell-el-gr psensor libreoffice-l10n-el
sudo apt-get install -y hunspell-el language-pack-el
firefox-locale-el language-pack-gnome-el thunderbird-locale-el
gimp-help-el language-pack-el-base psensor libreoffice-l10n-el
ttf-dejavu fonts-inconsolata xfonts-terminus-oblique xfonts-terminus
libreoffice-help-el fonts-mgopen deborphan bash-completion pidgin-otr
pidgin-plugin-pack mate-tweak xul-ext-ublock-origin dconf-editor
......@@ -41,6 +36,13 @@ sudo apt-get autoremove -y
sudo apt-get clean
echo 'basic installation, settings and cleaning up is done!'
# keyboard layout & screensaver fixes
echo 'keyboard layout & screensaver settings...'
dconf write /org/mate/desktop/peripherals/keyboard/kbd/layouts "['us', 'gr']"
dconf write /org/mate/desktop/peripherals/keyboard/kbd/options "['terminate\tterminate:ctrl_alt_bksp', 'currencysign\teurosign:e', 'grp\tgrp:alt_shift_toggle']"
gsettings set org.mate.screensaver lock-enabled 'false'
gsettings set org.mate.desktop.session idle-delay "60"
# fix mint-update
echo 'adjusting update manager to check for new packages 10mins after boot and then weekly...'
gsettings set com.linuxmint.updates autorefresh-days 7
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment