Название: Raspberry Pi For Dummies
Автор: Sean McManus
Издательство: John Wiley & Sons Limited
Жанр: Компьютерное Железо
isbn: 9781119796879
isbn:
code-the-classics
and python_games
folders contain the games that come with Raspberry Pi OS. After you've learned some Python, you could come back here to tinker with the code.
Browsing the Web with Chromium
Raspberry Pi OS includes the Chromium web browser, which has been optimized for the Raspberry Pi. You access it from the Globe icon in the top left of the screen (see Figure 4-2), or through the Internet part of the Applications menu.
Figure 4-7 shows the browser in use. Its layout is similar to other browsers you might have used in the past, with a thin toolbar at the top and most of the screen given over to the web page you’re viewing.
If you know the address of the website you want to visit, you can type it into the Address bar, as shown in Figure 4-7. When you start to type an address, a menu under the Address bar suggests pages you’ve previously visited that might match what you want. Click one of these to go straight to it, or carry on typing. When you’ve finished typing the address, press the Enter key.
You can scroll the page using the scroll bar on the right side of the browser or the scroll wheel on your mouse.
When the mouse pointer is over a link, the pointer changes to a small hand. You can then click the left mouse button to follow that link to another web page. The browser keeps a list of the web pages you visit (called your history), so you can click the Back button (refer to Figure 4-7) to retrace your steps and revisit the pages you browsed before the current one. The Forward button beside it takes you forward through your history again.
©2017 The Chromium Authors
FIGURE 4-7: The Chromium browser.
Some web pages update frequently with new information, so you can click the Reload button to download the current page again and see any updates since you first opened it. While a page is downloading, this button becomes a Stop button. Click it to halt the download.
Chromium includes an ad-blocker to strip advertising from the pages you visit. You can change the settings using the button shown in Figure 4-7.
Searching within web pages
To find a word or phrase within a web page, press Ctrl+F after the page has loaded. The Find bar opens at the top of the screen, with a box for you to type into. The first occurrence of the text you’re looking for is highlighted on the page in orange, and you can press the Enter key or click the Down button in the Find bar to move to the next one. You can close the Find bar again by clicking the Close button (an X) on the far right end of the Find bar or pressing the ESC key.
Using tabbed browsing
Like many other browsers today, Chromium uses tabs to enable you to switch between several websites you have open at the same time. Click the + button (refer to Figure 4-7) to add a new tab, which opens to show your most often visited websites. You can click to visit one of these or type an address on the Address bar.
To switch to a page, just click its tab above the main web page area. In Figure 4-7, Facebook and Sean’s website are open, and we can click the tabs to flick between those pages instantly. To close a tab, click the Close button to the right of its name.
If you hold down the Ctrl key while you click a link, the link opens in a new tab.
Adding and using bookmarks
Bookmarks make it easy to revisit your favorite web pages. You can add a bookmark by using the menu in the top right, using Ctrl+D, or clicking the star inside the Address bar on the right.
The window for adding a new bookmark looks like Figure 4-8. The default name for a bookmark is the web page’s title, but you can edit it. Folders can be used to organize your bookmarks so that they’re easier to use. The Folder menu includes an option to choose another folder. It enables you to create a new folder. You can also choose to store a bookmark in the Bookmarks Bar
folder. You can show the Bookmarks bar underneath the Address bar, giving you one-click access to your favorite websites at all times. To display the Bookmarks bar, click the button in the top right to open the Chromium menu, hover over Bookmarks, and then select Show Bookmarks Bar from the options that appear. There’s a keyboard shortcut too: Ctrl+Shift+B.
To add the bookmark, click the Done button (refer to Figure 4-8).
To access your bookmarks while you’re browsing, click the Menu button in the top right (refer to Figure 4-7) and choose Bookmarks. The bookmarks on the Bookmarks bar are shown on the menu that opens, and others can be found through the Bookmark manager on this menu. You can visit a website on the Bookmarks bar by displaying the bar (Ctrl+Shift+B) and clicking its entry on the bar, and there’s easy access to your other bookmarks on the right of this bar too, in the Other Bookmarks
folder.
To manage your bookmarks, go to the Bookmarks manager with Ctrl+Shift+O. Hover over a bookmark there, and click the menu button on the right of it to see options to edit or delete the bookmark.
©2017 The Chromium Authors
FIGURE 4-8: Adding a bookmark in Chromium.
If you sign in to your Google account while using Chromium on your Raspberry Pi, it can synchronize your bookmarks across your different devices.
One of the best Chromium features is the ability to create bookmarks for all open web pages, in their own folder. It's handy if you’re doing some research in different tabs to be able to store all the pages you’re looking at in one place. To do this, open the Chromium menu, hover over Bookmarks, and then select Bookmark All Tabs from the menu that appears. You can enter a new name for the folder, and then click Save.
Protecting your privacy
As you know, your browser stores the history of web pages you visit. If you want to make a visit to a website without any traces being left in the browser — perhaps to plan your Christmas shopping without the risk of other family members coming across the websites you’ve visited — open a new, incognito window first. You do this from the menu in the top right. When you close the private browsing window, your secret session stops.
When information has already been stored in the browser, you can delete it by opening the Chromium menu in the top right and clicking Settings. Click Privacy and Security on the left (if shown) or scroll down to Privacy and Security, and then click Clear Browsing Data. From the menu in the top right, you can also visit your browser history and delete any entries.
Sending СКАЧАТЬ