The following hardware is used in this article:
The steps are described below.
The easiest way to install Raspbian is to download the New Out of Box Software (NOOBS) from the Raspberry PI download page.
After downloading NOOBS to your computers hard-drive you must extract or unzip all of the contents from the zipped NOOBS file folder and copy copy and paste ALL of the files and folders on to your SD card. See image below:
Plug the HDMI monitor, keyboard, mouse and SD card into the Raspberry PI board. Switch the monitor power on and connect the power supply to the Raspberry PI last.
The Raspberry PI will boot from the installed SD card and allow you to install the operating system of your choice – Highlight Raspbian and install.
NOOBS allows you to select your language and keyboard after booting from the SD card for the first time and before and during software installation.
After installation, the Raspberry PI will boot up into the Raspbian operating system and automatically run a configuration program that allows you to change some system settings.
If you need to change your language and keyboard settings in the configuration program, you will find them under Internationalization Options.
Change your language under Internationalization Options → Change Locale
Change your keyboard settings under Internationalization Options → Change Keyboard Layout
In the configuration program, select Internationalization Options and then Change Timezone.
Select the geographic area that you are located in and then the city or region in that area that best represents the time zone you will need.
The graphical user desktop environment (similar to a Windows 7 desktop) can be started from the command prompt after logging into Raspbian. Enter the following at the command prompt to start the graphical desktop: startx
You can also automatically boot into the graphical desktop by choosing Enable Boot to Desktop/Scratch in the configuration program (this is the most popular option).
There will usually be a black border around the contents of the screen. The border will most easily be seen when running the graphical desktop. Open up the Terminal window and type sudo rasp-config and adjust the overscan settings.
It is best not to use WiFi for this. Connect the Raspberry PI to the Internet through an Ethernet cable. At the command prompt enter the following command:
sudo apt-get update
sudo apt-get upgrade
You can enter this command from a terminal window when running the graphical desktop.
Now for something fun. The Raspberry PI is capable of playing 1080p HD video which, for this article we will do from the command prompt. A video can be played from the command prompt using the application omxplayer and is run by entering the following at the command prompt:
omxplayer <video name>
Where <video name> is the name of the video to play that must be in the current directory (or folder).
To automatically run a command line application after switching on the Raspberry PI, first configure the PI to login automatically. Modify the .bashrc file in your home directory/folder (default home directory is /home/pi).
The .bashrc file is a hidden file. In the file manager on the graphical desktop, make the hidden files visible by pressing:
Ctrl + H
You will now be able to see the .bashrc file and open and edit it.
Add a line to the bottom of the file that contains the application that you want to run as you would run it from the command line.
The video below shows how to automatically run a video after switching the Raspberry PI on.
After all the time you spent editing and tweaking your Raspberry Pi interface, it is probably a good idea to make a full copy of your SD card to save the settings.
The idea behind copying or cloning an SD card (using Linux or Windows) is to make an image file of the SD card on your computer’s hard drive. The image file of the SD card can then be used to make an exact copy of the original SD card onto as many new SD cards as you want.
Comments will be approved before showing up.
GET IN TOUCH