pandora_cdosea/playout/install.sh
2017-08-25 21:13:24 +02:00

25 lines
747 B
Bash

add-apt-repository ppa:j/pandora
apt update
apt install python3-ox python3-dev python3-requests ffmpeg mpv libmpv-dev unclutter tmux vim
cat > /etc/acpi/events/powerbtn << EOF
event=button[ /]power
action=/sbin/poweroff
EOF
su cdosea
cd ~/playout
mkdir ~/.config/autostart
cp unclutter.desktop player.desktop ~/.config/autostart
# fixme, disable updates
sed -i "s/Update-Package-Lists \"1\"/Update-Package-Lists \"0\"/g" /etc/apt/apt.conf.d/10periodic
apt-get remove whoopsie whoopsie-preferences libwhoopsie0
#apt-get remove evolution evolution-data-server gnome-online-accounts gnome-online-miners
apt-get remove deja-dup deja-dup-backend-cloudfiles deja-dup-backend-s3
apt-get remove apport apport-gtk apport-symptoms
apt-get autoremove