From bf858a8773008fa71d7430eb22350362a248bb5a Mon Sep 17 00:00:00 2001 From: pvincent Date: Sun, 21 Nov 2021 18:28:14 +0400 Subject: [PATCH] debian11 aware --- src/main | 64 ++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 51 insertions(+), 13 deletions(-) diff --git a/src/main b/src/main index d450f64..26ed597 100755 --- a/src/main +++ b/src/main @@ -46,11 +46,12 @@ function askConfirmation() { BASEDIR=/opt/debian-gnome ALLOWED_USERS=$(id -un) #CUSTOMIZE if needed! REQUIRED_PACKAGES=( - vim git wget curl - htop tilix jq unzip python3-pip gir1.2-gtop-2.0 + vim git wget + python3 python3-pip + gir1.2-gtop-2.0 + htop tilix jq unzip tilix bash-completion nextcloud-desktop nautilus-nextcloud nautilus-share nautilus-image-converter - cups hplip-data ) ## MAIN @@ -78,13 +79,13 @@ for package in ${REQUIRED_PACKAGES[@]}; do fi done -echo "## remove hplip annoyance" -echo "=========================" -if [[ -f /etc/xdg/autostart/hplip-systray.desktop ]]; then - sudo rm /etc/xdg/autostart/hplip-systray.desktop -else - echo "hplip annoyance already removed!" -fi +#echo "## remove hplip annoyance" +#echo "=========================" +#if [[ -f /etc/xdg/autostart/hplip-systray.desktop ]]; then +# sudo rm /etc/xdg/autostart/hplip-systray.desktop +#else +# echo "hplip annoyance already removed!" +#fi echo "## debian-bash" echo "==============" @@ -169,7 +170,7 @@ gsettings set org.gnome.nautilus.preferences click-policy 'single' gsettings set org.gnome.mutter dynamic-workspaces false gsettings set org.gnome.desktop.wm.preferences num-workspaces 1 gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true -gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll false +#gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll false echo "## favorite apps" echo "================" @@ -247,6 +248,27 @@ for addon_id in "${!FIREFOX_ADDONS[@]}"; do fi done + +echo "# Firefox default settings" +echo "#=========================" + +if [[ ! -f /opt/firefox/firefox.cfg ]];then + cat <