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 The GUI You can use the raspbian preferences via the GUI to cause the pi user to be auto logged in at boot up and the GUI automatically run.  However if you need to run with root privileges due […]

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 An easy way to achieve this is to install xscreensaver then configure it to disable, but note this wont work (in our experience) if you run the GUI as root (sudo startx) sudo apt-get install xscreensaver Then in the GUI go to Preferences > Screensaver > Select disable screen saver from the […]

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

Auto Running Programs-Command Line

Auto running applications in the GUI See here Auto running terminal applications (non GUI) First ensure your program is executable by finding it in the file manager.  Right click on the file and select properties.  Select the permissions tab, check the ‘Make the file executable’ box and press OK.  Or from the command line use: sudo chmod […]

Read More