Skip to content

Instantly share code, notes, and snippets.

@mrpjevans
Created Jun 30, 2020
Embed
What would you like to do?
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

mrpjevans commented Jul 1, 2020

Add Mopidy to the apt repository:

wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add -
sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/buster.list
sudo apt update

@mrpjevans
Copy link
Author

mrpjevans commented Jul 1, 2020

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