Prepare the Computer

First step is to install Ubuntu. First download Ubuntu 18.04 LTS at here. Then you need to write the ISO out to a USB key using this process. Then boot up into the USB key and select "Install Ubuntu". Follow the setup guide presented but when you get to the user section, name the user "speaker" with the password "speaker" and select the automatic logon at startup option. Please do not select a different password or username, they are not really used for security and recovering them is quite difficult. Also make sure you connect to the internet and get all updates during installation.

Once the computer starts click the ubuntu logo in the top left corner and type "Power" and select the control panel by that name. Inside this control panel, make sure the "Blank Screen" is set to Never. Then open the Privacy control panel and screen lock to off. In the notifications panel turn them off. Then you can close the control panel.

Click on the ubuntu launcher in the top left corner and type "Software & Updates". Once the control panel is open then click on the "Updates" tab. Inside the updates tab change the "Automatically check for updates:" field to "Never".

Now open a terminal by clicking on the launcher icon and typing "Terminal". Once open type the following command "sudo apt-get install git git-gui python3-pip" It will prompt you for your password and then ask if you are sure, type "y". Once that operation is complete type "sudo apt-get install python3-gst-1.0 gstreamer1.0_plugins_bad". Then run the following command "pip3 install pygame". Now let's pull down the software. On the command line type "git clone https://[your username]@bitbucket.org/messelman/sensing_sound2.git", note that the your username needs to be replaced by your own username. Copy the monoscope plugin as described in the readme. The last thing we need to do in the terminal is set up for a nightly reboot. In the terminal type "sudo crontab -e", it will ask for your password which should be "speaker". Then it will bring you into an editor, if it asks for you to select an editor select "nano". At the bottom of the file add the following two lines:

Finally save your changes with Ctrl+o and then the Enter key, finally exit with Ctrl+x. In the terminal now type "sudo nano /etc/default/apport" This will bring up another editor. In the window change "enabled=1" to "enabled=0" then save the changes with Ctrl+o and exit with Ctrl+x.

Now we're going to set up the auto-start feature for the software. Click the Ubuntu logo in the top left and type "Startup Applications" and enter the control panel. Now click the add button and type the name "touchable_speaker" then browse for the command. The command should be "/usr/bin/python3 /home/speaker/sensing_sound2/main.py". Finally click the "Add" button and close the control panel. Now reboot the computer by clicking on the gear icon in the top right corner of the computer.

Use the delete key during boot to enter BIOS settings. In here change AC Power Loss to Last State