pandora_cdosea/playout/install.sh

13 lines
440 B
Bash
Raw Normal View History

2017-03-01 09:20:55 +00:00
add-apt-repository ppa:j/pandora
apt update
apt install python3-ox python3-dev python3-requests ffmpeg mpv libmpv-dev
cat > /etc/acpi/events/powerbtn << EOF
event=button[ /]power
action=/sbin/poweroff
EOF
gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend 'false'
gsettings set org.gnome.settings-daemon.plugins.power idle-dim 'false'
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'