-
Notifications
You must be signed in to change notification settings - Fork 0
Install
Nathanial Hendler edited this page Jul 6, 2017
·
2 revisions
This is not complete; just notes...
$ pip install --user python-mpd2
$ pip install --user pillow
cp /lib/systemd/system/getty@.service getty@tty7.service
vim getty@tty7.service
Change ExecStart line to be (change username):
ExecStart=-/sbin/agetty --autologin username --noclear %I $TERM
Add this to your ~user/.profile (change username)
if [ "$TERM" == "linux" ]; then
echo "I'm in a virtual console"
cd /home/username/jukebox
/usr/bin/python3 /home/username/jukebox/main.py > ../Subi.log 2> ../Subi.err &
else
echo "I'm not in a virtual console"
fi