Commit adc328f7 authored by a priza's avatar a priza

Update linuxmint.sh - evala prwta to screensaver

parent e0b2d30e
......@@ -5,6 +5,14 @@ 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...'
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']"
dconf write /org/mate/desktop/session/idle-delay "60"
dconf write /org/mate/power-manager/sleep-display-ac "0"
gsettings set org.mate.screensaver lock-enabled "false"
# add GR mirrors for faster updates
sudo rm -f /etc/apt/sources.list.d/*
sudo wget https://framagit.org/stinpriza/linuxmint-priza/raw/master/official-package-repositories.list
......@@ -48,13 +56,6 @@ sudo mv el /var/lib/locales/supported.d/el
sudo dpkg-reconfigure --frontend=noninteractive locales
sudo update-locale LANG=el_GR.UTF-8
# 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']"
dconf write /org/mate/desktop/session/idle-delay "60"
dconf write /org/mate/power-manager/sleep-display-ac "0"
gsettings set org.mate.screensaver lock-enabled "false"
# fix mint-update
echo 'adjusting update manager to check for new packages 10mins after boot and then weekly...'
......
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