From a883282d61bd21704c3cb786a54125a6030f7f18 Mon Sep 17 00:00:00 2001 From: olli <> Date: Fri, 4 Oct 2024 14:58:39 +0200 Subject: [PATCH] updates --- kodi.yml | 47 +++++++++++++++++++++++++++++++++++++ raspi.sh | 71 +++++++++++++++++++++++++++++++++----------------------- 2 files changed, 89 insertions(+), 29 deletions(-) diff --git a/kodi.yml b/kodi.yml index a34aa8a..9904be3 100644 --- a/kodi.yml +++ b/kodi.yml @@ -35,8 +35,55 @@ - x265 - flatpak - ttf-mscorefonts-installer + - fonts-terminus + - mint-y-icons # kodi - kodi21 + - kodi21-pvr-iptvsimple + - kodi21-vfs-sftp + - kodi21-game-libretro + - kodi21-peripheral-joystick + # useful other stuff + - pwgen + - arj + - p7zip + - unace + - unadf + - bvi + - fdupes + - radeontop + - debootstrap + - geoip-bin + - sshfs + - speedtest-cli + - gnome-characters + # dconf-gui + - dconf-editor + # Media + - vlc + - gthumb + - mediainfo-gui + - easytag + - audacity + - asunder + - mediathekview + - audacious + - guvcview + - easyeffects + - calf-plugins + # retro + - dosbox + # brennen + - brasero + # misc + - openoffice.org-hyphenation + - gpodder + - wireguard + - wireguard-tools + - tinyproxy + - hardinfo + - rpi-imager + - redshift-gtk update_cache: yes install_recommends: no diff --git a/raspi.sh b/raspi.sh index 3124d95..e83a152 100644 --- a/raspi.sh +++ b/raspi.sh @@ -55,7 +55,15 @@ debian.ansible.whoogle " bash install.sh +# pi-apps (for signal etc.) +wget -qO- https://raw.githubusercontent.com/Botspot/pi-apps/master/install | bash +# Signal desktop (over pi-apps GUI) +#https://github.com/dennisameling/Signal-Desktop/releases/download/v7.27.0/signal-desktop-unofficial_7.27.0_arm64.deb +#dpkg -i signal-desktop-unofficial_7.27.0_arm64.deb + + +# boot in graphic systemctl set-default graphical.target @@ -82,41 +90,46 @@ then fi fi -# Autoupdate flatpak and cinnamon -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 + # disable saving recent files + dconf write /org/cinnamon/desktop/privacy/remember-recent-files false -# Touchpad Scrolling -dconf write /org/cinnamon/desktop/peripherals/touchpad/edge-scrolling-enabled true -dconf write /org/cinnamon/desktop/peripherals/touchpad/two-finger-scrolling-enabled false + # Touchpad Scrolling + 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 "['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")]" + # 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 "['l']" + dconf write /org/cinnamon/desktop/keybindings/custom-keybindings/custom8/name '"Lockscreen"' + 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'" + 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'" + dconf write /org/nemo/preferences/show-location-entry true -# dark theme -#dconf write /org/cinnamon/desktop/interface/gtk-theme "'Mint-Y-Dark'" -#dconf write /org/cinnamon/desktop/interface/icon-theme "'Mint-Y-Dark'" + # Traditional Cinnamon task bar (https://forums.linuxmint.com/viewtopic.php?t=321872) + 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']" -# Nemo Filemanager Settings -dconf write /org/nemo/preferences/default-folder-viewer "'list-view'" -dconf write /org/nemo/preferences/show-location-entry true + date >> ~/.initial-mint-config-by-xsessionrc -# Traditional Cinnamon task bar (https://forums.linuxmint.com/viewtopic.php?t=321872) -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 +fi [ -x ~/.xsessionrc.followup ] && ~/.xsessionrc.followup @@ -125,5 +138,5 @@ dconf write /org/cinnamon/theme/name "'Linux Mint'" EOF chmod 700 /home/pi/.xsessionrc -chown pi /home/pi/.xsessionrc +chown user /home/pi/.xsessionrc