Raspberry Pi project on "Painting with Sound"
In order to run your tkinter gui script (e.g. main.py) everytime the Raspberry Pi boots up, we can utilise on autostart.
- open terminal
- change directory to .config
2.1
cd .config/
- Create an autostart folder
3.1
mkdir autostart
- copy tkinterautostart.desktop into the folder
4.1
cp ~/sorpiart/tkinterautostart.desktop ~/.config/autostart/
- edit tkinterautostart.desktop
5.1
nano ~/.config/autostart/tkinterautostart.desktop
In order for pix2music.py to work, the Raspberry Pi will require the Sound Exchange (sox) library to be installed.
To install sox
- open terminal
sudo apt install sox