Created
June 30, 2020 15:00
-
-
Save mrpjevans/f695d22b09b6475c10ff92269256fb67 to your computer and use it in GitHub Desktop.
Start Mopidy Iris in kiosk mode on Chromium on Raspberry Pi OS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
unclutter -idle 0.5 -root & | |
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' /home/pi/.config/chromium/Default/Preferences | |
sed -i 's/"exit_type":"Crashed"/"exit_type":"Normal"/' /home/pi/.config/chromium/Default/Preferences | |
/usr/bin/chromium-browser --noerrdialogs --disable-infobars --kiosk http://127.0.0.1:6680/iris & |
install Mopidy Iris:
sudo pip3 install Mopidy-Iris
sudo pip3 install Mopidy-Local
sudo sh -c 'echo "mopidy ALL=NOPASSWD: /usr/local/lib/python3.7/dist-packages/mopidy_iris/system.sh" >> /etc/sudoers’
sudo systemctl restart mopidy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add Mopidy to the apt repository: