updates
This commit is contained in:
parent
a883282d61
commit
ec11804c2b
39
raspi.sh
39
raspi.sh
@ -6,8 +6,8 @@ raspi-config nonint do_boot_behaviour B1
|
|||||||
raspi-config nonint do_wayland W1
|
raspi-config nonint do_wayland W1
|
||||||
raspi-config nonint do_change_locale de_DE.UTF-8
|
raspi-config nonint do_change_locale de_DE.UTF-8
|
||||||
|
|
||||||
apt -y install flatpak
|
#apt -y install flatpak
|
||||||
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
#flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
|
|
||||||
echo 'en_US.UTF-8 UTF-8
|
echo 'en_US.UTF-8 UTF-8
|
||||||
en_GB.UTF-8 UTF-8
|
en_GB.UTF-8 UTF-8
|
||||||
@ -43,16 +43,14 @@ debian.ansible.basics
|
|||||||
gtc-rename
|
gtc-rename
|
||||||
gtc-crypt
|
gtc-crypt
|
||||||
gtc-x11vnc
|
gtc-x11vnc
|
||||||
|
debian.ansible.flatpak
|
||||||
firefox
|
firefox
|
||||||
chromium
|
chromium
|
||||||
debian.ansible.firewall
|
debian.ansible.firewall
|
||||||
debian.ansible.flatpak
|
|
||||||
debian.ansible.kodi
|
debian.ansible.kodi
|
||||||
debian.ansible.dedyn.client
|
|
||||||
debian.ansible.docker
|
debian.ansible.docker
|
||||||
debian.ansible.autoupdate
|
debian.ansible.autoupdate
|
||||||
debian.ansible.whoogle
|
debian.ansible.whoogle"
|
||||||
"
|
|
||||||
bash install.sh
|
bash install.sh
|
||||||
|
|
||||||
# pi-apps (for signal etc.)
|
# pi-apps (for signal etc.)
|
||||||
@ -68,7 +66,8 @@ systemctl set-default graphical.target
|
|||||||
|
|
||||||
|
|
||||||
# Personal settings with .xsessionrc
|
# Personal settings with .xsessionrc
|
||||||
sudo cat <<EOF >/home/pi/.xsessionrc
|
$user=$(id -u 1000 -n)
|
||||||
|
sudo cat <<EOF >/home/${user}/.xsessionrc
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Clean GPU Cache of Element
|
# Clean GPU Cache of Element
|
||||||
@ -137,6 +136,28 @@ fi
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
chmod 700 /home/pi/.xsessionrc
|
mkdir -p /home/${user}/.config/autostart
|
||||||
chown user /home/pi/.xsessionrc
|
echo '[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Name=Kodi
|
||||||
|
GenericName=Media Center
|
||||||
|
GenericName[zh_CN]=媒体中心
|
||||||
|
Comment=Manage and view your media
|
||||||
|
Comment[ru]=Просмотр и управление мультимедиа
|
||||||
|
Comment[zh_CN]=管理和查看您的媒体
|
||||||
|
Exec=kodi
|
||||||
|
Icon=kodi
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=AudioVideo;Video;Player;TV;
|
||||||
|
X-GNOME-Autostart-enabled=true
|
||||||
|
NoDisplay=false
|
||||||
|
Hidden=false
|
||||||
|
Name[de_DE]=Kodi
|
||||||
|
Comment[de_DE]=Manage and view your media
|
||||||
|
X-GNOME-Autostart-Delay=0
|
||||||
|
' >/home/${user}/.config/autostart/kodi.desktop
|
||||||
|
|
||||||
|
chmod 700 /home/${user} /home/${user}/.xsessionrc /home/${user}/.config /home/${user}/.config/autostart /home/${user}/.config/autostart/kodi.desktop
|
||||||
|
chown ${user}: /home/${user} /home/${user}/.xsessionrc /home/${user}/.config /home/${user}/.config/autostart /home/${user}/.config/autostart/kodi.desktop
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user