Sean McManus - Raspberry Pi For Dummies

Здесь есть возможность читать онлайн «Sean McManus - Raspberry Pi For Dummies» — ознакомительный отрывок электронной книги совершенно бесплатно, а после прочтения отрывка купить полную версию. В некоторых случаях можно слушать аудио, скачать через торрент в формате fb2 и присутствует краткое содержание. Жанр: unrecognised, на английском языке. Описание произведения, (предисловие) а так же отзывы посетителей доступны на портале библиотеки ЛибКат.

Raspberry Pi For Dummies: краткое содержание, описание и аннотация

Предлагаем к чтению аннотацию, описание, краткое содержание или предисловие (зависит от того, что написал сам автор книги «Raspberry Pi For Dummies»). Если вы не нашли необходимую информацию о книге — напишите в комментариях, мы постараемся отыскать её.

A recipe for having fun and getting things done with the Raspberry Pi  The Raspberry Pi makes it easy to learn about computers and computer programming, and Raspberry Pi For Dummies makes it even easier! Using this extremely affordable and compact computer, you can learn to code in languages like Scratch and Python, explore how electronics work, create computer-generated buildings in Minecraft and music in Sonic Pic, become Linux-savvy, make Internet-of-Things devices, or just play around! This book gets you up and running on your Raspberry Pi, starting with setting it up, downloading the operating system, and using the desktop environment. Then, the only limit is your imagination! It doesn’t matter whether you have a Raspberry Pi 4, Raspberry Pi 400, Raspberry Pi Zero W or an older model: we’ve got you covered. 
Raspberry Pi For Dummies explores the latest technology—the Raspberry Pi 4 and 400, Scratch 3 programming language, new games bundled with the Raspberry Pi, and the hottest Add-Ons out there. This introductory guide is the perfect place to start if you want to get a taste of everything the Raspberry Pi can do! 
Set up your Raspberry Pi, install the operating system, and connect to the Internet Learn the basics of the Linux desktop and Linux shell so you can program, work, and play Use Python, Scratch, and Sonic Pi to write your first programs and make games and digital music Discover how circuits work hand-in-hand with your Pi If you want to make the most of the Raspberry Pi for school, work, or play, you’ll love this easy-to-read reference.

Raspberry Pi For Dummies — читать онлайн ознакомительный отрывок

Ниже представлен текст книги, разбитый по страницам. Система сохранения места последней прочитанной страницы, позволяет с удобством читать онлайн бесплатно книгу «Raspberry Pi For Dummies», без необходимости каждый раз заново искать на чём Вы остановились. Поставьте закладку, и сможете в любой момент перейти на страницу, на которой закончили чтение.

Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

LibreOffice: This popular suite of productivity applications includes word processing, spreadsheets, and presentations. See Chapter 6for a guide to getting started with them, and you can find them in the Office section of the Applications menu.

Mathematica: Mathematica, which is based on the Wolfram programming language, is used for scientific and technical computing. There’s a short introduction to Mathematica in Chapter 19. Mathematica is in the Programming section of the Applications menu.

Minecraft Pi: This is the Raspberry Pi version of the world-building game Minecraft, which you can program using Python, as you see in Chapter 13. Minecraft is in the Games section of the Applications menu.

Python games: These games, created by Al Sweigart, are demonstrations of Python, but they also provide entertainment. In the “ Playing the Games” section, later in this chapter, we show you how to play them.

Scratch: This is a simple programming language, approachable for people of all ages, which can be used to create games and animations and to manage electronics projects. Chapters 9and 10introduce you to Scratch and show you how to make your own game. Find Scratch in the Programming section of the Applications menu.

Sense HAT emulator: The Sense HAT is a hardware add-on for the Raspberry Pi that you can use for creating experiments and other projects based on its built-in sensors. See Chapter 15for more information on it. This emulator is also in the Programming section of the Applications menu.

Shutdown: When you’ve finished using the Raspberry Pi, use this icon to switch it off before you remove the power. There are also options here to log out and restart (reboot) your Pi. This is a top-level option in the Applications menu.

Sonic Pi: This is a programming language for creating music. See Chapter 14for a guide to making your own tunes with it. You can find Sonic Pi in the Programming section of the Applications menu.

Terminal: Terminal opens a window you can use to issue instructions from a command line (see Chapter 5). You can find the terminal in the Accessories section of the Applications menu, and there is also a button on the taskbar to go straight to the terminal.

Thonny Python IDE: Thonny enables you to create and run programs in the Python programming language. See Chapters 11and 12for advice on getting started with Python. Find Thonny under Programming in the Applications menu.

Wolfram: This is a programming language that aims to incorporate knowledge into it so that programmers can get results more quickly. You can find out more about it at www.wolfram.com/language . Wolfram is filed under Programming in the Applications menu.

Raspberry Pi For Dummies - изображение 58The top-left corner of the screen also includes some buttons (refer to Figure 4-2) that you can use to gain quick access to (from left to right) the web browser, File Manager, and Terminal.

Running applications that are not on the menu

Some applications will install but won’t appear on the Applications menu. In that case, you can run them using the Run option on the menu. Here’s how:

1 Click the icon in the top left of the desktop to open the Applications menu.

2 Select the menu’s Run option.

3 In the Run dialog box that appears, type the name of the application and press Enter. You might prefer to try running the application using the command line interface (the shell), so you can see any error messages. See Chapter 5for advice on using the shell. To run an application from the shell, type in its name.

Resizing and closing application windows

You’ll probably want to use more than one application in a desktop session, so you need to know how to close applications when you’ve finished with them and how to rearrange windows on the screen.

The application windows have controls similar to the ones in Microsoft Windows that enable you to resize and close them. Figure 4-3 shows the Task Manager application, with these controls in the top right:

X button: Closes the window.

Maximize button: Enlarges the application window so that it fills the screen. After you click this button, you can click the new button that appears in its place to return the window to its original size (just like in Windows).

Minimize button: Hides the application from view but doesn’t stop it from running. You can return to the application by clicking its name on the taskbar at the top of the screen.

LXTask written by Hong Jen Yee Jan Dlabal derived from Xfce4 Task Manager - фото 59

LXTask, written by Hong Jen Yee, Jan Dlabal; derived from Xfce4 Task Manager, by Johannes Zellner

FIGURE 4-3:The Task Manager.

It’s easy to change the size of windows — so that you can see more than one at a time, for example. Move the mouse cursor to one of the edges until the Mouse icon changes, and you can click and drag it inward or outward to reshape the window. You can also click and drag a corner to change the window’s height and width at the same time. To reposition windows on the screen, click and drag the title bars at the top of them to move them. For example, you can arrange two windows side by side.

Using the Task Manager

You can see which applications are running on your Raspberry Pi by running the Task Manager (refer to Figure 4-3). You can find it on the Applications menu in the Accessories folder, but you can also go straight to it by holding down the Shift and Ctrl keys and pressing Esc.

If you have an application that is not responding, you can stop it by using the Task Manager. To terminate the application, right-click it in the task list and choose Term from the menu that appears. This sends a request to the application and gives it a chance to shut down safely, closing any files or other applications it uses. Alternatively, you can choose Kill. It terminates the application immediately, with the possible loss of data. We recommend you try using Term first, and then try Kill if Term doesn’t work.

Raspberry Pi For Dummies - изображение 60You should use the Task Manager to close applications only as a last resort. Most of the tasks you see in the Task Manager are system tasks, which need to be running for the desktop to work properly. Avoid closing applications you don’t recognize — that might crash the desktop and result in losing data in any open applications.

Using File Manager

You can manage your files using the command line (see Chapter 5), but it’s often easier to do it in the desktop. File Manager (see Figure 4-4) is used to browse, copy, delete, rename, and otherwise manage the files on your Raspberry Pi or connected storage devices.

LXDE File Manager written by Hong Jen Yee Raspberry Pi Foundation FIGURE - фото 61

LXDE File Manager, written by Hong Jen Yee / Raspberry Pi Foundation

FIGURE 4-4:The File Manager on the Raspberry Pi Desktop.

You start File Manager by either clicking its button at the top left of the desktop or using the Applications menu, where it is among the Accessories.

In Linux, people usually talk of storing files in directories, but the Raspberry Pi Desktop uses the term folders instead, which is probably familiar to you from other computers you’ve used. A folder is just a way of grouping a collection of files or applications and giving that collection a name. You can put folders inside other folders too.

Читать дальше
Тёмная тема
Сбросить

Интервал:

Закладка:

Сделать

Похожие книги на «Raspberry Pi For Dummies»

Представляем Вашему вниманию похожие книги на «Raspberry Pi For Dummies» списком для выбора. Мы отобрали схожую по названию и смыслу литературу в надежде предоставить читателям больше вариантов отыскать новые, интересные, ещё непрочитанные произведения.


Отзывы о книге «Raspberry Pi For Dummies»

Обсуждение, отзывы о книге «Raspberry Pi For Dummies» и просто собственные мнения читателей. Оставьте ваши комментарии, напишите, что Вы думаете о произведении, его смысле или главных героях. Укажите что конкретно понравилось, а что нет, и почему Вы так считаете.

x