Firing up Firefox - Working with Ubuntu Workstation - Ubuntu Linux For Dummies (2007)

Ubuntu Linux For Dummies (2007)

Part III: Working with Ubuntu Workstation

Chapter 14. Firing up Firefox

In This Chapter

· Introducing Mozilla Firefox

· Discovering what you can do with Firefox

· Setting some preferences and installing plug-ins

Mozilla Firefox is the most advanced and powerful Web browser on the market today. Firefox has pioneered many technologies that other browsers are still trying to catch up with.

This chapter describes many, but not all, of Firefox's basic and advanced capabilities. It also explores how to use and configure Firefox.

If you'd like even more information on using Firefox, check out Firefox For Dummies, by Blake Ross (Wiley Publishing).

Introducing the Firefox Browser

The Internet was a sleepy, quite place back in the early 1990s. Nothing much was going on in that placid place. Nerds and engineers used it to communicate using a fairly novel system called electronic mail, and some file sharing took place. You could also communicate with like-minded individuals using things called bulletin boards and news.

Then something earth-shattering took place. Tim Berners-Lee took a concept he originated back in the 1980s and designed a thing called HyperText Markup Language (HTML). A client and server system was devised to use the protocol, and soon it was possible to view text and, most importantly, graphics from any computer that wanted to provide such a service. The World Wide Web (WWW) was born.

One of the first browsers to find commercial success was the Netscape Navigator browser. Netscape provided its browser free of charge but soon spun off an open source version called Mozilla. Mozilla grew and grew like a monster and became the monster we know as Mozilla Firefox. Firefox is the Linux browser of choice and is distributed with Ubuntu.

Mosaic was one of the original Web browsers. Netscape's internal name for its Navigator browser was Mozilla. The name Mozilla was — in typical technogeekology — a contraction of Mosaic Killer. Killer became killa, and you could make the two into Mos-illa or Mozilla; it didn't hurt that Mozilla sounded like Godzilla. You gotta love technology!

Chapter 14. Firing up Firefox

In This Chapter

· Introducing Mozilla Firefox

· Discovering what you can do with Firefox

· Setting some preferences and installing plug-ins

Mozilla Firefox is the most advanced and powerful Web browser on the market today. Firefox has pioneered many technologies that other browsers are still trying to catch up with.

This chapter describes many, but not all, of Firefox's basic and advanced capabilities. It also explores how to use and configure Firefox.

If you'd like even more information on using Firefox, check out Firefox For Dummies, by Blake Ross (Wiley Publishing).

Introducing the Firefox Browser

The Internet was a sleepy, quite place back in the early 1990s. Nothing much was going on in that placid place. Nerds and engineers used it to communicate using a fairly novel system called electronic mail, and some file sharing took place. You could also communicate with like-minded individuals using things called bulletin boards and news.

Then something earth-shattering took place. Tim Berners-Lee took a concept he originated back in the 1980s and designed a thing called HyperText Markup Language (HTML). A client and server system was devised to use the protocol, and soon it was possible to view text and, most importantly, graphics from any computer that wanted to provide such a service. The World Wide Web (WWW) was born.

One of the first browsers to find commercial success was the Netscape Navigator browser. Netscape provided its browser free of charge but soon spun off an open source version called Mozilla. Mozilla grew and grew like a monster and became the monster we know as Mozilla Firefox. Firefox is the Linux browser of choice and is distributed with Ubuntu.

Mosaic was one of the original Web browsers. Netscape's internal name for its Navigator browser was Mozilla. The name Mozilla was — in typical technogeekology — a contraction of Mosaic Killer. Killer became killa, and you could make the two into Mos-illa or Mozilla; it didn't hurt that Mozilla sounded like Godzilla. You gotta love technology!

Using Firefox

Firefox is the most advanced browser available today. Other browsers are trying to catch up with the numerous features it offers. Some of the most usable and interesting features that Firefox offers are

· Pop-up blocking: Blocks those annoying, maddening, advertisement windows that pop up all the time. Yuck! You can configure Firefox to allow pop-ups on a site-by-site basis. Hasta la vista, pop-ups!

· Anti-spyware: Firefox never downloads and installs or executes programs without asking you first.

Spyware is currently much more of a Windows problem than a Linux problem, but that will change as Linux becomes more popular.

· Clearing data: This simple but effective option lets you have Firefox remove and clear items such as cookies, cache files, and browsing history. (See the "Clearing private data" section later in the chapter for instructions.)

· Tabbed browsing: Opens a new pane within your existing window for every new Web site you visit. Other browsers need to open an entirely new browser window for every Web site visited.

· Automatic updates: Automatically looks for updates to itself. It downloads and installs security updates as necessary.

· Encrypting passwords: Firefox and other browsers offer the convenience of saving passwords for you. However, unlike other browsers, Firefox can encrypt your passwords, protecting them from hackers.

· And much, much more: Yes, and that's not all, you get much, much more.

Firefox is easy to use. Click the blue globe icon on the top menu bar, and Firefox opens, displaying the Ubuntu home page, as shown in Figure 14-1 . From there, you can browse the Web using its many advanced features, described in this chapter.

Figure 14-1: Surf the Web with Firefox.

The Ubuntu home page is actually a file on your Ubuntu computer that displays information about Ubuntu. A file is used in case you don't have an Internet connection.

Firefox consists of the following elements:

· Menu bar: Provides access to familiar options, such as File, Edit, View and other functions. Table 14-1 shows the Firefox menu bar options.

Table 14-1: Firefox Menu Options

Name

Function

File

Opens new windows and tabs. You can also find options to open new Web pages, as well as e-mail and print them.

Edit

Copy, cut, and paste text. Undo and redo changes. Find text in Web pages and open the Firefox Preferences dialog.

View

Display or hide toolbars.

Go

Firefox stores recently viewed Web pages, which you can access from this menu.

Bookmarks

Bookmarks conveniently save Web page addresses that you like to visit.

Tools

Firefox is highly configurable. Use this menu to access configuration options.

Help

Seek help! This menu gives you the help you need in the form of locally stored and online Firefox documentation.

·

· Display pane: This is the main body of Firefox, where you view a Web page.

· Toolbars: Group common information or capabilities in an easy-to-see-and-use location. Firefox provides the following toolbars:

· Navigation: Use this toolbar to navigate (surf) the Internet. It includes the Location text box, which is the long, horizontal text box where you type Web addresses and then press the Enter key to view. This toolbar also includes a Web search (Google, by default) text box that you can type queries into. You'll also find shortcut icons for your home page, printing, and so on.

· Personal Toolbar Folder: You can save bookmarks in the Bookmarks menu folder, found near the top, center area of the Firefox window, or in the Personal Toolbar Folder.

· Status: Displays information such as the progress of a loading Web page at the bottom of the browser window.

Configuring Firefox

This section describes how to configure some of Firefox's popular functions. I describe how to select a home page, block annoying pop-up advertisements, and encrypt saved passwords. I also show how to install popular plug-ins such as Java and Shockwave Flash.

Selecting a home page

Firefox automatically displays your home page when started. To select a home page, start by choosing EditPreferences. Figure 14-1 shows the Firefox Preferences dialog that opens. The initial home page is set in the Home Page text box to the Ubuntu introduction file.

Figure 14-1: Firefox Preferences dialog.

Change Firefox's home page to any place you want using the following methods:

· Manually: Type the Universal Resource Locater (URL) in the Home Page text box.

A URL is the familiar Web page address, such as www.wiley.com.

· Use Current Page: You can first browse to the location and then open the Firefox Preferences dialog. From the Preferences dialog, click the Use Current Page button, which is just below the Home Page text box, and the home page is set to the current location.

· Use Bookmark: Click the Use Bookmarks button, immediately to the right of the Use Current Page button. The Set Home Page dialog opens, and you can select a Web page pointed to by a bookmark to be your home page.

Clicking the Home button — looks like a home — near the top-left side of the Firefox window sends you to the designated home page. Going home has never been so easy.

Blocking pop-ups

Firefox blocks pop-ups by default. Whenever you visit a pop-up-infested Web site, Firefox blocks the annoyance and displays a menu bar, near the top of the Firefox window, telling you of its good deed.

When Firefox blocks a pop-up, it displays a Preferences button in the menu bar that also opens. Click the Preferences button if you want to allow pop-ups from the Web site. Select the Allow Pop-ups option.

You can also fine-tune the pop-up blocking configuration as follows:

1. Choose EditPreferences from the Firefox menu bar.

The Firefox Preferences dialog opens.

2. Select the Content tab.

3. Click the Exceptions button to the far right of the Block Pop-Up Windows check box.

The Allowed Sites - Popups dialog opens.

4. Type the Web site URL in the Address of Web Site text box.

Updating Firefox

Application software changes all the time. Applications such as Firefox are constantly improved, bugs are fixed, and nothing stands still for long. The Firefox developers realized this and added a simple but amazingly effective tool to their system — an automatic update system.

Mozilla Firefox can update itself whenever security-related updates become available. The browser checks in with the mothership and looks for updates. Firefox downloads and installs updates as they occur. You don't have to worry about using an outdated version of Firefox.

However, Ubuntu disables Firefox's ability to update itself because Ubuntu wants to do the job. Ubuntu takes care of updating all software that it runs, and Firefox is no exception. Rather than allowing the software update job to be handled by individual applications, Ubuntu wants to be sure it performs the update process uniformly.

Encrypting passwords

Many Web sites require you to authenticate yourself before allowing you access. Browsers can save passwords for you, but at the risk of storing them unprotected on your computer. Unprotected passwords can be stolen by hackers, and that isn't good.

Firefox has pioneered the practice of letting you protect your passwords by encrypting them. But Firefox doesn't encrypt passwords by default; you have to tell it to do so. Here's how:

1. Choose EditPreferences from the Firefox menu bar.

The Firefox Preferences dialog (Figure 14-1 ) opens.

2. Click the Security tab.

3. Select the Use Master Password check box.

The Change Master Password dialog, shown in Figure 14-1 , opens.

Figure 14-1: Configure Firefox to encrypt passwords.

· Type your password in the Enter New Password text box.

· Retype your password in the Re-Enter Password text box.

The Password Quality Meter shows how difficult your password is to crack (decrypt) by a hacker. Using simple words and phrases for a password registers a lower quality than using passwords with numbers and special characters. The longer, the better, too. Use the meter to find the balance between passwords that are easy to remember and passwords that are difficult to crack. The quality meter shows a horizontal bar that moves to the right as the password becomes more complex — better.

· Click the Cancel button.

Firefox now protects all of your passwords by encrypting them. From now on, you're asked to enter the master password before Firefox lets you use your stored passwords. This feature greatly increases your security.

Clearing private data

Web browsing is a complicated process. A lot goes on behind the scenes while you're surfing 'da net. A consequence of the complexity is that browsers store information that can potentially be used against you if your computer is ever hacked.

Once again, Firefox has pioneered a simple but effective tool for protecting your data. You can configure Firefox to delete some or all of the data it stores — behind the scenes — when you exit. Follow these steps:

1. Choose EditPreferences from the Firefox menu bar.

The Firefox Preferences dialog opens.

2. Click the Privacy tab.

3. Select the Always Clear Private Data When I Close Firefox check box.

4. Click the Settings button.

The Clear Private Data dialog opens. (See Figure 14-1 .)

Figure 14-1: Tell Firefox how you'd like it to clear private data.

· Select the Cookies check box.

You can select any combination of options, depending on your needs and preferences. I suggest using the defaults and adding Cookies but not Saved Passwords.

· Click OK.

Control returns to the Preferences dialog.

· Click the Close button.

Your private data is erased.

Adding multimedia plug-ins

Multimedia makes the world go 'round. The Web browsing experience is greatly enhanced by audio, video, and other capabilities.

Most of the capabilities that we take for granted aren't actually part of the Web browser itself. Web browsers use add-ons to provide extra functions. This section shows how to add add-ons to Firefox. Follow these steps:

1. Type addons.mozilla.org in the Firefox Location text box.

2. Click the Plugins link.

You see a listing of numerous plug-ins. The following sections describe how to install several of the popular plug-ins listed on the Web page.

You can see which Firefox plug-ins are installed by typing about:plugins in the Location text box.

Installing the Flash Player plug-in

Flash Player allows Web sites to provide animation within their content. Download and unpack the Flash Player plug-in as follows:

1. Using the steps in the preceding section, find the Flash Player section and click Version 7 under the For Linux heading.

Another Web page opens, describing how to download and install Flash Player.

You find the Version 7 button in the Flash Player section. The version number might change after this book is published, so select the latest version, if necessary.

2. Click the Download Now button.

The Opening Install_Flash_Player_7_Linux.tar.gz dialog opens.

3. Click OK.

4. Click the Extract button.

The Extract dialog opens.

5. Click the Extract button.

Control returns to the Install_Flash_Player_7_Linux.tar.gz dialog.

6. Close the dialog.

Next, you have to copy the Flash Player plug-in files to a place where Firefox can find them.

1. Open a Terminal window by choosing SystemAccessoriesTerminal from the GNOME menu bar.

A Terminal Emulator window opens.

See Chapter 5 for information about using Terminal Emulators.

2. Type the following command and press the Enter key:

3. sudo cp /tmp/install_flash_player*/*so /usr/lib/firefox/plugins

sudo cp /tmp/install_flash_player*/*xpt /usr/lib/firefox/plugins

This copies the plug-in files to the Firefox plug-in (/usr/lib/firefox/plugins) directory.

Your plug-in is now ready to be used.

You can test your Flash Player plug-in by browsing the www.adobe.com/shockwave/welcome Web page.

Installing the Java plug-in

Java is widely used on the Internet to allow people to interact with Web sites. Download and unpack the Java plug-in as follows:

1. Using the steps in the "Adding multimedia plug-ins" section a little earlier in this chapter, find the Java section on the Web site and click Latest Version under the For Linux heading.

A Web page opens, telling you that you can download Java for free.

2. Click the Download Now button.

3. Click the Linux (Self-Extracting File) option and click the Download Now button.

The Opening jre-current-version-linux-i586.Bin Z dialog opens. The version of the Java download changes frequently, so I don't mention the specific version here to avoid confusion.

4. Click OK.

The Downloads dialog opens and displays the progress of the download.

5. Click Clean Up and then close the window.

Now you need to execute the Java installation script. Follow these steps:

1. Open a Terminal window by choosing SystemAccessoriesTerminal from the GNOME menu bar.

A Terminal Emulator window opens.

See Chapter 5 for information about using Terminal Emulators.

2. Type the following command and press the Enter key:

chmod +x jre*bin

3. Type the following command and press the Enter key:

sudo jre*bin

The Sun Microsystem Java license is displayed.

4. Press the spacebar to read the entire license.

5. Type yes and press the Enter key if you agree to the license.

Java is installed for you.

6. Type your user account password when prompted.

This copies the plug-in files to the Firefox plug-in (/usr/lib/firefox/plugins) directory.

Your plug-in is now ready to be used.

You can test your Java installation by browsing the www.javatester.org/enabled.html Web page.

Installing the RealPlayer plug-in

I'll tell you how to install one more useful plug-in. You can listen to and view streamed (content that you don't have to download) audio-visual content using the freely available RealPlayer plug-in. Follow these steps:

1. Using the steps in the "Adding multimedia plug-ins" section earlier in this chapter, find the RealPlayer section on the Web site and click Version 10 under the For Linux heading.

You jump to the Real, Inc., download Web page.

2. Click the Download RealPlayer button.

The Opening RealPlayer10GOLD.Bin dialog opens.

The version number might be different by the time you read this.

3. Click the OK button.

The Downloads dialog opens and displays the progress of the download.

4. Click Clean Up and then close the window.

Now you need to execute the RealPlayer installation script. Follow these steps:

1. Open a Terminal window by choosing SystemAccessoriesTerminal from the GNOME menu bar.

A Terminal Emulator window opens.

See Chapter 5 for information about using Terminal Emulators.

2. Type the following command and press the Enter key:

chmod +x RealPlayer*bin

3. Type the following command and press the Enter key:

sudo RealPlayer*bin

4. Type your user account password when prompted.

The files are extracted, and you're prompted to continue.

5. Press the Enter key to accept the RealPlayer installation defaults every time you're prompted.

RealPlayer installs.

You need to tell Ubuntu to use RealPlayer when it encounters multimedia encoded as RealAudio or RealVideo. Follow these steps:

1. Open http://service.real.com/test/ in Firefox.

2. Click any RealVideo or RealAudio links.

The Opening dialog appears.

3. From the Open With drop-down menu, choose Other.

The Choose Helper Application dialog opens in your home directory. RealPlayer was just installed into your home directory, which makes it easy to select.

4. Double-click the RealPlayer folder.

5. Scroll down and select the realplay file.

6. Click Open.

Control returns to the Opening dialog.

7. Select the Do This Automatically for Files Like This One from Now On check box.

Selecting this option makes Firefox use RealPlayer by default for RealAudio and RealVideo files.

8. Click OK.

A RealPlayer window opens and plays the audio or video clip you selected.

RealPlayer can play many familiar formats. For instance, it can play MP3 files.

Adding Themes to Firefox

You can add a theme to the browser to beautify its look and feel. Follow these steps:

1. Browse to addons.mozilla.org.

2. Click the Themes link.

3. Select any theme listed.

For instance, select Firefox Vista under the Popular Themes heading.

4. Click the Install Now button.

The Confirm dialog opens.

5. Click OK.

The Themes dialog opens and displays the installation process progression.

6. Select the theme you just added.

The Use Theme button activates at the bottom of the dialog.

7. Click the Use Theme button.

8. Close the Themes dialog window.

9. Restart Firefox and it uses the new theme.

When you restart Firefox, you notice that the menu system, icons, and even the borders look different. That's the new theme you installed. You can change back to the original or any other theme you have installed by choosing ToolsThemes from the Firefox menu bar and using the Themes dialog to change themes.





All materials on the site are licensed Creative Commons Attribution-Sharealike 3.0 Unported CC BY-SA 3.0 & GNU Free Documentation License (GFDL)

If you are the copyright holder of any material contained on our site and intend to remove it, please contact our site administrator for approval.

© 2016-2024 All site design rights belong to S.Y.A.