-
Notifications
You must be signed in to change notification settings - Fork 107
Raspberry Pi Manual Setup Instructions
#Summary This document contains the instructions to setup the host software on a raspberry pi running a new image of raspian wheezy.
+Install RXTX and xserver utils
+Disable sleep/screensaver
+Setup application to start on boot
Future In an effort to make things as simple as possible, eventually we'll make an image. After finalizing the manual steps needed to make the host work on a raspberry pi, we would like to find a way to create a raspian wheezy image with this software preinstalled.
#Install RXTX and xserver utils
sudo apt-get update
sudo apt-get install librxtx-java
sudo apt-get install x11-xserver-utils
#Disable sleep/screensaver
Instructions to disable the sleep/screensaver on the pi
sudo nano /etc/X11/xinit/xinitrc
Add the following lines to the end of the document
xset s off # don't activate screensaver
xset -dpms # disable DPMS (Energy Star) features
xset s noblank # don't blank the video device
Save and exit nano, then enter the following commands
sudo sed -i 's/#xserver-command=X/xserver-command=X -s 0 -dpms'/ /etc/lightdm/lightdm.conf
sudo sed -i 's/POWERDOWN_TIME=30/POWERDOWN_TIME=0'/ /etc/kbd/config
sudo sed -i 's/BLANK_TIME=30/BLANK_TIME=0'/ /etc/kbd/config
#Setup application to start on boot
Instructions to start the Creation-Workshop-Host on boot
Enter the following commands
mkdir ~/.config/autostart
touch ~/.config/autostart/cwhost.desktop
nano ~/.config/autostart/cwhost.desktop
Add the following lines to the file
[Desktop Entry]
Type=Application
Exec=Exec=/home/pi/start.sh
#Install the application Run the following commands
#Reboot sudo reboot