-
Notifications
You must be signed in to change notification settings - Fork 3
Useful Raspberry Pi Settings
add this to /etc/wpa_supplicant/wpa_supplicant.conf
network = {
ssid="eduroam"
key_mgmt=WPA-EAP IEEE8021X
eap=PEAP
identity="#####@ucl.ac.uk"
anonymous_identity="[email protected]"
password="#######"
priority=22357
proactive_key_caching=1
}
and change line in /etc/network/interfaces
for wlan0 from wpa-conf
to wpa-roam
.
This is useful for debugging, as we need to have gui running and pygame normally hides everything.
from here Edit the file (on raspbian jessie) leafpad ~/.config/openbox/lxde-pi-rc.xml
.
<keybind key="F4">
<action name="Execute">
<execute>lxterminal</execute>
</action>
</keybind>
I used idlex
as it added more functionality but was still lightweight enough for the Pi. This is very useful for correcting tab errors (not mine!).
Can be installed through pip sudo pip install idlex', and run from terminal
sudo idlex &`
Useful guide here.
Add the following to nano /etc/lightdm/lightdm.conf
in the [SeatDefaults]
section:
[SeatDefaults]
xserver-command=X -s 0 -dpms
below did not work for raspbian jessie.
useful guide here
apt-get install x11-xserver-utils
open or create ~/.xinitrc
file and enter:
I got a waveshare 7" screen from amazon, setup guide here. I dont seem to be able to get touch screen working on it but I dont need it for this. To set it up, add the following to \boot\config.txt
. You need an adequate power supply for this, I am using RPi3 official one.
max_usb_current=1
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 1024 600 60 6 0 0 0
The dropbox folder is checked every 10 minutes by adding a chron task via the command crontab -e
Add the following line at the bottom of the list, has to be full paths.
*/10 * * * * sudo python /home/pi/RPi_Photobooth/dropboxsync.py -d