Skip to content

Instantly share code, notes, and snippets.

@mrpjevans
Created June 30, 2020 15:00
Show Gist options
  • Save mrpjevans/f695d22b09b6475c10ff92269256fb67 to your computer and use it in GitHub Desktop.
Save mrpjevans/f695d22b09b6475c10ff92269256fb67 to your computer and use it in GitHub Desktop.
Start Mopidy Iris in kiosk mode on Chromium on Raspberry Pi OS
#!/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 &
@mrpjevans
Copy link
Author

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