Skip to content

Configuring the Raspberry Pi

RositaRodrigues edited this page Aug 27, 2016 · 41 revisions

##Rotating the screen and hide Rainbow colored cube edit /boot/config.txt:

sudo nano /boot/config.txt

Add the following line:

display_rotate=1
avoid_warnings=1 

Then reboot the pi:

sudo reboot

##Autohiding the Mouse Cursor Install unclutter:

sudo apt-get install unclutter

version 1 only ##Disabling the screensaver (Please note, you will need the x11-xserver-utils package installed.)

edit /etc/xdg/lxsession/LXDE-pi/autostart:

sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

Add the following lines:

@xset s noblank
@xset s off
@xset -dpms

Edit /etc/lightdm/lightdm.conf:

sudo nano /etc/lightdm/lightdm.conf

Add the following line below [SeatDefaults]

xserver-command=X -s 0 -dpms

Disable WiFi Power Save

Edit /etc/modprobe.d/8192cu.conf

sudo nano /etc/modprobe.d/8192cu.conf

Add the following lines

# Disable power saving
options 8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1

For Raspberry Pi 3
Edit /etc/network/interfaces

sudo nano /etc/network/interfaces

Add the following line under the wlan0 section

wireless-power off

Reboot your PI

sudo reboot

Enable file sharing with OS X

Install Netatalk:

sudo apt-get install netatalk

Enable VNC

Install x11vnc:

sudo apt-get install x11vnc

Set VNC password:

x11vnc -storepasswd

Create an auto-start file:

cd ~/.config
mkdir autostart
cd autostart
nano x11vnc.desktop

Add the following lines:

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=X11VNC
Comment=
Exec=x11vnc -forever -usepw -display :0 -ultrafilexfer
StartupNotify=false
Terminal=false
Hidden=false
Clone this wiki locally