Skip to content

Useful Raspberry Pi Settings

Jimbles edited this page Apr 25, 2016 · 13 revisions

Raspberry Pi Settings

UCL Eduroam on Raspberry Pi

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.

Terminal Shortcut

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>

Better Python Editor

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 &`

Stop Screen Blanking - Raspbian Jessie

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:

LCD Screen Setup

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
Clone this wiki locally