playout stuff

This commit is contained in:
j 2017-08-25 10:36:50 +02:00
parent 3b10328e65
commit c413272c7e
4 changed files with 33 additions and 3 deletions

View file

@ -7,11 +7,15 @@ 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'
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

6
playout/play Normal file
View file

@ -0,0 +1,6 @@
#!/bin/bash
cd "`dirname "$0"`"
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'
exec ./play.py

10
playout/player.desktop Normal file
View file

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Exec=/home/cdosea/playout/play
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=playout
Name=playout
Comment[en_US]=
Comment=

10
playout/unclutter.desktop Normal file
View file

@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Exec=/usr/bin/unclutter
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=unclutter
Name=unclutter
Comment[en_US]=
Comment=