Windows viewing of SD card

Storing a file on the SD card via Windows Windows can't see the main Linux partition but it can see the boot partition.  If you want you can store a file here, say a text file for instance, indicating to yourself what a card is, notes etc.  

Read More

Password and Users

Changing The Current Users Password At the command line type: passwd Do not type "sudo pi" as this will change the password for root not the current user! Changing Username There's no simple way to do this, the best option is often to create a new user and then copy everything over.

Read More

Auto Running Programs-GUI

Screensaver If you need to disable the screen saver / screen auto switch off see here. Auto-running a Python file within a terminal window Edit the X Windows autostart file: Add the following line to the end: So you end up with something like this: That’s it, reboot and you should see a terminal window […]

Read More

Raspbian Versions

Full version vs Lite Version The Lite version is stripped down to create a smaller image (needed for the compute module fixed 4GB flash memory for instance) and doesn't include the GUI (command line use only). Jessie vs Wheezy Official posts about the change Jessie Is Here Main Changes Raspbian has been updated to the new stable version […]

Read More

Monitor Resolution

  By default the OS will attempt to pick the most suitable resolution for a connected HDMI monitor. You can also select a setting yourself Viewing Resolutions Supported By Your Monitor tvservice -d edid edidparser edid Editing The Config File sudo nano /boot/config.txt If hdmi_mode and hdmi_group are commented out (# character at the start […]

Read More

Configuration Tool

Launching the Configuration Tool sudo raspi-config   Closing X windows after it auto started You can use CTRL + ALT + F1 Performance Tuning If you are not using the HDMI out and want maximum performance from the RPi because you are using memory intensive processes such as Apache, MySQL, etc then it is sensible […]

Read More

.New Raspbian Installation

Install the OS from an image file If you don't want to use the NOOBS install (its slower to install and adds a delay on powerup with its restore prompt screen) see the Win32 Disk Imager instructions here. When running for the first time use the automatically run config tool option to expand the file system to […]

Read More

Custom boot up screen

Displaying an image during boot instead of the default command line scrolling text This is based on the guide here.  This solution works but there are a few seconds of text shown before the boot image appears. Install fbi sudo apt-get install fbi Copy the splashscreen image to be used Copy your custom splash image […]

Read More

Screensaver

Turning off the screen saver – Easy way An easy way to achieve this is to install xscreensaver then configure it to disable (its also the Raspberry Pi recommended way) Then in the GUI go to Preferences > Screensaver > Display Modes > Select disable screen saver from the dropdown. Turning off the console screen saver – […]

Read More

Scripts

Auto running a script Create the script Create a folder to store the script in mkdir ./bin cd ./bin Create the script using the nano text editor sudo nano script_auto_run In the nano editor, type this script: #!/bin/bash # Script to start our application echo "Doing autorun script…" sudo /home/pi/projects/my_project.a &   Replace "sudo /home/pi/projects/my_project.a […]

Read More