Читать книгу Raspberry Pi Projects For Dummies - Evans Jonathan - Страница 14
Part I
Getting Started with Raspberry Pi Projects
Chapter 1
Getting to Know the Raspberry Pi
Starting Up the Desktop Environment
ОглавлениеWhen you’ve finished configuring your Raspberry Pi with Raspi-config, you’re ready to start up. After you switch on your power, you may have to enter your username and password, depending on your settings. For Raspbian Wheezy, the username is pi and the password is raspberry. Make sure you type these in lowercase.
After you log in, you’ll see the command prompt:
pi@raspberrypi ~ $
This means you’re up and running and you’ve logged into the operating system. Give yourself a cheer!
It doesn’t like the graphical operating system you’re used to with a desktop computer, but the command line is the direct connection to your Raspberry Pi’s capabilities. You can execute all the main system commands and even do programming using only the command line interface. In a sense, the graphical environment is just a way of prettying up the command line and make it easier to use.
To get pretty, you launch the GUI, LXDE, by entering its startup command on the command line. To fire it up, type startx. It will take a moment or two to start up, and the screen will go blank for a bit. After startup, you should see the LXDE and a lovely red raspberry logo on the desktop wallpaper, as shown in Figure 1-6.
Figure 1-6: Starting up the desktop environment.
When you’ve got the desktop working, you can move on to learning about the programming tools in Chapter 3 or dive straight into the projects, if you’re familiar with programming.
We recommend you peruse through Chapter 2 to make sure your workbench is set up for building the projects in this book. You’ll need a few tools to get going on many of them, and it’s a good idea to set up your workspace before you begin.