Compare commits
2 Commits
6bea9c2982
...
a312e81659
Author | SHA1 | Date | |
---|---|---|---|
|
a312e81659 | ||
|
c135f0e1c7 |
28
mint.sh
28
mint.sh
@ -83,7 +83,7 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
|
||||
# install ansible
|
||||
if grep -q ^RELEASE=22 /etc/linuxmint/info
|
||||
then
|
||||
sudo apt-get -y install ansible
|
||||
sudo apt-get -y install ansible git
|
||||
else
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install python3-pip git
|
||||
sudo pip install ansible
|
||||
@ -161,6 +161,9 @@ fi
|
||||
dconf write /com/linuxmint/updates/auto-update-cinnamon-spices true
|
||||
dconf write /com/linuxmint/updates/auto-update-flatpaks true
|
||||
|
||||
if ! [ -s ~/.initial-mint-config-by-xsessionrc ]
|
||||
then
|
||||
|
||||
# disable saving recent files
|
||||
dconf write /org/cinnamon/desktop/privacy/remember-recent-files false
|
||||
|
||||
@ -168,18 +171,22 @@ dconf write /org/cinnamon/desktop/privacy/remember-recent-files false
|
||||
dconf write /org/cinnamon/desktop/peripherals/touchpad/edge-scrolling-enabled true
|
||||
dconf write /org/cinnamon/desktop/peripherals/touchpad/two-finger-scrolling-enabled false
|
||||
|
||||
# Terminus font in Terminal
|
||||
#dconf write "/org/gnome/terminal$(dconf dump /org/gnome/terminal/ | egrep '/profiles:...*' | sed 's/\[//g ; s/\]//g; s/\/$//')/font" "'Terminus (TTF) Medium 12'"
|
||||
# Terminal font Terminus
|
||||
termprofile=\$(dconf dump /org/gnome/terminal/legacy/profiles:/ | grep '^\\[:' | cut -d : -f2 | cut -d] -f1)
|
||||
dconf write "/org/gnome/terminal/legacy/profiles:/:\${termprofile}/font" "'Terminus (TTF) Medium 12'"
|
||||
|
||||
# Winkey+l=Locksreen
|
||||
dconf write /org/cinnamon/desktop/keybindings/custom-keybindings/custom8/command '"cinnamon-screensaver-command --lock"'
|
||||
dconf write /org/cinnamon/desktop/keybindings/custom-keybindings/custom8/binding "['<Mod4>l']"
|
||||
dconf write /org/cinnamon/desktop/keybindings/custom-keybindings/custom8/name '"Lockscreen"'
|
||||
dconf write /org/cinnamon/desktop/keybindings/custom-list "['__dummy__'$(dconf dump / 2>&1 | egrep '^\[org/cinnamon/desktop/keybindings/custom-keybindings/' | cut -d/ -f 6 | cut -d] -f1 | perl -pe "s/(.+)\n/, '\$1'/g")]"
|
||||
dconf write /org/cinnamon/desktop/keybindings/custom-list "['__dummy__']"
|
||||
|
||||
# dark theme
|
||||
#dconf write /org/cinnamon/desktop/interface/gtk-theme "'Mint-Y-Dark'"
|
||||
#dconf write /org/cinnamon/desktop/interface/icon-theme "'Mint-Y-Dark'"
|
||||
dconf write /org/cinnamon/desktop/interface/gtk-theme "'Mint-Y-Dark'"
|
||||
dconf write /org/cinnamon/desktop/interface/icon-theme "'Mint-Y'"
|
||||
dconf write /org/cinnamon/theme/name "'Mint-Y-Dark'"
|
||||
dconf write /org/gnome/desktop/interface/icon-theme "'Mint-Y-Dark'"
|
||||
dconf write /org/gnome/desktop/interface/gtk-theme "'Mint-Y-Dark'"
|
||||
|
||||
# Nemo Filemanager Settings
|
||||
dconf write /org/nemo/preferences/default-folder-viewer "'list-view'"
|
||||
@ -189,12 +196,13 @@ dconf write /org/nemo/preferences/show-location-entry true
|
||||
dconf write /org/cinnamon/panels-enabled "['1:0:bottom']"
|
||||
dconf write /org/cinnamon/panels-height "['1:27']"
|
||||
dconf write /org/cinnamon/panel-zone-icon-sizes '[{"left":0,"center":0,"right":0,"panelId":1}]'
|
||||
#dconf write /org/cinnamon/enabled-applets "['panel1:left:0:menu@cinnamon.org','panel1:left:1:show-desktop@cinnamon.org','panel1:left:2:panel-launchers@cinnamon.org','panel1:left:3:window-list@cinnamon.org','panel1:right:0:systray@cinnamon.org','panel1:right:1:xapp-status@cinnamon.org','panel1:right:2:keyboard@cinnamon.org','panel1:right:3:notifications@cinnamon.org','panel1:right:4:printers@cinnamon.org','panel1:right:5:removable-drives@cinnamon.org','panel1:right:6:user@cinnamon.org','panel1:right:7:network@cinnamon.org','panel1:right:8:sound@cinnamon.org','panel1:right:9:power@cinnamon.org','panel1:right:10:calendar@cinnamon.org']"
|
||||
dconf write /org/cinnamon/theme/name "'Linux Mint'"
|
||||
#cinnamon --replace > /dev/null 2>&1 & disown
|
||||
dconf write /org/cinnamon/enabled-applets "['panel1:left:0:menu@cinnamon.org','panel1:left:1:show-desktop@cinnamon.org','panel1:left:2:panel-launchers@cinnamon.org','panel1:left:3:window-list@cinnamon.org','panel1:right:0:systray@cinnamon.org','panel1:right:1:xapp-status@cinnamon.org','panel1:right:2:keyboard@cinnamon.org','panel1:right:3:notifications@cinnamon.org','panel1:right:4:printers@cinnamon.org','panel1:right:5:removable-drives@cinnamon.org','panel1:right:6:user@cinnamon.org','panel1:right:7:network@cinnamon.org','panel1:right:8:sound@cinnamon.org','panel1:right:9:power@cinnamon.org','panel1:right:10:calendar@cinnamon.org']"
|
||||
|
||||
date >> ~/.initial-mint-config-by-xsessionrc
|
||||
|
||||
fi
|
||||
|
||||
[ -x ~/.xsessionrc.followup ] && ~/.xsessionrc.followup
|
||||
|
||||
EOF
|
||||
|
||||
sudo chmod 700 "${defaultuserhome}"/.xsessionrc
|
||||
|
Loading…
Reference in New Issue
Block a user