Removing Applications from Raspberry Pi
sudo apt-get –purge remove APPNAME #replace APPNAME with the name of the app you want to remove |
sudo apt-get remove scratch |
Raspberry Pi Digital Signage

Raspberry Pi Schedule Turn OFF/ON Display
sudo su - #switch to supuer user
crontab -e #edit crontab file
|
Put this line at the end of the file. This will turn off display at 5.30PM and turn on display at 8.30AM
30 17 * * * tvservice -o 30 8 * * * tvservice -p; fbset -depth 8; fbset -depth 16 |
* * * * * command to be executed - - - - - | | | | | | | | | +----- day of week (0-6) (Sunday=0) | | | +------- month (1-12) | | +--------- day of month (1-31) | +----------- hour (0-23) +------------- minute (0-59)
Raspberry Pi Schedule Reboot
sudo su - #switch to supuer user
crontab -e #edit crontab file
|
Put this line at the end of the file. This will reboot the Raspberry Pi at 1.30PM every day.
30 13 * * * sudo reboot |
* * * * * command to be executed - - - - - | | | | | | | | | +----- day of week (0-6) (Sunday=0) | | | +------- month (1-12) | | +--------- day of month (1-31) | +----------- hour (0-23) +------------- minute (0-59)
Configure the Raspberry Pi a Static IP Address
- Raspberry IP: 192.168.0.123
- Router IP (Gateway): 192.168.0.254
- Subnet Mask: 255.255.255.0
cat /etc/network/interfaces |
auto lo
iface lo inet loopback
iface eth0 inet dhcp allow-hotplug wlan0
iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp |
sudo nano /etc/network/interfaces |
address 192.168.0.123
netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.254 |
auto lo iface lo inet loopback allow-hotplug wlan0 |
cat /etc/resolv.conf |
nameserver 192.168.0.254 |
sudo nano /etc/resolv.conf |
Changing the Screen Resolution for Raspberry Pi

tvservice -s |
vcgencmd get_config int |
tvservice -d dataFile #dump information to dataFile edidparser dataFile #load dataFile & display on screen |
Raspberry Pi: Running Midori browser without a Desktop

Midori is a lightweight browser using the WebKit rendering engine and it is a default browser that is found in Raspbian. This is a quick quide to start the Midori browser from the command line without a desktop manager.
Setup a Raspberry Pi PHP web server

- Raspberry pi running Raspbian OS
- SSH client such as PuTTy
- If you like to use GUI ( Graphical User Interface), WinSCP is preferred
- Netscanner software for IP address searching
Resizing SD card partitions for Raspberry Pi
If you download the Raspbian image from Raspberry Pi official homepage and write it to the SD card, the SD card partition is fixed to 2GB, meaning that only 2GB is accessible no matter how big your SD card are. You must manually re-size the SD card partition in order to increase the available storage capacity.
Backing Up Raspberry Pi SD card
- Insert SD card to computer
- Launch Win32 Disk Imager
- Select Device (source) which you want to backup from
- Under Image File, give it a file name as shown in figure below

- Click Read button to start backing up
- As shown in figure below, the image file size is equivalent to the size of SD card since I had resized the partition of my SD card
