Getting Started With Ubuntu 14.04
Getting Started With Ubuntu 14.04
Getting Started With Ubuntu 14.04
cba
Getting Started with Ubuntu 14.04 can be downloaded for free from http://
ubuntu-manual.org/ or purchased from http://ubuntu-manual.org/buy/
gswu1404/en_US. A printed copy of this book can be ordered for the price
of printing and delivery. We permit and even encourage you to distribute a
copy of this book to colleagues, friends, family, and anyone else who might
be interested.
http://ubuntu-manual.org
Prologue 5
Welcome 5
Ubuntu Philosophy 5
A brief history of Ubuntu 6
Is Ubuntu right for you? 7
Contact details 8
About the team 8
Conventions used in this book 8
1 Installation 9
Getting Ubuntu 9
Trying out Ubuntu 10
Installing Ubuntu—Getting started 11
Finishing Installation 16
4 Hardware 75
Using your devices 75
Hardware identification 75
Displays 75
Connecting and using your printer 77
Sound 78
4 getting started with ubuntu 14.04
Using a webcam 79
Scanning text and images 80
Keyboard and mouse 80
Other devices 81
5 Software Management 83
Software management in Ubuntu 83
Using the Ubuntu Software Center 84
Managing additional software 87
Manual software installation 91
Updates and upgrades 92
6 Advanced Topics 95
Ubuntu for advanced users 95
Introduction to the terminal 95
Ubuntu file system structure 97
Securing Ubuntu 98
Why Ubuntu is safe 98
Basic security concepts 99
Users and groups 99
System updates 102
Firewall 102
Encryption 103
Running Windows Programs on Ubuntu 104
7 Troubleshooting 109
Resolving problems 109
Troubleshooting guide 109
Getting more help 114
A License 121
Creative Commons Attribution–ShareAlike 3.0 Legal Code 121
Creative Commons Notice 127
Glossary 129
Credits 133
Index 135
Prologue
Welcome
Ubuntu Philosophy
People sometimes wonder how to pronounce
The term “Ubuntu” is a traditional African concept originating from the Ubuntu. Each u is pronounced the same as in
the word put except for the last u which is
Bantu languages of southern Africa. It can be described as a way of con- pronounced the same as in the word due.
6 getting started with ubuntu 14.04
‣ Ubuntu will always be free of charge, along with its regular enterprise
releases and security updates.
‣ Ubuntu comes with full commercial support from Canonical and hun-
dreds of companies from across the world.
‣ Ubuntu provides the best translations and accessibility features that the
free software community has to offer.
‣ Ubuntu’s core applications are all free and open source. We want you to
use free and open source software, improve it, and pass it on.
What is Linux?
ble for allocating memory and processor time. It can also be thought of as
the program which manages any and all applications on the computer itself.
While modern graphical desktop environments have generally replaced
early command line interfaces, the command line can still be a quick and
efficient way of performing many tasks. See Chapter 6: Advanced Topics
for more information, and Chapter 2: The Ubuntu Desktop to learn more
about gnome and other desktop environments.
Linux was designed from the ground up with security and hardware
compatibility in mind, and is currently one of the most popular Unix-based
operating systems. One of the benefits of Linux is that it is incredibly flex-
ible and can be configured to run on almost any device—from the smallest
micro-computers and cellphones to the largest super-computers. Unix was
entirely command line-based until graphical user interfaces (guis) emerged
in 1973 (in comparison, Apple came out with Mac os ten years later, and
Microsoft released Windows 1.0 in 1985).
The early guis were difficult to configure, clunky, and generally only
used by seasoned computer programmers. In the past decade, however,
graphical user interfaces have grown in usability, reliability, and appear-
ance. Ubuntu is one of many different Linux distributions. To learn more about Linux distributions, see
Chapter 8: Learning More.
New users to Ubuntu may find that it takes some time to feel comfortable
when trying a new operating system. You will no doubt notice many sim-
ilarities to both Microsoft Windows and Apple os x as well as some differ-
ences. Users coming from Apple os x are more likely to notice similarities
due to the fact that both Apple os x and Ubuntu originated from Unix. The
Unity shell, which is the default in Ubuntu, is a completely new concept,
which needs some exploring to get used to it. See Chapter 2: The Ubuntu
Desktop for more information about the Unity shell.
Before you decide whether or not Ubuntu is right for you, we suggest
giving yourself some time to grow accustomed to the way things are done
in Ubuntu. You should expect to find that some things are different from
what you are used to. We also suggest taking the following into account:
for the largest market. Since Ubuntu’s market share is not as substantial
as Microsoft’s Windows or Apple’s os x, fewer game developers allocate
resources towards making their games compatible with Linux. If you See Chapter 5: Software Management to learn
just enjoy a game every now and then, there are many high quality more about Ubuntu Software Center.
games that can be easily installed through the Ubuntu Software Center.
There are also a lot of games available at http://store.steampowered.com/
browse/linux/.
Contact details
Many people have contributed their time to this project. If you notice any
errors or think we have left something out, feel free to contact us. We do
everything we can to make sure that this manual is up to date, informative,
and professional. Our contact details are as follows:
‣ Website: http://www.ubuntu-manual.org/
‣ Reader feedback: feedback@ubuntu-manual.org
‣ irc: #ubuntu-manual on irc.freenode.net
‣ Bug Reports: https://bugs.launchpad.net/ubuntu-manual/+filebug
‣ Mailing list: ubuntu-manual@lists.launchpad.net
Want to help?
We are always looking for talented people to work with, and due to the size
of the project we are fortunate to be able to cater to a wide range of skill
sets:
‣ Authors and editors
‣ Programmers (Python or TEX)
‣ User interface designers
‣ Icon and title page designers
‣ Event organizers and ideas people
‣ Testers
‣ Web designers and developers
‣ Translators and screenshotters
‣ Bug reporters and triagers
To find out how you can get started helping, please visit http://ubuntu-
manual.org/getinvolved.
Before you can get started with Ubuntu, you will need to obtain a copy of Many companies (such as Dell and System76)
the Ubuntu installation image for dvd or usb. Some options for doing this sell computers with Ubuntu preinstalled. If
you already have Ubuntu installed on your
are outlined below. computer, feel free to skip to Chapter 2: The
Ubuntu Desktop.
If you are unsure whether it will work on your computer, the Live dvd is a
great way to test things out first. Below is a list of hardware specifications
that your computer should meet as a minimum requirement.
Downloading Ubuntu
The easiest and most common method for getting Ubuntu is to download
the Ubuntu dvd image directly from http://www.ubuntu.com/download.
Choose how you will install Ubuntu:
For the Download and install, or Try it from a dvd or usb stick options, select
whether you require the 32-bit or 64-bit version (32-bit is recommended for
most users), then click “Start download.”
Ubuntu and its derivatives are available in two versions: 32-bit and 64-bit.
This difference refers to the way computers process information. Comput- 32-bit and 64-bit are types of processor
ers capable of running 64-bit software are able to process more information architectures. Most new desktop computers
have a 64-bit capable processor.
than computers running 32-bit software; however, 64-bit systems require
more memory in order to do this. Nevertheless, these computers gain per-
formance enhancements by running 64-bit software.
If your computer has a 64-bit processor, select the “64-bit” option before
you click “Start download.”
10 getting started with ubuntu 14.04
When a new version of Ubuntu is released, the download servers can get Torrents are a way of sharing files and informa-
“clogged” as large numbers of people try to download or upgrade Ubuntu tion around the Internet via peer-to-peer file
sharing. A file with the .torrent extension is
at the same time. If you are familiar with using torrents, you can download made available to users, which is then opened
the torrent file by clicking “Alternative downloads,” and then “BitTorrent with a compatible program such as uTorrent,
download.” Downloading via torrent may improve your download speed, Deluge, or Transmission. These programs
download parts of the file from other people all
and will also help to spread Ubuntu to other users worldwide. around the world.
Once your download is complete, you will be left with a file called ubuntu- While the 64-bit version of Ubuntu is referred
14.04-desktop-i386.iso or similar (i386 here in the filename refers to the 32-bit to as the “AMD64” version, it will work on Intel,
AMD, and other compatible 64-bit processors.
version. If you downloaded the 64-bit version, the filename contains amd64
instead). This file is a dvd image—a snapshot of the contents of a dvd—
which you will need to burn to a dvd.
If your pc is able to boot from a usb stick, you may prefer to use a usb
memory stick instead of burning a dvd. Scroll down to “Burn your dvd
or create a usb drive,” select dvd or usb stick, choose the os you are using
to create the usb drive, and then click Show me how. If you select the “usb
Stick” option, your installation will be running from the usb memory stick.
In this case, references to Live dvd, will refer to the usb memory stick.
The Ubuntu dvd and usb stick function not only as installation media, but
also allow you to test Ubuntu without making any permanent changes to
your computer by running the entire operating system from the dvd or usb
stick.
Your computer reads information from a dvd at a much slower speed In some cases, your computer will not recognize
than it can read information off of a hard drive. Running Ubuntu from that the Ubuntu DVD or USB is present as it
starts up and will start your existing operating
the Live dvd also occupies a large portion of your computer’s memory, system instead. To run Ubuntu from the Live
which would usually be available for applications to access when Ubuntu is DVD or USB, we want the computer to look
running from your hard drive. The Live dvd/usb experience will therefore for information from the Live DVD or USB
first. Changing your boot priority is usually
feel slightly slower than it does when Ubuntu is actually installed on your handled by BIOS settings; this is beyond the
computer. Running Ubuntu from the dvd/usb is a great way to test things scope of this guide. If you need assistance with
out and allows you to try the default applications, browse the Internet, and changing the boot priority, see your computer
manufacturer’s documentation for more
get a general feel for the operating system. It’s also useful for checking that information.
your computer hardware works properly in Ubuntu and that there are no
major compatibility issues.
To try out Ubuntu using the Live dvd/usb stick, insert the Ubuntu dvd
into your dvd drive, or connect the usb drive and restart your computer.
After your computer finds the Live dvd/usb stick, and a quick load-
ing screen, you will be presented with the “Welcome” screen. Using your
mouse, select your language from the list on the left, then click the button
labelled Try Ubuntu. Ubuntu will then start up, running directly from the
Live dvd/usb drive.
Once Ubuntu is up and running, you will see the default desktop. We
will talk more about how to actually use Ubuntu in Chapter 2: The Ubuntu
Desktop, but for now, feel free to test things out. Open some applications,
change settings and generally explore—any changes you make will not be
installation 11
saved once you exit, so you don’t need to worry about accidentally breaking
anything.
When you are finished exploring, restart your computer by clicking Alternatively, you can also use your mouse to
the “Power” button in the top right corner of your screen (a circle with double-click the “Install Ubuntu 14.04” icon that
is visible on the desktop when using the Live
a line through the top) and then select Restart. Follow the prompts that DVD. This will start the Ubuntu installer.
appear on screen, including removing the Live dvd and pressing Enter
when instructed, and then your computer will restart. As long as the Live
dvd is no longer in the drive, your computer will return to its original state
as though nothing ever happened!
At least 5 gb of free space on your hard drive is required in order to install Clicking on the underlined “release notes” link
Ubuntu. We recommend 15 gb or more. This will ensure that you will will open a web page containing any important
information regarding the current version of
have plenty of room to install extra applications later on, as well as store Ubuntu.
your own documents, music, and photos. To get started, place the Ubuntu
dvd in your dvd drive and restart your computer. Your computer should
load Ubuntu from the dvd. When you first start from the dvd, you will
be presented with a screen asking you whether you want to first try out
Ubuntu or install it. Select the language you want to view the installer
in and click on the Install Ubuntu button. This will start the installation
process.
If you have an Internet connection, the installer will ask you if you
would like to “Download updates while installing.” We recommend you
do so. The second option, “Install this third-party software,” includes the
Fluendo mp3 codec, and software required for some wireless hardware. If
you are not connected to the Internet, the installer will help you set up a
wireless connection.
The “Preparing to install Ubuntu” screen will also let you know if you
have enough disk space and if you are connected to a power source (in case
you are installing Ubuntu on a laptop running on battery). Once you have
selected your choices, click Continue.
12 getting started with ubuntu 14.04
Internet connection
If you are not connected to the Internet, the installer will ask you to choose
a wireless network (if available). We recommend that you connect to the
Internet during install, although updates and
1. Select Connect to this network, and then select your network from the third-party software can be installed after
installation completes.
list.
2. If the list does not appear immediately, wait until a triangle/arrow ap-
pears next to the network adapter, and then click the arrow to see the
available networks.
3. In the Password field, enter the network wep or wpa key (if necessary).
4. Click Connect to continue.
The Ubuntu installer will automatically detect any existing operating sys- If you are installing on a new machine with no
tem installed on your machine, and present installation options suitable for operating system, you will not get the first
option. The upgrade option is only available if
your system. The options listed below depend on your specific system and you are upgrading from a previous version of
may not all be available: Ubuntu.
For more complicated dual-booting setups, you will need to configure the parti-
tions manually.
This option will keep all of your Documents, music, pictures, and other
personal files. Installed software will be kept when possible (not all your
currently installed software may be supported on the new version). System-
wide settings will be cleared.
Use this option if you want to erase your entire disk. This will delete any
existing operating systems that are installed on that disk, such as Microsoft
Windows, and install Ubuntu in its place. This option is also useful if you
have an empty hard drive, as Ubuntu will automatically create the neces-
sary partitions for you.
After you have chosen the installation type, click Continue, or Install
Now.
If you chose Something else, configure the partitions as you need. Once
you are happy with the way the partitions are going to be set up, click the
Install Now button at the bottom right to move on.
To reduce the time required for installation, Ubuntu will continue the
installation process in the background while you configure important user
14 getting started with ubuntu 14.04
The next screen will display a world map. Using your mouse, click your
geographic location on the map to tell Ubuntu where you are. Alternatively,
you can type your location in the field below the map. This allows Ubuntu
to configure your system clock and other location-based features. Click
Continue when you are ready to move on.
Keyboard layout
Next, you need to tell Ubuntu what kind of keyboard you are using.
In most cases, you will find the suggested option satisfactory. If you are
unsure which keyboard option to select, you can click the Detect Keyboard
Layout button to have Ubuntu determine the correct choice by asking you
to press a series of keys. You can also manually choose your keyboard
layout from the list of options. If you like, enter text into the box at the
bottom of the window to ensure you are happy with your selection, then
click Continue.
installation 15
Ubuntu needs to know some information about you so it can set up the
primary user account on your computer. When configured, your name will
appear on the login screen as well as the user menu, which we discuss in
Chapter 2: The Ubuntu Desktop.
On this screen you will need to tell Ubuntu:
‣ your name
‣ what you want to call your computer
‣ your desired username
‣ your desired password
‣ how you want Ubuntu to log you in
Enter your full name under Your name. The next text field is the name
your computer uses, for terminals and networks. You can change this to
what you want, or keep the predetermined name. Next is your username,
the name that is used for the user menu, your home folder, and behind the
scenes. You will see this is automatically filled in for you with your first
name. Most people find it easiest to stick with this. However, it can be
changed if you prefer.
Next, choose a password and enter it into both password fields. When
both passwords match, a strength rating will appear to the right that will
show you whether your password is “too short,” “weak,” “fair,” or “strong.”
You will be able to continue the installation process regardless of your
password strength, but for security reasons it is best to choose a strong
one. This is best achieved by having a password that is at least six char-
acters long, and is a mixture of letters, numbers, symbols, and upper-
case/lowercase. Avoid obvious passwords that include your birth date,
spouse’s name, or the name of your pet.
Login Options
Finally, at the bottom of this screen you have two options regarding how
you wish to log in to Ubuntu. You may also choose to have Ubuntu encrypt
your home folder.
‣ Log in automatically
‣ Require my password to log in
– Encrypt my home folder
16 getting started with ubuntu 14.04
Log in automatically
Ubuntu will log in to your primary account automatically when you start
up the computer so you won’t have to enter your username and password.
This makes your login experience quicker and more convenient, but if
privacy or security are important to you, we don’t recommend this option.
Anyone who can physically access your computer will be able to turn it on
and also access your files.
This option provides you with an added layer of security. Your home folder
is where your personal files are stored. By selecting this option, Ubuntu
will automatically enable encryption on your home folder, meaning that
files and folders must be decrypted using your password before they can
be accessed. Therefore if someone had physical access to your hard drive
(for example, if your computer was stolen and the hard drive removed), they
would not be able to see your files without knowing your password.
If you choose this option, be careful not to enable automatic login at a later date.
It will cause complications with your encrypted home folder, and will potentially
lock you out of important files.
Finishing Installation
Ubuntu will now finish installing on your hard drive. As the installation
progresses, a slideshow will give you an introduction to some of the default
applications included with Ubuntu. These applications are covered in more
detail in Chapter 3: Working with Ubuntu. The slideshow will also highlight
the Ubuntu support options.
After approximately twenty minutes, the installation will complete and
you will be able to click Restart Now to restart your computer and start
Ubuntu. The dvd will be ejected, so remove it from your dvd drive and
press Enter to continue.
Wait while your computer restarts, and you will then see the login win-
dow (unless you selected automatic login).
Login Screen
After the installation has finished and your computer is restarted, you will
be greeted by the login screen of Ubuntu. The login screen will present you
with your username and you will have to enter the password to get past it.
Click your username and enter your password. Once done, you may click
the arrow or press Enter to get into the Ubuntu desktop. Ubuntu’s login
installation 17
screen supports multiple users and also supports custom backgrounds for
each user. In fact, Ubuntu automatically will pick up your current desktop
wallpaper and set it as your login background.
The login screen allows you to update your keyboard language, volume
intensity and enable/disable accessibility settings before you log in to your
desktop. It also displays date/time and battery power for laptops. You can
also shut down or restart your system from the login screen.
Initially, you may notice many similarities between Ubuntu and other op-
erating systems, such as Microsoft Windows or Apple os x. This is because
they are all based on the concept of a graphical user interface (gui)—i.e.,
you use your mouse to navigate the desktop, open applications, move files,
and perform most other tasks. In short, things are visually-oriented. This
chapter is designed to help you become familiar with various applications
and menus in Ubuntu so that you become confident in using the Ubuntu
gui.
Unity
In Linux distributions (such as Ubuntu), a number of desktop environ- To read more about other variants of Ubuntu,
ments are available. Ubuntu uses Unity as the default desktop environment. refer to Chapter 8: Learning More.
After installing and logging into Ubuntu, you will see the Unity desktop.
The Unity desktop is comprised of the desktop background and two bars—a
horizontal one located at the top of your desktop called the menu bar and a
vertically-oriented bar at the far left called the Launcher.
20 getting started with ubuntu 14.04
Below the menu bar at the top of the screen is an image covering the entire
desktop. This is the default desktop background, or wallpaper, belonging to
the default Ubuntu 14.04 theme known as Ambiance. To learn more about
customizing your desktop (including changing your desktop background),
see the section on Customizing your desktop below.
The menu bar incorporates common functions used in Ubuntu. The icons on
the far-right of the menu bar are located in an area of the menu bar called
the indicator area, or notification area. Each installation of Ubuntu may
contain slightly different types and quantities of icons based on a number of
factors, including the type of hardware and available on-board peripherals
upon which the Ubuntu installation is based. Some programs add an icon
to the indicator area automatically during installation. The most common
indicators are: For more about:
‣ the Messaging indicator see Using instant
Text entry settings ( ) allows you to select a keyboard layout, if more than messaging on page 58;
one keyboard layout is chosen. The keyboard indicator menu contains ‣ the Network indicator see Getting online on
the following menu items: Character Map, Keyboard Layout Chart, and page 37;
‣ the Session indicator see Session options on
Text Entry Settings. page 32.
Network indicator ( ) manages network connections, allowing you to
connect quickly and easily to a wired or wireless network.
Messaging indicator ( ) incorporates your social applications. From here,
among others, you can access instant messenger and email clients.
Sound indicator ( ) provides an easy way to adjust the sound volume as
well as access your music player and sound settings.
Clock displays the current time and provides a link to your calendar and
time and date settings.
Session indicator ( ) is a link to the system settings, Ubuntu Help, and
session options (like locking your computer, user/guest session, logging
out of a session, restarting the computer, or shutting down completely).
Every application has a menuing system where different actions can be Figure 2.2: The indicators of the menu bar.
executed in an application (like File, Edit, View, etc.); the menuing system
for an application is appropriately called the application menu. By default
in Unity, the application menu isn’t on the title bar of the application as
is commonly the case in other gui environments. Instead, it is located to Note that some older applications may still
the left area of the menu bar. To show an application’s menu, just move display their menu within the application
window.
your mouse to the desktop’s menu bar (at the top of the screen). While your
mouse is positioned here, the active application’s menu options will appear
in the desktop’s menu bar, allowing you to use the application’s menuing
options. When clicking on the desktop, the desktop’s menu bar reappears.
This capability in Unity to display the application’s menu only when needed
is especially beneficial for netbook and laptop users with limited viewable
screen space. Apple uses a similar approach in os x where all application
menus appear on a bar at the top of the screen. It differs, however, in that
the menus in Ubuntu appear only when the mouse is over the desktop’s
menu bar.
Note that Unity now has locally integrated menus. Locally integrated
menus are displayed in the title bar of unmaximized windows, instead of
the top panel. As the default Unity menu, locally integrated menus are
displayed on mouse over and there’s no option to make the menus per-
manently visible. Locally integrated menus can be enabled via Session
the ubuntu desktop 21
The Launcher
The vertical bar of icons on the left side of the desktop is called the Launcher.
The Launcher provides easy access to applications, mounted devices, and
the Trash. All running applications on your system will place an icon in the
Launcher while the application is running.
To change the Launcher icon size, go to Session Indicator ‣ System
Settings ‣ Appearance, tab Look.
The first icon at the top of the Launcher is the Dash, a component of
Unity. We will explore the Dash in a later section of this chapter. By default,
other applications appear in the Launcher, including the Files file manager,
LibreOffice, Firefox, any mounted devices, and the Trash, which contains
deleted folders and files, at the bottom of the Launcher.
Holding the Super key, also known as the Windows key (Win key),
located between the left Ctrl key and Alt key, will cause Ubuntu to super-
impose a number onto the first ten applications in the Launcher and also
display a screen full of useful shortcuts. You can launch an application with
a number n on it by typing Super+n. Figure 2.3: The Ubuntu Launcher on the left
If you open more applications than can be shown in the Launcher, the with a sample of applications on it.
Launcher will “fold” the application icons at the bottom of the Launcher.
Simply move your mouse to the bottom of the Launcher, and you’ll see
the Launcher icons “slide” and the folded application icons unfold for easy
access.
Running applications
‣ Open the Dash, find the application you wish to add to the Launcher, and
drag its icon to the Launcher.
‣ Run the application you want to add to the Launcher, right-click on the
application’s icon on the Launcher, and select Lock to Launcher.
The Dash
The Dash helps you quickly find applications and files on your computer. For more information about the Dash and its
If you’ve used Windows in the past, you’ll find the Dash to be similar to lenses, see: https://wiki.ubuntu.com/Unity.
To explore the Dash, click on the top-most icon on the Launcher; the
icon contains the Ubuntu logo on it. After clicking the Dash icon, the desk-
top will be overlaid by a translucent window with a search bar on top as
well as a grouping of recently accessed applications, files, and downloads.
Ubuntu also includes results from popular web services. The search bar
provides dynamic results as you enter your search terms.
Lenses
The Dash is an extremely powerful tool allowing you to search your com-
puter for applications and files.
Find files/folders
The Dash can help you find names of files or folders. Simply type a portion
of the file or folder name. As you type, results will appear in the Dash. The
Files and Folders lens will also assist in finding files or folders—showing
you the most recently accessed files as well as the most recent downloads.
You can use the filter results button in the top-right corner of the Dash to
filter results by attributes such as file or folder modification times, file type
(.odt, .pdf, .doc, .txt, etc.), or size.
Find applications
In addition to searching your local computer for applications and files, the
Dash will also search various online resources (e.g., Amazon.com). Results
pertinent to your search criteria are returned to you in the Dash. If you are
concerned about local search terms being sent over the Internet, you can
disable this feature in the Privacy section of the System Settings.
The online search results within the Dash are turned on by default during in-
stallation. If you do not want external search results, go to System Settings ‣
Privacy ‣ Search Results and set the “Include online search results” switch to
the Off position. As an added layer of privacy, you can also prevent any search
activity from being recorded.
Workspaces
To move a window around the workspace, place the mouse pointer over the
window’s title bar, then click and drag the window while continuing to hold
down the left mouse button. You can also move a window by holding the
Alt key and then clicking and holding the left mouse button while pointing
anywhere in the window and dragging the window to a new location. To
resize a window, place the pointer on an edge or corner of the window so
that the pointer turns into a larger, two-sided arrow (known as the resize
icon). You can then click and drag to resize the window.
There are two ways to locate files on your computer—search for them or ac-
cess them directly from their folder. You can search for a file using the Dash
or the Files file manager. You can also use the Dash or Files file manager to
access commonly used folders (such as Documents, Music, Downloads) as
well as the most recently accessed files.
The Home folder is used to store personal files. Your Home folder matches
your login name and is created when your user account is created. When
opening your personal folder, you will see a collection of several folders,
including Desktop (which contains any files that are visible on the desktop),
Documents, Downloads, Music, Pictures, Public, Templates, and Videos.
These folders are created automatically during the installation process. You
can add more files and folders as needed.
When you select the Files shortcut in the Launcher, click on a folder in the Folders are also called directories.
Dash, or double-click a folder on the desktop, Ubuntu should open the Files
file manager. The default window contains the following features:
the ubuntu desktop 27
menu bar The menu bar is located at the top of the screen. The Files menu
allows you to modify the layout of the browser, show, browse and re-
move bookmarks, open a Help document, open a new window, connect
to a server, or quit. Choosing Enter Location will open the Locations
text field where you can enter any location directly.
title bar The title bar shows the name of the currently selected folder. It
also contains the Close, Minimize, and Maximize buttons.
toolbar On the right side of the toolbar, there are five buttons: Search
(represented by a magnifying glass), View items as a grid, View items
as a list, View options (represented by a down arrow), and Location
options (represented by a cog); clicking on the Search icon opens a field
so you can search for a file or folder by name. Clicking on the options
buttons Location options or View options opens a menu with options.
On the left side of the toolbar, you will see a representation of your
current browsing. This is similar to the history function in most web
browsers; it keeps track of where you are and allows you to backtrack if
necessary. You can click on any of the locations to navigate back through
the file browser. The buttons Previous location and Next location allow
you to navigate through previously visited locations.
left pane The left pane of the file browser—titled Places—has shortcuts to
commonly used folders. You can also bookmark a folder through the
toolbar by choosing Location options (gear) ‣ Bookmark this Location.
Once you have bookmarked the folder, it should appear in the left pane.
Regardless of the folder you are currently browsing, the left pane will
always contain the same folders.
right pane The largest pane shows the files and folders within the folder
you are currently browsing.
Opening files
A file, in its simplest form, is data. Data can represent a text document,
database information, or other media such as music or videos. To open a
file, you can double-click on its icon. Ubuntu will try to find an appropriate
application with which to open the selected file. In some cases, you may
28 getting started with ubuntu 14.04
wish to open the file with a different application than the one Ubuntu se-
lected. To select an application, right-click the icon and select one of the
Open With options.
To create a new folder from within the Files file manager, right-click in the
blank area of the right pane and select New Folder from the popup menu
(this action will also work on the desktop). Replace the default “Untitled
Folder” title with your desired label (e.g., “Personal Finances”). You can also
create a new folder by pressing Ctrl+Shift+N.
If you wish to hide certain folders or files, place a dot (.) in front of the
name (e.g., “.Personal Finances”). In some cases, it is impossible to hide files
and folders without prefixing them with a dot.
You can easily view hidden files by clicking View options ‣ Show Hidden
Files or by pressing Ctrl+H. Hiding files with a dot (.) is not a security
measure—it is simply a way to help you organize your files.
You can cut, copy, and paste files or folders in the Files file manager by
right-clicking on the item and selecting the corresponding button from the
popup menu. You can also use the keyboard shortcuts Ctrl+X, Ctrl+C, and
Ctrl+V to cut, copy, and paste files and folders, respectively.
Multiple files can be selected by left-clicking in an empty space (i.e.,
not on a file or folder), holding the mouse button down, and dragging the
cursor across the desired files or folders. This “click-drag” action is useful
when you are selecting items that are grouped closely together. To select
multiple files or folders that are not positioned next to each other, hold
down the Ctrl key while clicking on each item individually. Once the
desired files and/or folders are selected, right-click on any of the selected
items to perform an action just like you would for a single item.
When one or more items have been “copied,” navigate to the desired
location, then right-click in an empty area of the window and select Paste
to copy them to the new location. While the copy command can be used
to make a duplicate of a file or folder in a new location, the cut command
can be used to move files and folders. That is, a copy will be placed in a new
location, and the original will be removed from its current location.
Note that when you “cut” or “copy” a file or folder, nothing will hap-
pen until you “paste” it somewhere. Paste will only affect the most recent
item(s) cut or copied.
To move a file or folder, select the item to move, then click Edit ‣ Cut.
Navigate to the desired location, then click Edit ‣ Paste. If you click on
a file or folder, drag it, then hold down the Alt key and drop it to your
destination folder, a menu will appear asking whether you want to copy,
move, or link the item.
As with the copy command above, you can also perform this action using
the right-click menu, and it will work for multiple files or folders at once.
An alternative way to move a file or folder is to click on the item, and then
drag it to the new location.
the ubuntu desktop 29
Opening multiple Files file manager windows can be useful for dragging
files and folders between locations. You can also have multiple tabs to
browse multiple locations at once.
To open a second window when browsing a folder in Files, select File ‣
New Window or press Ctrl+N. This will open a new window, allowing you
to drag files and/or folders between two locations. To open a new tab, click
Location options (cog) ‣ New Tab or press Ctrl+T. A new row will appear
above the space used for browsing your files containing two tabs—both will
display the folder you were originally browsing. You can click these tabs
to switch between them to click and drag files or folders between tabs the
same as you would between windows.
When dragging items between Files windows or tabs a small symbol
will appear over the mouse cursor to let you know which action will be
performed when you release the mouse button. A plus sign (+) indicates
you are about to copy the item, whereas a small arrow means the item will
be moved. The default action will depend on the folders you are using.
You can search for files and folders using the Dash or the Files file manager. Search for files and folders quickly by pressing
Ctrl+F in Files and then typing what you want
to find.
Search using the Dash
In the Dash, simply type your search terms in the search bar at the top of
the Dash.
Alternatively, you may use the Applications or Files & Folders lenses;
here you can use a filter to narrow down your search. Open the drop-down
menu on the right side of the search bar. If you’ve selected Applications,
you will be able to filter by application type. If you’ve chosen Files & Fold-
ers, you can filter by a host of options, including Last modified, Type (e.g.,
Documents), or Size. It is sufficient to type the first few letters of the file or
folder for which you are searching.
In Files file manager, click on the magnifying glass button or press Ctrl+F.
This opens the search field where you can type the name of the file or folder
you want to find.
Appearance
Through the Look tab you can change the background, fonts, and window
theme to further modify the look and feel of your desktop. To begin, open
Appearance by either right-clicking on your background and selecting
Change Desktop Background or selecting Session Indicator ‣ System
Settings ‣ Appearance. Select the Look tab.
Theme The “Appearance” window will display the current selected back-
ground wallpaper and theme. Themes control the appearance of your win-
dows, buttons, scroll bars, panels, icons, and other parts of the desktop. The
Ambiance theme is used by default, but there are other themes from which
you can choose. Just click once on any of the listed themes to give a new
theme a try. The theme will change your desktop appearance immediately.
Launcher icon size At the bottom of the Look tab you find a slider to
change the size of icons on the Launcher. You may choose from a range
between 32 and 64 pixels.
Through the behavior tab there are several options to change the behavior
of your desktop.
Auto-hide the Launcher Switch the Auto-hide the Launcher to either show
the Launcher or reveal it when moving the pointer to the defined hot spot.
When turned on, you can choose the reveal location—Left side or Top left
corner—and the reveal sensitivity.
Enable workspaces By default, workspaces are not enabled. You can enable
workspaces by checking this option.
Add show desktop icon to the launcher Check this option if you want to
show the desktop icon on the Launcher.
Accessibility
Ubuntu has built-in tools that make using the computer easier for people
with certain physical limitations. You can find these tools by opening the
Dash and searching for “Universal Access” or by selecting Session Indica-
tor ‣ System Settings ‣ Universal Access. Use the Seeing tab to manage the
text size, the contrast of the interfaces, enable a zoom tool, or even a screen
reader. Selecting high-contrast themes and larger on-screen fonts can assist
those with vision difficulties. You can activate “Visual Alerts” through the
Hearing tab if you have hearing impairment. You can also adjust keyboard
and mouse settings to suit your needs through the Typing and Pointing and
Clicking tabs, respectively.
Orca is a useful tool for people with visual impairments. Orca comes pre-
installed in Ubuntu. To run Orca, click on the Dash, type Orca, and click
on the displayed result. Orca is the “Screen Reader” part of Universal Ac-
cess and can be launched once the “Screen Reader” is activated. Orca’s
32 getting started with ubuntu 14.04
voice synthesizer will activate and assist you through the various options
such as voice type, voice language, Braille, and screen magnification. Once
you have finished selecting your settings, you will need to log out of the
computer (Orca will offer to do this for you). When you log back in, the
Orca settings you selected will automatically run every time you use your
computer.
Session options
When you have finished working on your computer, you can choose to log
out, suspend, restart, or shut down through the Session Indicator on the far
right side of the top panel.
Logging out
Logging out will leave the computer running but return the desktop to
the login screen. This is useful for switching between users, such as when
a different person wishes to log in to their account or if you are ever in-
structed to “log out and back in again.” You can also log out by pressing
Ctrl+Alt+Del. Before logging out, always verify that you have saved your
work in any open application.
Suspend
To save energy, you can put your computer into suspend mode which will
save the current opened applications to internal memory, power off all
internal devices and hardware, and allow you to start back up more quickly.
While in a suspended state, the computer will use just a trickle of energy;
this is required because the session is saved to internal memory, and if no
power goes to internal memory, the data will be lost. To put your computer
in suspend mode, select suspend from the “Session Indicator”.
Rebooting
To reboot your computer, select Shut Down from the “Session Indicator”
and click the Restart icon.
the ubuntu desktop 33
Shut down
To totally power down your computer, select Power Off from the “Session
Indicator” and click Power Off.
Other options
From the “Session Indicator”, select Lock/Switch Account to either lock the
screen of the current user or switch user accounts. You can lock your screen
quickly by using the keyboard shortcut Ctrl+Alt+L. Locking your screen is
recommended if you are away from your computer for any amount of time.
Getting help
General Help
Like with any other operating system, Ubuntu has a built-in help reference
called the Ubuntu Desktop Guide. To access it, click on the Dash and type
Help. Alternatively, you can press F1 while on the desktop, or select Ubuntu
Help from the Help menu in the menu bar. Many applications have their
own help section which can be accessed by clicking the Help menu within
the application window.
Online Help
If you can’t find an answer to your question in this manual or in the Ubuntu
Desktop Guide, you can contact the Ubuntu community through the
Ubuntu Forums (http://ubuntuforums.org). To best assist you in solving
the issue, it is best to provide as much information as possible when submit-
ting your query, such as ’What were you doing at the time?’ and ’What are
you trying to achieve?’.
Many Ubuntu users open an account on the forums to receive help and
in turn provide support to others as they gain more knowledge. Another
useful resource is the Ubuntu Wiki (https://wiki.ubuntu.com/community), a
34 getting started with ubuntu 14.04
If you are migrating from a Windows or Mac platform, you may wonder
if the programs you once used are available for Ubuntu. Some of the pro-
grams you already use have native Linux versions. For those that don’t,
there are free and open source applications that will cover your needs. This
section will recommend some alternatives that will work well on Ubuntu.
Most of the applications listed in this section are available via the Soft-
ware Center. Those followed by an asterisk (*) can be downloaded directly
from their official websites.
Office Suites
Email Applications
Web Browsers
PDF Readers
‣ Windows: Adobe Acrobat Reader, Foxit Firefox and Google Chrome are also able to
‣ Apple os x: Adobe Acrobat Reader view PDF files.
Multimedia Players
For multimedia, Ubuntu users have a wide variety of options for high
quality players. VLC is a perennial favorite among videophiles. The classic
and user-friendly Totem is the default media player in Ubuntu.
There are several options for listening to music with Ubuntu: Rhythmbox
(installed by default) and Amarok among many others. These applications
allow you to listen to music and to your favorite podcasts. Amarok is sim-
ilar to Winamp. There is Miro for those who watch video podcasts and tv
shows from the Internet.
CD/DVD Burning
Photo Management
You can view and manage your favorite photos with Shotwell, Ubuntu’s
default photo manager, or with gThumb, Gwenview, and F-Spot.
Graphics Editors
gimp is a very powerful graphics editor. You can create your own graph-
ics, taper your photographs, and modify your pictures. gimp, a powerful
alternative to Photoshop, covers the needs of novice users, professional
photographers, and designers alike. gimp is not installed by default, but the
application can be installed through the Ubuntu Software Center.
Instant Messaging
VoIP Applications
VoIP technologies allow you to talk to people over the Internet. The
most popular application is Skype, which is available for Linux. An open-
source alternative called Ekiga supports voice communication using the sip
protocol. Note that Ekiga isn’t compatible with Skype.
BitTorrent Clients
Getting online
This section of the manual will help you to check your connection to the
Internet and help you configure it where needed. Ubuntu can connect to the
Internet using a wired, wireless, or dialup connection. Ubuntu also supports
more advanced connection methods, which will be briefly discussed at the
end of this section.
A wired connection is when your computer connects to the Internet
using an Ethernet cable. This is usually connected to a wall socket or a
networking device—like a switch or a router.
A wireless connection is when your computer connects to the Internet
using a wireless radio network—usually known as Wi-Fi. Most routers now
38 getting started with ubuntu 14.04
NetworkManager
In order to connect to the Internet using Ubuntu, you need to use the Net-
workManager utility. NetworkManager allows you to turn network con-
nections on or off, manage wired and wireless networks, and make other
network connections, such as dialup, mobile broadband, and vpns. (a) (b) (c)
Figure 3.1: The network connection states: (a)
You can access NetworkManager by using its icon found in the top panel. disconnected, (b) wired, and (c) wireless.
This icon may look different depending on your current connection state.
Clicking this icon will reveal a list of available network connections. The
current connection (if any) will have the word “disconnect” underneath it.
You can click on “disconnect” to manually disconnect from that network.
This menu also allows you to view technical details about your current
connection or edit all connection settings.
In the image to the right, you will see a check mark next to “Enable Net-
working.” Deselect “Enable Networking” to disable all network connections.
Select “Enable Networking” to enable networking again. This can be very Figure 3.2: Here you can see the currently active
useful when you are required to turn off all wireless communications, like connection is “Wired connection 1.”
in an airplane.
If your network supports dhcp, then you may already be set up for online
access. To check this, click on the NetworkManager icon. There should
be an “Ethernet Network” heading in the menu. If “Wired connection 1”
appears directly underneath, then your machine is currently connected and
probably setup for dhcp. If “Disconnected” appears in gray underneath
the wired network section, look below to see if an option labeled “Wired
working with ubuntu 39
If your network does not support dhcp, then you need to know a few items
of information before you can get online. If you do not know any of this
information, then you call your isp.
A mac address is a hardware address for your computer’s network card. Entering
this information is sometimes important when using a cable modem connection.
If you know the mac address of your network card, this can be entered in the
appropriate text field in the Wired tab of the editing window. To find the mac
addresses for all installed networking devices, open a terminal window, and at
the command line prompt, type ifconfig. This will display a lot of information
about each of the network devices installed on the computer. The wired devices
will be labeled as LAN0, LAN1, etc. The wireless devices will appear as WLAN0,
WLAN1, etc.
Wireless
If your computer is equipped with a wireless (Wi-Fi) card and you have a
wireless network nearby, you should be able to set up a wireless connection
in Ubuntu.
If your computer has a wireless network card, you can connect to a wireless
network. Most laptops and netbooks have a built-in wireless networking
card.
Ubuntu is usually able to detect any wireless network in range of your
computer. To see a list of wireless networks, click on the NetworkMan-
ager icon. Under the “Wireless Networks” heading you should see a list of
available wireless networks. Each network will be shown by its name and a
signal meter to the left showing its relative signal strength. The signal meter
looks like a set of bars similar to what is seen when viewing signal strength
of a cell phone. Simply put, the more bars, the stronger the signal. To im-
prove speed and reliability of your wireless connection, try moving closer to
your router or wireless access point.
A wireless network can be open to anyone, or it can be protected with
a password. A small padlock will be displayed alongside the signal bar if
any wireless networks within range are password-protected. You will need
to know the correct password in order to connect to these secured wireless
networks.
To connect to a wireless network, select the desired network by clicking
on its name within the list. This will be the name that was used during the
installation of the wireless router or access point. Most isps provide pre-
configured routers with a sticker on them detailing the current wireless
network name and password. Most publicly accessible wireless networks
will be easily identifiable by the name used for the wireless network—for
example “Starbucks-Wireless.”
If the network is unprotected (i.e., the signal meter does not show a pad-
lock), a connection should be established within a few seconds—and with-
out a password required. The NetworkManager icon in the top panel will
animate as Ubuntu attempts to connect to the network. If the connection
is successful, the icon will change to display a signal meter. An on-screen
notification message will also appear informing you that the connection
was successful.
If the network is password-protected, Ubuntu will display a window
called “Wireless Network Authentication Required” as it tries to make a
connection. This means that a valid password is required to make a connec-
tion. This is what the screen should look like:
If you know the password, enter it in the Password field and then click
on the Connect button. As you type the password, it will be obscured from
view to prevent others from reading the password as you type it. To verify
the characters you are entering for the password, you can view the pass-
word by selecting the Show Password check box. Then, you can make the
password obscure again by deselecting the Show password check box.
42 getting started with ubuntu 14.04
Once the password is entered, click on the Connect button. The Network-
Manager icon in the top panel will animate as Ubuntu attempts to connect
to the network. If the connection is successful, the icon will change to dis-
play a signal meter. An on-screen notification message will also appear
informing you that the connection was successful.
If you entered the password incorrectly, or if it doesn’t match the cor-
rect password (for example if it has recently been changed and you have
forgotten), NetworkManager will make another attempt to connect to the
network, and the “Wireless Network Authentication Required” window will
re-appear so that you can re-type the password. You can hit the Cancel but-
ton to abort the connection. If you do not know the correct password, you
may need to call your isp’s customer support line or contact your network
administrator.
Once you have successfully established a wireless connection, Ubuntu
will store these settings (including the password) to make it easier to con-
nect to this same wireless network in the future. You may also be prompted
to select a keyring password here. The keyring stores passwords in one
place so you can access them all in the future by remembering just the
keyring password.
will need to get its name and security details from your network adminis-
trator or isp.
To connect to a hidden wireless network:
At times you may want to change the settings of a saved wireless network
—for example, when the wireless password gets changed.
To edit a saved wireless network connection:
After clicking Apply, any changes made to the network connection will
take effect immediately.
Once you have connected to the Internet, you should be able to browse the
web. Mozilla Firefox is the default application for this in Ubuntu.
Starting Firefox
There are several ways to start Firefox. By default Ubuntu has the Firefox
icon within the Launcher (the vertical bar down the left side of the screen).
Select this icon to open Firefox. Or, open the Dash (the top-most icon in the
Launcher) and search for firefox using the search box. If your keyboard
has a “www” button, you can press that button to start Firefox.
When you start Firefox, you will see your home page. By default, this is the
Ubuntu Start Page.
To quickly go to your home page, press Alt+Home on your keyboard or
press on the home icon in Firefox.
To navigate to a new web page, you need to enter its Internet address (also URL stands for uniform resource locator, which
known as a url) into the Location Bar. urls normally begin with “http://” tells the computer how to find something on
the Internet—such as a document, web page or
followed by one or more names that identify the address. One example an email address. WWW stands for World Wide
is “http://www.ubuntu.com/.” (Normally, you can omit the “http://” part. Web, which means the web pages by which
Firefox will fill it in for you.) most people interact with the Internet.
To navigate:
46 getting started with ubuntu 14.04
If you don’t know the url that you need, type a search term into the
Search Bar to the right of the Location bar. Your preferred search engine
—Google by default—will return a list of websites for you to choose from.
(You can also enter your query directly into the Location Bar).
Selecting a link
Most web pages contain links that you can select. These are known as
“hyperlinks.” A hyperlink can let you move to another page, download a
document, change the content of the page, and more.
To select a link:
1. Move the mouse pointer until it changes to a pointing finger. This hap-
pens whenever the pointer is over a link. Most links are underlined text,
but buttons and pictures on a web page can also be links.
2. Click the link once. While Firefox locates the link’s page, status mes-
sages will appear at the bottom of the window.
If you want to visit a page you have viewed before, there are several ways To go backwards and forwards you can also use
to do so. Alt+Left and Alt+Right respectively.
If a page is loading too slowly or you no longer wish to view a page, press The Reload button is at the right end of the
Esc to cancel it. To reload the current page if it might have changed since Location Bar.
At times, you may want to have more than one browser window open. This
may help you to organize your browsing session better, or to separate web
pages that you are viewing for different reasons.
There are four ways to create a new window:
Once a new window has opened, you can use it exactly the same as
the first window—including navigation and opening tabs. You can open
multiple windows.
Sometimes, you may want to click a link to navigate to another web page,
but do not want the original to close. To do this, you can open the link in its
own independent window.
There are two ways to open a link in its own window:
Tabbed browsing
You can alternate quickly between different tabs by using the keyboard
shortcut Ctrl+Tab.
‣ Click on the Open new tab button (a green plus-sign) on the right side of
the last tab.
‣ On the top bar, open File ‣ New Tab.
‣ Press Ctrl+T.
When you create a new tab, it contains a blank page with the Location
Bar focused. Type a web address (url) or other search term to open a web-
site in the new tab.
Sometimes, you may want to click a link to navigate to another web page,
but do not want the original to close. To do this, you can open the link in its A tab always opens “in the background”—in
own tab. other words, the focus remains on the original
tab. The last method (Ctrl+Shift) is an
There are several ways to open a link in its own tab. exception; it focuses the new tab immediately.
48 getting started with ubuntu 14.04
Closing a tab
Once you have finished viewing a web page in a tab, you have various ways
to close it:
Sometimes, you may close the wrong tab by accident, or want to bring back
a tab that you have recently closed. Bring back a tab in one of the following
two ways:
You can move a tab into a new Firefox window or, if one is already open,
into a different Firefox window.
Drag a tab away from the tab bar, and it will open into a new window.
Drag it from the tab bar into the tab bar of another open Firefox window,
and it will move there instead.
Searching
You can search the web from within Firefox without first visiting the home
page of the search engine. By default, Firefox will search the web using the
Google search engine.
To search the web in Firefox, type a few words into the Firefox search Bar.
For example, if you want to find information about Ubuntu:
1. Move your cursor to the Search Bar using your mouse or press Ctrl+K.
2. Type the phrase Ubuntu. Your typing replaces any text currently in the
Search Bar.
working with ubuntu 49
If you do not want to use Google as your search engine in the Search Bar,
you can change the search engine that Firefox uses.
To change your preferred search engine, press the search logo (at the Figure 3.8: These are the other search engines
left of your Search Bar—Google by default) and choose the search engine of you can use—by default—from the Firefox
search bar.
your choice. Some search engines, such as Bing, Google and Yahoo, search
the whole web; others, such as Amazon and Wikipedia, search only specific
sites.
Sometimes, you may want to search for a phrase that you see on a web
page. You can copy and paste the phrase into the Search Bar, but there is a
quicker way.
1. Highlight the word or phrase in a web page using your left mouse but-
ton.
2. Right-click the highlighted text and select Search [Search Engine] for
[your selected words].
Firefox passes the highlighted text to the search engine, and opens a new
tab with the results.
You may want to look for specific text within the web page you are
viewing. To find text within the current page in Firefox:
1. Choose Edit ‣ Find or press Ctrl+F to open the Find Toolbar at the
bottom of Firefox.
2. Enter your search query into the Find field in the Find Toolbar. The
search automatically begins as soon as you type something into the field.
3. Once some text has been matched on the web page, you can:
‣ Click on Next to find text in the page that is below the current cursor
position.
‣ Click on Previous to find text that is above the current cursor posi-
tion.
‣ Click on Highlight all to highlight all occurrences of your search
words in the current page.
‣ Select the Match case option to limit the search to text that has the
same capitalization as your search words.
To quickly find the same word or phrase again, press F3.
You can skip opening the Find Toolbar altogether.
1. Turn on the relevant Accessibility option with Edit ‣ Preferences ‣
Advanced ‣ General ‣ Accessibility ‣ Search for text when I start typ-
ing ‣ Close.
50 getting started with ubuntu 14.04
2. Now, provided your cursor is not within a text field, when you start
typing, it will automatically start searching for text.
To display more web content on the screen, you can use Full Screen mode.
Full Screen mode hides everything but the main content. To enable Full
Screen mode, choose View ‣ Full Screen or press F11. While in full-screen
mode, move your mouse to the top of the screen to reveal the url and
search bars.
Press F11 to return to normal mode.
With Firefox, you can copy part of a page so that you can paste it elsewhere,
or save the page or part of a page as a file on your computer.
Copying a link
Firefox shows the home page when it opens. By default, this is the Ubuntu
Start Page. You can change your default home page to a new one, or even to
several new ones.
1. Navigate to the page that you would like to become your new home
page. If you want Firefox to open more than one tab when it starts, open
a new tab and navigate to the extra page as many times as you would
like. The home page can also be set by entering the
2. Choose Edit ‣ Preferences ‣ General ‣ Startup ‣ Use Current Pages ‣ addresses that should be open in the Home
Page, with a pipe (“|”) separating pages to be
Close. opened in separate tabs.
Download settings
In Edit ‣ Preferences ‣ General ‣ Downloads, you can hide or show the The Downloads window shows the progress
Downloads window, tell Firefox where to place downloaded files, and of currently downloading files, and lists files
downloaded in the past. It can be used to open
whether or not to ask where each time. or re-download files.
Bookmarks
When browsing the web you may want to come back to certain web pages
again without having to remember the url. To do this, you bookmark each
page. These bookmarks are saved in the web browser, and you can use them
to re-open to those web pages.
Bookmarking a page
After navigating to a web page you can save its location by bookmarking it.
There are two ways to bookmark a page:
‣ From the top bar, choose Bookmarks ‣ Bookmark This Page, or press
Ctrl+D. A window opens, allowing you to provide a descriptive name for
the bookmark and a location (within the browser’s bookmarks) to save it.
Press Done to save.
‣ Press the star on the right-hand side in the Location Bar. It turns yellow.
This saves the page in the Unsorted Bookmarks folder.
52 getting started with ubuntu 14.04
To navigate to a bookmarked page, open the Bookmarks menu from the top
bar, and choose your bookmark. Firefox opens the bookmark in the current
tab.
You can reveal the bookmarks, including the Unsorted Bookmarks, in a sidebar
on the left of the browser window. Select View ‣ Sidebar ‣ Bookmarks, or press
Ctrl+B. Repeat, or press the close button at its top, to hide the sidebar.
History
Whenever you are browsing the web, Firefox saves your browsing history.
This allows you to come back to a web page that you have recently visited
without needing to remember or bookmark the page’s url.
To see your most recent history, open the History menu from the top
bar. The menu displays several of the most recent web pages that you have
viewed. Choose one of the pages to return to it.
To view the complete history, either:
‣ Select View ‣ Sidebar ‣ History or press Ctrl+H to view the history in
a sidebar; this replaces the bookmarks sidebar if it is open. (Repeat, or
press the close button at its top, to hide the sidebar.)
‣ Select History ‣ Show All History or press Shift+Ctrl+H to view the
history in a pop-up window.
Your browsing history is categorized as “Today,” “Yesterday,” “Last 7
days,” “This month,” the previous five months by name, and finally “Older
than 6 months.” If the history for a category does not exist, that category
will not be listed. Select one of the date categories in the sidebar to expand
it and reveal the pages that you visited during that time. Once you find the
page you want, select it to re-display it.
You can also search for a page by its title or url. Enter a few letters
from one or more words or, optionally, the url in the Search field at the
top of the history sidebar. The sidebar displays a list of web pages matching
your search words. Select the page you want. (You can even do this in the
Location Bar, saving you from having to open the History sidebar or pop-up
window.)
Firefox stores all its data only on your computer. Nevertheless, if you share
your computer, you may at times want to delete all private data.
working with ubuntu 53
You can start a “private browsing” session during which Firefox will not
record anything permanently. This lasts until you disable private browsing
or restart Firefox.
Choose File ‣ New Private Window or press Shift+Ctrl+P. As long
as you remain in this mode, Firefox will not record browsing, download,
form or search history, or cookies, nor will it cache files. However, if you
bookmark anything or download files, these will be retained.
To end private browsing, just close the private browsing window by
clicking on its close button or pressing Shift+Ctrl+W, or restart Firefox.
Introduction to Thunderbird
Setting up Thunderbird
In the top right corner of the Ubuntu desktop you will see an envelope
icon in the notification area. This is the messaging menu. From here, you
can launch Thunderbird by clicking Set up Mail. Alternatively, you can
click the Ubuntu button in the top left corner of the screen at the top of the
Launcher to bring up the Dash and type thunderbird into the search box.
Once Thunderbird opens, you will be greeted by a pop-up box prompting
you to setup your email account.
Now that you have your email account set up, let’s get to know the Thun-
derbird workspace. Thunderbird is designed to be very user-friendly and
easy to navigate. When you open the application, you will see the main
workspace with your email folders (all folders window) on the left. On the
right of the screen, you will see two windows. The top-right window dis-
plays a list of your received email, and the bottom-right window displays
the current email you are viewing. The size of these windows can be easily
resized to suit your viewing environment. To resize the windows, simply
left-click and hold the dividing bar that separates two windows and drag it
to the desired position. The All Folders window is where you can see your
mail folders. This window can also include:
Inbox Where your email is stored and accessed
working with ubuntu 55
Email address folder You will see one of these folders for each of the ac-
counts you have setup
Drafts Where your draft emails are stored
Sent mail Where the emails you have sent are stored
Spam This is where suspected spam email is stored so you can check them
to make sure you haven’t lost any important emails
Trash This is where messages you’ve deleted are stored so you can double
check to make sure you haven’t accidentally deleted an important email
(also one of the local folders)
Important This is where emails you have marked as important are stored
Starred This is where emails you have marked with a star are stored
Personal This is where emails you have marked as personal are stored
Receipts You can move important receipts to this folder.
Travel You can use this folder to store travel emails such as flight times and
bookings
Work You can store work emails in this folder to keep them separate from
your personal email
Outbox Where the emails you are in the process of sending are stored (also
one of the local folders)
Across the top of the Thunderbird workspace, you will see at least four
control buttons, Get Mail, Write, Address Book, and Tag. These are used to
get your mail, write your mail, access your address book, and tag your email
messages.
At the top-right of the All Folders window, you will see a set of quick
filter buttons, Unread, Starred, Contact, Tags, and Attachment. You can use
these buttons to filter your email messages so that you only see your unread
mail, your favorite mail (starred), mail from people in your address book,
mail you have tagged, and mail that includes attachments.
If you are accustomed to a more traditional desktop and you have Thun-
derbird maximized to full screen, you might be wondering where the menus
are located. They are still there, and if you want to access them, move your
mouse to the top of the screen and you will see the familiar menus: File,
Edit, View, Go, Message, Tools, and Help.
At the top of the window that displays your email, you can see six action
buttons, Reply, Reply All, Forward, Archive, Junk, and Delete. You will
find these very useful for quickly replying to email, forwarding your email
to another person, archiving (backing up) your email, marking an email as
junk mail, and quickly deleting an email. To the left of these quick action
buttons, you will see information about the email you are viewing that
includes the sender’s name, the subject of the email, the reply address, and
the recipient of the email.
At the top of the main workspace, you will see the Address Book button.
Click this button to access your address book. The address book opens in a
new window. From here, you can easily organize your contacts. At the top
of the address book window, you will see five buttons, New Contact, New
List, Properties, Write, and Delete. They function in the following ways:
New Contact This button allows you to add a new contact and add as much
detail as you wish to save, including name, nickname, address, email,
additional email, screen name, work number, home number, fax, pager
and mobile/cell number.
56 getting started with ubuntu 14.04
New List This button allows you to add lists for your contacts such as
family, friends, acquaintances, etc.
Properties This button allows you to rename your address book name. The
default name is personal address book, but you can change the name as
you see fit.
Write This button allows you to quickly send an email to a selected contact
without needing to go back to the main Thunderbird workspace. Simply
select a contact from your contacts list and click the Write button to
send them an email.
Delete This button allows you to quickly delete a contact from your address
book. Just select the contact you want to delete and press Delete to
remove the contact from your address book.
Thunderbird will automatically check your email account for new mes-
sages every ten minutes, but if you need to manually check for new mes-
sages at any time, left-click the Get Mail button in the top left corner of
the workspace. Thunderbird will then check your email account for new
messages and download them.
As they are downloaded, you will see the new email appear in the mes-
sage window on the right side of the workspace. When you click on one of
your emails, it will appear in the window below your email list. If you want
to view your email in a full window, double-left-click your chosen email,
and Thunderbird will display the email in a full window in its own tab.
At the top of the open email, you will see information about the email Remote content represent parts of an email
and the five quick action buttons, Reply, Forward, Archive, Junk and that may be hosted elsewhere. Remote content
might consist of video or audio, but most
Delete as previously discussed. If an email has remote content, you will often is graphics or HTML content. For security
see a message asking if you want to display the email or not. purposes, Thunderbird will ask you if you wish
You may want to sort out your emails from time to time; this is easily to view this remote content.
done with Thunderbird. When you have an email selected and you want
to tag the email, simply click the Tag button and a drop-down list will be
displayed. In this drop-down list, you have the options to Remove All Tags
or Mark as…, Important, Work, Personal, To Do, Later. You can also create
a New Tag more suited to your own personal requirements.
Composing Messages
To compose a new email message, click the Write button in the top left of
the workspace. This will bring up a new window where you can compose
your new email. In the To: field, enter the email address of the destination
—the contact to whom you are sending this email. If there is more than one
contact to whom you are writing, separate multiple recipients with commas.
If a contact that you are addressing is in your address book, you can
address them by name. Start typing the name of the contact; Thunderbird
will display the list of mailing contacts below your text. Once you see the
contact you intend to address, click on their email address or use the down
arrow key and then press Enter to select the address.
If you would like to carbon-copy (Cc) some contacts, click the To: field
and select Cc:. Contacts who are listed on the To: and Cc: lines will receive
the email, and will see the rest of the contacts to whom an email was sent.
If you would like to send an email to some contacts without disclosing to
whom your email was sent, you can send a blind carbon-copy, or Bcc. To
enable Bcc, select Bcc: by clicking the To: field and selecting Bcc:. Any
working with ubuntu 57
contacts entered in the Bcc: field will receive the message, but none of the
recipients will see the names or emails of contacts on the Bcc: line.
Instead of typing the email addresses or names of the contacts you are
addressing in the message, you can select the contacts from your address
book. Start typing a few letters from your contact’s first or last name in the
To: field to filter the list to only show mailing contacts. Once you identify
the contact you would like to address, click on their name in the list. If
you’ve added the contact in error, delete their address and enter the correct
address.
You may enter a subject for your email in the Subject field. Messages
should have a subject to help the recipient identify the general contents of
the email while glancing at their message list. Enter the contents of your If you do not include a subject in your email,
message in the big text field below the subject. There is no practical limit on Thunderbird will warn you about this omission.
Attaching files
At times, you may want to send files to your contacts. To send files, you
will need to attach them to your email message. To attach a file to an email You can attach quite a few different file types
you are composing, click on the Attach button. When the new window to emails, but be careful about the size of the
attachments! If they are too big, some email
opens, select the file you want to send and click Open. The file you selected systems will reject the email you are sending,
will then be attached to the email when you click send. and your recipient will never receive it!
Replying to Messages
Reply or Reply to Sender sends your reply only to the sender of the message
to whom you are replying.
Reply to All sends your reply to the sender of the message as well as any
address in To: or Cc: lines.
Forward allows you to send the message, with any additional comments
you may add, to some other contacts.
To use any of these methods, click on the message to which you want
to reply and then click the Reply, Reply to All, or Forward button on the
message toolbar. Thunderbird will open the reply window. This window
should look much like the window for composing new messages, but the
To:, Cc:, Subject:, and main message content fields should be filled in from
the message to which you are replying. Edit the To:, Cc:, Bcc:, Subject: or
main body as you see fit. When your reply is finished, click on the Send
button on the toolbar. Your message will be placed in the Outbox and will
be sent.
58 getting started with ubuntu 14.04
Instant messaging allows you to communicate with people in real time Figure 3.13: This is the icon that Empathy
online. Ubuntu includes the Empathy application that lets you use instant displays in the launcher.
messaging features to keep in touch with your contacts. Empathy lets
you connect to many instant messaging networks. You can connect to:
Facebook, Google Talk, Windows Live, Salut, Jabber, Yahoo!, and aim. To
start Empathy, open the Messaging Menu (the envelope icon on the menu
bar), then select Empathy. Note that you will only find it there after you
have run Empathy for the first time (see below).
To run Empathy for the first time you need to start it from the Dash (see
The Dash). You should see a screen similar to that in figure 3.15. At this
time, Empathy does not know about any of your instant messaging ac-
counts.
Adding accounts
You must have existing chat accounts to that are compatible with Empathy. If
you do not have an existing account, you will need to create one before continu-
ing.
Be aware that when you Add or Remove
You can add accounts to be used with empathy by clicking the Account accounts using the Online Accounts manager
you will be adding or removing those accounts
Settings button, as shown in figure 3.15, or you can use the menu bar to to or from all the applications that they
navigate to Empathy ‣ Accounts. You should see a dialog similar to that in integrate with, not just Empathy.
figure 3.16. This is the Online Accounts manager.
Click Add account… on the left-hand side of the window if it is not
already selected. At the top of the window, where it says Show accounts that
working with ubuntu 59
integrate with:, select Empathy from the drop-down menu. Now click on
the name of the chat service with which you have an account. Shown in
figure 3.17, we have selected a Google account. You must now enter your
login credentials and authorize Ubuntu to access your account.
When you have authorized Ubuntu to access your account, you are
shown all the applications that integrate with the account, including Em-
pathy. All the applications have an ON/OFF button to control their inte-
gration with the account. Make sure the ON/OFF button is set to ON for
Empathy. There is also an Options button for you to edit details used by
Empathy. The details shown are specific to each application. After adding
your accounts, you can now use Empathy to chat with all of your friends,
right from your Ubuntu desktop!
Text
where you can type messages to your contact and see a record of previously
exchanged messages.
To send a message to the contact, enter your message in the text field
below the conversation history. When you have typed your message press
the Enter key to send the message to your contact. When the person you
are chatting with is typing to you, a small keyboard icon will appear next to
their name in the chat window.
If you are communicating with more than one person, then all of the
conversations will be shown either in tabs in your Empathy window or in
separate windows, depending on the option you have chosen in the menu
item Empathy ‣ Preferences.
You can use Empathy to chat with your friends using audio and video,
too. To start an audio or video call, right click on the Contact name, then
select Audio Call or Video Call, as shown in figure 3.19. This will notify the
person you are trying to call, and they will be asked if they would like to
answer the call.
If the person you are calling accepts your call request, you will be con-
nected, and you can begin talking. If the person you are calling cannot see Figure 3.19: Right-clicking a contact exposes
or hear you, your webcam or microphone may not be properly configured; many ways to communicate.
see the sections on Sound and Using a webcam, respectively. You can end
the call by clicking on the red telephone button in the chat window.
Sending a file
When you are in a conversation with a contact and you would like to send
them a file, right-click the contact in the contact list—as in figure 3.19—
and select Send File. Empathy should open the “Select file” window. Find
the file you wish to send, and click on the Send button. A “File Transfers”
window will open showing the file and its transfer progress. When the file
transfer is complete, you can close the “File Transfers” window.
working with ubuntu 61
You can use your status to show your contacts how busy you are or what
you are doing. Your contacts see your status next to your name when they
chat with you. You can use the standard statuses, which are:
‣ Available
‣ Busy
‣ Away
‣ Invisible
‣ Offline
Two of these statuses have additional functionality. The Invisible status
lets you see which of your contacts are online, but does not allow them to
see that you are online. The Offline status logs you out entirely; you will
not be able to see which of your contacts are online, nor can they see you or
chat with you.
You can change your status in one of two ways. The first method is
in the main Empathy window from the drop-down list at the top of the
window.
The same drop-down list lets you set a custom status by choosing “Cus-
tom Message…” next to the icon that matches your status. Enter what you
would like your status to say, and click on the green check mark.
The second method is to click the Messaging Icon on the menu bar, as
shown in figure 3.14. From this menu, you will see all of the same options
that Empathy presents, but accessible without having to open Empathy.
Desktop Sharing
Desktop sharing is a very nice feature available with Ubuntu. It can be used
for a lot of purposes, like troubleshooting, online meetings, or just showing
off your cool desktop to your friend. It is very easy to get remote desktop
sharing working between two Ubuntu machines.
To share your screen, you will first have to set up Desktop Sharing. Open
the Desktop Sharing application from the Dash (see The Dash). Next, select
Allow other users to view your desktop; you may want to deselect Allow
other users to control your desktop.
After you have Desktop Sharing configured, open Empathy. To begin
sharing your desktop, right-click on the contact you wish to share your
desktop with, and select Share my desktop.
It should be noted that the other user will obviously be able to see the
information displayed on your screen. Please be sure to keep this in mind
if you have documents or files that are of a private nature open on your
desktop.
If you need to add more accounts after the initial launch of Empathy, open
the Empathy menu on the menu bar, then select Accounts. Empathy will
then display the Online Accounts manager window.
Editing an account
You might need to edit the details of an account. Select the account you
want to change on the left side of the Online Accounts window then click
the Options button for Empathy. The Online Accounts manager should
62 getting started with ubuntu 14.04
show the current information for the account. Once you have made your
changes, click Done.
Editing contacts
Adding a contact
To add a contact open Empathy ‣ Contacts ‣ Add contacts.. from the menu
bar. Empathy opens the “New Contact” window.
In the Account drop-down list, choose the account you want to add
contacts for. When creating a contact you must select the service that
matches the service your contact is using.
After choosing the account you wish to add the contact to, enter their
login id, their username, their screen name, or their email address in the
Identifier text field. Next, in the Alias text field, enter the name you want to
see in your contact list. Click Add to add the contact to your list of contacts.
Removing a contact
Right click on the contact that you want to remove, then select Remove.
This will open the “Removing contact” window. Click on the Delete button
to confirm that you want to remove this contact, or click Cancel to keep the
contact.
Importing Photos
When you launch Shotwell Photo Manager for the first time, you will be
greeted with the “Welcome!” window which provides instructions on how
to import photos. Click OK. You can now import photos by dragging photos
into the Shotwell Photo Manager window or by connecting your camera or
external storage device to the computer.
From a digital camera Connect your camera to the computer using the
data cable, and power on your camera. If your camera is properly detected,
you will see a new window prompting you to launch an application. Select
Shotwell Photo Manager in the drop-down menu, then click OK. Your
camera will be listed in the Shotwell Photo Manager sidebar. Select your
camera in the sidebar. You will see a preview of the contents stored in the
camera’s memory. Select individual photos by pressing and holding Ctrl
and clicking on each photo you want to import, and then click Import
working with ubuntu 63
Selected on the bottom bar of the window. Or, you can choose to import all
photos by clicking Import All.
From your computer You can import photos into Shotwell Photo Manager
by dragging photos from the file browser into the Shotwell Photo Manager
window. Alternatively, you can click File ‣ Import From Folder, then select
the folder containing the photos you want to import.
From external hard drive, usb flash drive, or cd/dvd Importing photos
from external storage is similar to importing from your computer. Your
external storage device may also appear under the Camera label on the
Shotwell Photo Manager sidebar. Follow the instructions for importing from
a camera or computer.
The default location for the Shotwell Photo Manager Library is your Pic-
tures folder in your home directory. When importing pictures using the
“Import” window, you will be given the option to copy the files to your
Library or keep the files in place.
If you have your photos stored on your computer, the option Import in
Place will be suitable. This will prevent photos from being duplicated. If
you are importing photos from an external source, such as a portable hard
drive, usb flash drive, or cd/dvd, you should select Copy into Library so
the photos are copied to your computer—otherwise the photos won’t appear
when you remove the external source.
Viewing photos
the backward and forward arrows, zoom in on the image using the slider,
pan by clicking and dragging the image, and exit the full-window view by
double-clicking the image.
To view the collection in full-screen mode, press F11 or go to View ‣
Fullscreen. You can navigate through the collection using the toolbar by
moving your mouse to the bottom of the screen. To view a slideshow pre-
sentation of the collection, press F5 or go to View ‣ Slideshow. Press the Esc
key to exit the Fullscreen or Slideshow views.
Organizing photos
Shotwell Photo Manager makes finding photos of the same type easier by
using tags. You can apply as many tags to a photo as you like. To apply tags
to photos, first select the photos. Then right-click on the photos and select
Add Tags. Enter the tags you want into the text field, separated by commas.
If you are adding new tags, these will appear in the side bar on the right
under the Tags label.
Editing images
You may want to edit some of the photos you import into Shotwell Photo
Manager. For example, you may want to remove something at the edge,
adjust the color, reduce the red-eye effect, or straighten the image. To edit a
photo, double-click on the photo you want to edit, and then click on one of
the following buttons:
Rotate
Click Rotate to rotate the image 90° clockwise. You can click the button
more than once and it will rotate the image clockwise in 90° intervals.
Crop
Click Crop to change the framing of the photo. The image will darken and a
selection will appear. Adjust the selection to your desired crop by dragging
a corner or side. If you want to choose a specific aspect ratio, use the drop-
down menu to select one of the preset ratios or enter your own custom
ratio. A pivot button is provided to change your selection from landscape to
portrait and vice versa. Once you are happy with the selection, click OK to
apply the crop or Cancel to discard it.
Red-eye reduction
If you have taken a photo and the flash has caused the subject to have red
eyes, you can fix this problem in Shotwell Photo Manager.
Click the Red-eye button. A circle will appear.
Drag this circle over one of the subjects eyes and then use the slider to
adjust the circle size.
When the circle is over the eye, click Apply to fix the red eye. You will
need to repeat this for each individual eye. Use caution when adjusting
the size of the circle. A circle too large that covers the skin may cause
discoloration when applying the red-eye reduction.
working with ubuntu 65
Adjust
Clicking Adjust will bring up a window that lets you edit a few things:
Level Similar to contrast
Exposure How bright the image is
Saturation How colorful the image is
Tint The overall color
Temperature Whether the image is warm (more yellow) or cool (more blue)
Shadows How dark the shadows are
To change these values, drag the sliders until you are satisfied with the
image. Click OK to apply the changes, Reset to undo the changes and start
over, or Cancel to discard the changes.
When you edit a photo in Shotwell Photo Manager, your original image re-
mains untouched. You can undo all of the changes and revert to the original
version by right-clicking on the photo, then selecting Revert to Original.
This option is only available for edited photos.
You can easily share your photos on the web using Shotwell Photo Man-
agers’s Publish feature. Select the photos you want to share, then go to the
top menu and click File ‣ Publish. A new window will appear asking where
the photos are to be published. Choose Facebook, Flickr, or Picasa Web Al-
bums in the upper right-hand drop-down menu. Some services may require
you to authorize Shotwell Photo Manager before allowing the application to
publish photos. Follow the instructions in the window, select your desired
options, and click Publish to upload your images to the web.
Further information
To watch videos or dvds in Ubuntu, you can use the Videos application. To
start Videos, click on the Dash, then search for “Videos” and select it. This
will open the “Videos” window.
Codecs
Legal Notice: Patent and copyright laws differ depending on which country you
are in. Please obtain legal advice if you are unsure whether a particular patent or
restriction applies to a media format you wish to use in your country.
So that you can play all videos and dvds, you will need to install codecs.
To install the codecs, open the Ubuntu Software Center either through the
Dash or the Launcher. When the “Ubuntu Software Center” window opens,
use the search box in the top right and search for the following:
‣ ubuntu-restricted-extras
‣ libdvdread4
‣ libdvdnav4
Double-click each item above and then click the Install button. This
may open an “Authenticate” window. If so, enter your password, then click
Authenticate to start the installation process.
Open the Movie menu, then select Open…. This will open the “Select
Movies or Playlists” window. Find the file or files that you want to play
and click on the Add button. The video or videos will start playing.
Playing a DVD
When you insert a dvd in the computer, Ubuntu should open the “You have
just inserted a Video dvd. Choose what application to launch” window.
Make sure that Open Movie Player is chosen in the drop-down list and
then click OK. The “Movie Player” window will open and the movie will
begin.
If the “Movie Player” window is already open, open the Movie menu,
then select Play Disc… and the movie will begin.
Ubuntu comes with the Rhythmbox Music Player for listening to your
music, streaming Internet radio and managing playlists and podcasts.
Rhythmbox can also help you find and purchase music, along with man-
aging subscriptions to your favorite rss feeds.
working with ubuntu 67
Starting Rhythmbox
‣ Open the Dash, type Rhythmbox or Music and click on the Rhythmbox
Music Player icon.
‣ Ubuntu comes with an indicator menu in the top bar for sound-related
applications and devices. This indicator looks like a speaker. After you’ve
opened Rhythmbox the first time, a link to start Rhythmbox and basic
controls will be placed here.
If you close Rhythmbox by pressing Alt+F4 or clicking the red close button
( ), it will disappear from view but continue to play in the background.
You can still control your music or reopen from the sound indicator. To quit
Rhythmbox completely, press Ctrl+Q or choose Music ‣ Quit from the menu
bar.
Playing music
To play music, you must first import music into your library. Choose Mu-
sic ‣ Add Music… or press Ctrl+O on your keyboard to import a folder con-
taining audio files. You can use the dropdown box to select the folder where
your music resides or click the Other option to find an alternate folder.
The Rhythmbox toolbar contains most of the controls that you will use
for browsing and playing your music. If you want to play a song, double-
click a track; or click it and press the Play button on the toolbar, choose
Control ‣ Play from the menu bar, or press Ctrl+Space. When a song is
playing, the Play button will become a Pause button. Use this button, Con-
trol ‣ Play, or Ctrl+Space to toggle between playing and pausing the track.
Next and Previous buttons are next to the Play/Pause button. Click on
these buttons to play the next and previous songs in your library or playlist.
Rhythmbox also has options to toggle repeat mode (Repeat, Control ‣
Repeat or Ctrl+R) and shuffle mode (Shuffle, Control ‣ Shuffle or Ctrl+U).
68 getting started with ubuntu 14.04
To play your cd, insert it into your cd drive. It will automatically appear
within Rhythmbox in the Side Pane beneath your Music Library. You can
click the cd (named Audio cd, or the name of the album) and double-click a
track in it to play the tracks on the cd.
Rhythmbox is pre-configured to enable you to stream audio from various Streaming audio stations are “radio stations”
sources. These include Internet broadcast stations (Radio from the Side that broadcast over the Internet. Some of these
are real radio stations that also stream over the
Pane), Last.fm and Libre.fm. To listen to an Internet radio station, click on Internet, and others broadcast only over the
the Radio icon in the Side Pane for a list of pre-configured stations. You can Internet.
filter by genre in the middle pane. To add a new radio station, select Add
and enter the radio station url. You can browse a selected list of radio stations
at http://en.wikipedia.org/wiki/List_of_
Internet_stations or you can use your browser
Connect digital audio players to search for “Internet radio stations.”
Rhythmbox can connect with many popular digital media players. Con-
nected players will appear in the Devices list. Features will vary depending
on the player (and often the player’s popularity), but common tasks like
transferring songs and playlists should be supported. If your device isn’t
show on the Devices list, try searching for it by clicking on the Music ‣
Check for New Devices.
If you are on the same network as other Rhythmbox users (or most other DAAP stands for “Digital Audio Access Proto-
music player software), you can share your music and listen to their shared col,” and is a method designed by Apple to let
software share media across a network.
music. To do this, click Music ‣ Connect to DAAP Share… Then enter the
ip address and the port number. Click OK. Clicking a shared library will
enable you to browse and play songs from other computers.
Manage podcasts
Rhythmbox can manage all of your favorite podcasts. Select Podcasts from
the Side Pane to view all added podcasts. The toolbar will display additional
options to Browse, Show All, Add and Update. Choose Add on the toolbar
and enter the url of the podcasts to save it to Rhythmbox. Podcasts will be
automatically downloaded at regular intervals or you can manually update
feeds. Select an episode and click Play. You can also delete episodes.
Party mode
Rhythmbox comes with the option of a “party mode.” To enter party mode
press F11 on your keyboard or use the global menu bar (View ‣ Party
Mode); to exit from party mode press F11 again. Rhythmbox also has a
browser bar that is enabled by default (this area is the top-right half of the
program window). It gives you the option to search your music by artist or
album.
Rhythmbox preferences
The default configuration of Rhythmbox may not be exactly what you want.
Choose Edit ‣ Preferences to alter the application settings. The Preferences
tool is broken into four main areas: general, playback, music, and Podcasts.
General includes how you want Rhythmbox to display artist and track
information. You can adjust the columns visible in your library and how
the toolbar icons are displayed.
Playback options allow you to enable crossfading and the duration of the
fade between tracks.
Music includes where you would like to place your music files and the
library structure for new tracks added to Rhythmbox. You can also set
your preferred audio format.
Podcasts designates where podcasts are stored on your computer along
with the ability to change how often podcast information is updated.
Plugins
the actual songs, but only reference them. So, if you remove a song from
a playlist (right-click on the song ‣ Remove from Playlist), the song will
remain in your library and on your hard drive.
To create a playlist, choose Music ‣ Playlist ‣ New Playlist, press Ctrl+N,
or right-click in the lower blank area of the side bar and select New Playlist.
It appears in the sidebar as “New Playlist.” Right-click and select Rename
to give the new playlist a name of your choosing. Drag songs from your
library to the new playlist in the side pane or right-click on songs and select
Add to Playlist and pick the playlist.
Smart Playlists are created in a similar way. Choose Music ‣ Playlist ‣
New Automatic Playlist or right-click in the lower blank area of the side
bar and select New Automatic Playlist. Define the filter criteria. You
can add multiple filter rules and select a name. Save. You can update any
playlist (including the predefined ones) by right-clicking on the name and
choosing Edit.
Rhythmbox supports song ratings. Right-click a song in your library ‣
Properties ‣ Details and click on the number of stars. To remove a rating,
select zero stars. Other song information such as Title, Artist and Album
can be changed. Right-click a song in your library ‣ Properties ‣ Basic.
To remove a song, right-click ‣ Remove. To delete a song from your hard
drive entirely, right-click ‣ Move to the Rubbish Bin. If you ever want to
move a song, highlight the song (or group of songs) from your library and
drag it to a folder or to your desktop. This will make a copy of the audio file
in the new location.
Audio codecs
Different audio files (mp3, wav, aac, ogg, etc.) require unique tools to de-
code them and play the contents. These tools are called codecs. Rhythmbox
attempts to detect any missing codecs on your system so you can play all of
your audio files. If a codec is missing, it automatically tries to find the codec
online and guides you through its installation.
Rhythmbox support
Rhythmbox is used by many users throughout the world. There are a vari-
ety of support resources available in many languages.
To create a cd or dvd, open the Dash and search for Brasero Disc Burner.
Once you find Brasero, double-click it. This opens the Brasero application.
The burning options appearing within Brasero are explained below.
Getting Started
Before you can use Brasero, you need to Create a new project. There are
three types of media projects available: Audio Project, Data Project, and
working with ubuntu 71
Video Project. There are also two utility projects available: Disc Copy and
Burn Image. Make your selection based on your requirements. At this current time, Brasero does not support
The following options apply for all projects except Disc Copy and Burn Blu-Ray.
Image.
To add files to the list, click the + button. This button will open the “Select
Files” window. Navigate to the file you want to add, click the desired file,
then click the Add button. Repeat this process for each file until all desired
files have been added.
Removing files
If you want to remove a file from the project, click the file in the list and
click on the - button. To remove all the files in the list click on the Broom
shaped button.
Saving a project
When you click the Burn… button, you will see the “Properties of …” win-
dow.
You can specify the burning speed in the Burning speed drop-down. It is
best to choose the highest speed.
To burn your project directly to the disc, select the Burn the image
directly without saving it to disc option. With this option selected, no
image file is created, and no files are saved to the hard disk. All data is
saved to the blank cd or dvd. Note that Brasero only burns information
72 getting started with ubuntu 14.04
onto standard CDs and DVDs; Brasero does not burn data onto Blu-Ray
DVDs at this time.
The Simulate before burning option is useful if you encounter problems
burning discs. Selecting this option allows you to simulate the disc burning
process without actually writing data to a disc—a wasteful process if your
computer isn’t writing data correctly. If the simulation is successful, Brasero
will burn the disc after a ten second pause. During those ten seconds, you
have the option to cancel the burning process.
Blanking a disk
Audio project
If you record your own music, then you may want to transfer this music
onto an audio cd so your friends and family can listen. You can start an
audio project by clicking Project ‣ New Project ‣ New Audio Project.
When burning a music cd, it is important to remember that commercial
music cds usually contains a two-second gap between the songs. To ensure
your music has this same gap between songs, click the file and then click
the pause button.
You can slice files into parts by clicking the Knife button. This opens a
“Split Track” window. The Method drop-down gives you four options; each
option lets you split the track in a different way. Once you have split the
track, click OK.
In the drop-down list at the bottom of the main “Brasero” window, make
sure that you have selected the disc where you want to burn the files. Then
click the Burn button.
Data project
Video project
If you want to make a dvd of your family videos, it would be best to make a
video project.
working with ubuntu 73
You can start a video project by clicking Project ‣ New Project ‣ New
Video Project.
In the drop-down list at the bottom of the main “Brasero” window, be
sure to select the disc where you want to burn the files. Then click the Burn
button.
Disc copy
You can copy a disc by clicking Project ‣ New Project ‣ Disc copy. This
opens the “Copy cd/dvd” window.
If you have two cd/dvd drives, you can copy a disc from one to the
other, assuming the source disc is in one drive and the destination disc (with
blank media) is in the other drive. If you have only one drive you will need
to make an image and then burn it to a disc. In the Select disc to copy drop-
down choose the disc to copy. In the Select a disc to write to drop-down
either choose image file or the disc that you want to copy to.
Image file
You can make an image file of your data as well. An image is a single-file
representation of the contents of the disk. The file usually has an .iso or
.img extension. An image file is similar to a set of zipped files. Change
where the image file is saved by clicking Burn…. This shows the “Location
for Image File”. You can edit the name of the file in the Name: text field.
The default location to save the image file is your home folder, but you
can change the location by clicking the + button next to Browse for other
folders. Once you have chosen where you want to save the photo or image,
click Close.
Returning to the “Copy cd/dvd” window, click Create Image. Brasero
will open the “Creating Image” window and will display the job progress.
When the process is complete, click Close.
Burn image
To burn an image, open the Project ‣ New Project ‣ Burn Image. Brasero
will open the “Image Burning Setup” window. Click on the Click here to
select a disc image drop-down and the “Select Disc Image” window will
appear. Navigate your way to the image you wish to burn, click on it, and
then click Open.
In the Select a disc to write to drop-down menu, click on the disc to
which you’d like to write, then click Create Image.
LibreOffice Suite is the default office suite when working with documents,
spreadsheets, and slide presentations.
If you need to work with documents, you can use the LibreOffice Word Pro- The LibreOffice Word Processor is known as
cessor. Writer has all the features you need from a modern, full-featured LibreOffice Writer. LibreOffice Spreadsheet is
known as Calc, and LibreOffice Presentation is
word processing and desktop publishing tool including an in-built PDF known as Impress.
creator as well as the feature of saving documents under current formats
from .doc to .txt files. It’s simple enough for a quick memo, and yet pow-
erful enough to create complete books with contents, diagrams, indexes,
74 getting started with ubuntu 14.04
and more. You’re free to concentrate on your message, while Writer will
make it look great. To start the word processor, open the Dash and search
for LibreOffice Writer. Then select LibreOffice Writer.
If you need to work with spreadsheets, you can use LibreOffice Spreadsheet
(Calc). Calc is the spreadsheet program you’ve always needed. Newcomers
find it intuitive and easy to learn. Professional data miners and number
crunchers will appreciate the comprehensive range of advanced functions.
To start the spreadsheet application, open the Dash and search for LibreOf-
fice Calc. Then select LibreOffice Calc.
If you need to work with slides for a presentation, you can use LibreOffice
Impress. Impress is a truly outstanding tool for creating effective multi-
media presentations. Your presentations can be enhanced with 2D and 3D
clip art, special effects and transition styles, animations, and high-impact
drawings. To start the presentation application, open the Dash and search
for LibreOffice Impress. Then select LibreOffice Impress.
Ubuntu supports a wide range of hardware, and support for new hardware
improves with every release.
Hardware identification
There are various ways to identify your hardware in Ubuntu. The easiest
would be to install an application from the Ubuntu Software Center, called
Sysinfo.
Firstly, open the “Ubuntu Software Center”, then use the search box in
the top right corner to search for sysinfo. Select the Application, click
Install. Enter your password when prompted, to install the application.
To run the application, search for Sysinfo at the Dash search bar. Click
on the program once you find it. The Sysinfo program will open a window
that displays information about the hardware in your system.
Displays
Hardware drivers
One of the most common display related tasks is setting the correct screen
resolution for your desktop monitor or laptop.
Ubuntu correctly identifies your native screen resolution by itself and Displays are made up of thousands of tiny
sets it for you. However, due to a wide variety of devices available, some- pixels. Each pixel displays a different color,
and when combined they all display the image
times it can’t properly identify your resolution. that you see. The native screen resolution is a
To set or check your screen resolution, go to System Settings ‣ Displays. measure of the amount of actual pixels on your
The “Displays” window detects automatically the type of display and shows display.
your display’s name, size. The screen resolution and refresh rate is set to
the recommended value by Ubuntu. If the recommended settings are not to
your liking, you can change the same from the Resolution drop-down to
the resolution of your choice. Ubuntu 14.04 now includes HiDPI settings in
the System Settings Display module. You can now scale menu and title bars
according to your viewing needs.
Sometimes, you may want to add more than one display device to your
desktop, or may want to add an external monitor to your laptop. Doing
this is quite simple. Whether it’s an extra monitor, lcd tv, or a projector,
Ubuntu can handle it all. Ubuntu supports the addition of multiple displays
by default, which is as easy as plug and play.
Ubuntu recognizes almost all the latest monitors, tvs and projectors
by default. Sometimes it may happen that your additional display is not
detected when you connect it to the machine. To resolve this, go to Sys-
tem Settings ‣ Displays and click on Detect Displays. This will detect the
monitors connected to the machine. This menu can also be found from the
Power Off menu on the top panel. You can also search for Displays at the
Dash search bar.
Now, there are two modes which you can enable for your displays. One
option is to spread your desktop across two or more monitors. This is par-
ticularly useful if you are working on multiple projects and need to keep
an eye on each of them at the same time. You can configure the screen to
be on any side of your primary screen i.e. to your right, your left or on the
top(particularly nice if you are working on a large screen i.e. a big monitor
or a TV connected to your 12-13 inch laptop); just move the screen on the
Displays settings to the side of your choice.
hardware 77
The second option is to mirror the desktop onto each of the displays.
This is useful when you are using a laptop to display something on a larger
screen e.g. projector. To enable this option just check the box beside Mir-
ror displays and click Apply to save the settings. You will get a pop-up
notification asking if you want to keep the current setting or revert to the
previous setting. Click to keep the current setting. Starting from Ubuntu
12.04, you can also select whether you want the Unity Launcher in both the
displays or only in the primary display. Ubuntu 14.04 LTS inherited better
multi-monitor support for higher resolutions introduced in Ubuntu 13.04.
Ubuntu supports most new printers. You can add, remove, and change
printer properties by navigating to System Settings ‣ Printing. You can also
search for Printing from the Dash search bar. Opening Printing will display
the “Printing-localhost” window.
When you want to add a printer, you will need to make sure that it is
switched on, and plugged into your computer with a usb cable or connected
to your network.
If you have a printer that is connected to your computer with a usb cable
then this is termed a local printer. You can add a printer by clicking on the
Add Printer button.
In the left hand pane of the “New Printer” window any printers that you
can install will be listed. Select the printer that you would like to install and
click Forward.
You can now specify the printer name, description and location. Each of If your printer can automatically do double
these should remind you of that particular printer so that you can choose sided printing, it will probably have a duplexer.
Please refer to the instructions that came with
the right one to use when printing. Finally, click Apply. the printer if you are unsure. If you do have a
duplexer, make sure the Duplexer Installed
option is checked and then click the Forward
Adding a network printer button.
Make sure that your printer is connected to your network either with an
Ethernet cable or via wireless and is turned on. You can add a printer by
clicking Add Printer. The “New Printer” window will open. Click the “+”
sign next to Network Printer.
If your printer is found automatically it will appear under Network
Printer. Click the printer name and then click Forward. In the text fields
you can now specify the printer name, description and location. Each of
these should remind you of that particular printer so that you can choose
the right one to use when printing. Finally click Apply.
You can also add your network printer by entering the ip address of the The default printer is the one that is automat-
printer. Select “Find Network Printer,” enter the ip address of the printer ically selected when you print a file. To set a
printer as default, right-click the printer that
in the box that reads Host: and press the Find button. Ubuntu will find the you want to set as default and then click Set As
printer and add it. Most printers are detected by Ubuntu automatically. If Default.
Ubuntu cannot detect the printer automatically, it will ask you to enter the
make and model number of the printer.
Printer options allow you to change the printing quality, paper size and
media type. They can be changed by right-clicking a printer and choosing
78 getting started with ubuntu 14.04
Properties. The “Printer Properties” window will show; in the left pane,
select Printer Options.
You can now specify settings by changing the drop-down entries. Some
of the options that you might see are explained.
Media size
This is the size of the paper that you put into your printer tray.
Media source
Color Model
Media type
‣ Plain Paper
‣ Automatic
‣ Photo Paper
‣ Transparency Film
‣ cd or dvd Media
Print quality
This specifies how much ink is used when printing, Fast Draft using the
least ink and High-Resolution Photo using the most ink.
Sound
A volume icon is present on the top panel which provides quick access to a
number of audio related functions. When you click on the volume icon you
are greeted with four options: A mute option at the very top, a slider button
which you can move horizontally to increase/decrease volume, a shortcut to
the default music player, Rhythmbox, and an option for accessing the Sound
Settings. Selecting Sound Settings opens up another window, which provides
access to options for changing input and output hardware preferences for
speakers, microphones and headphones. It also provides options for setting
the volume level for each application. Sound Settings can also be found
from System Settings. It is known as Sound.
hardware 79
Output The Output tab will have a list of all the sound cards available A microphone is used for making audio/video
in your system. Usually there is only one listed; however, if you have a calls which are supported by applications like
Skype or Empathy. It can also be used for sound
graphics card which supports hdmi audio, it will also show up in the list. recording.
The Output tab is used for configuring the output of audio. You can in- If you change your sound output device, it will
crease/decrease and mute/unmute output volume and select your preferred remain as default.
output device. If you have more than one output device, it will be listed in
the section which reads “Choose a device for sound output.” The default
output hardware, which is automatically detected by Ubuntu during instal-
lation will be selected. This section also allows you to change the balance
of sound on the left and right speakers of your desktop/laptop. A new op-
tion introduced in Ubuntu 14.04 LTS will allow you to increase the output
volume past 100. You need to check the box ”Allow louder than 100
Input The second tab is for configuring audio Input. You will be able to You should note that by default in any Ubuntu
use this section when you have an in-built microphone in your system or installation, the input sound for mic is either
very low or muted. You will have to manually
if you’ve plugged in an external microphone. You can also add a Bluetooth increase the volume or unmute the input to
headset to your input devices which can serve as a microphone. You can enable your microphone to record sound or use
increase/decrease and mute/unmute input volume from this tab. If there is it during audio/video calls.
more than one input device, you will see them listed in the white box which
reads Choose a device for sound input. If you run VoIP applications such as
Skype, you will find the microphone slider just below the volume slider in
the top panel sound menu during a voice or video call. By default, the volume in Ubuntu is set to
maximum during installation.
Sound Effects The third tab is Sound Effects. You can enable, disable, or You can add new sound themes by installing
change the existing sound theme from this section. You can also change the them from Software Center (e.g., Ubuntu
Studio’s GNOME audio theme.) You will get the
alert sounds for different events. installed sound themes from the drop-down
menu. You can also enable window and button
sounds.
Applications The Applications tab is for changing the volume for running
applications. This comes in handy if you have multiple audio applications
running, for example, if you have Rhythmbox, Totem Movie Player and a
web-based video playing at the same time. In this situation, you will be able
to increase/decrease, mute/unmute volume for each application from this
tab.
More functionality
The icon can control various aspects of the system, application volume
and music players like Rhythmbox, Banshee, Clementine and Spotify. The
volume indicator icon can now be easily referred to as the sound menu,
given the diverse functionality of the icon. Media controls available include You can start and control the default music
play/pause, previous track, and next track. You can also switch between player, Rhythmbox, by simply left clicking on
the sound menu and selecting Rhythmbox from
different playlists from the Choose Playlist option. If the current playing the list. Clicking the play button also starts the
song has album art, it will show up beside the name of the current track, player.
otherwise you will see only the details of the song. It displays the track
name, the artist name and the album name of the current track.
Using a webcam
Webcams often come built into laptops and netbooks. Some desktops, such
as Apple iMacs, have webcams built into their displays. If you purchase a
webcam because your computer doesn’t have its own, it will most likely
have a usb connection. To use a usb webcam, plug it into any empty usb
port of your desktop.
80 getting started with ubuntu 14.04
Almost all new webcams are detected by Ubuntu automatically. You can There are several applications which are useful
configure webcams for individual applications such as Skype and Empathy if you have a webcam. Cheese can capture
pictures with your webcam and VLC media
from the application’s setup menu. For webcams which do not work right player can capture video from your webcam.
away with Ubuntu, visit https://wiki.ubuntu.com/Webcam for help. You can install these from the Ubuntu Software
Center.
If your scanner is not detected, Ubuntu may give you a “No devices avail-
able” message when trying to scan. There may be a reason why Ubuntu
cannot find your scanner.
‣ Simply unplug the scanner and plug it back in. If it is a newer usb scan-
ner, it is likely that it will just work.
‣ The driver for your scanner is not being automatically loaded. Restart
your system. It might help!
‣ Your scanner is not supported in Ubuntu. The most common type
of scanner not supported is old parallel port or Lexmark All-in-One
printer/scanner/faxes.
‣ sane project listing of supported scanners. The sane (Scanner Access
Now Easy) project provides most of the back-ends to the scanning soft-
ware on Ubuntu.
‣ Check https://wiki.ubuntu.com/HardwareSupportComponentsScanners
to find out which scanners work with Ubuntu.
The keyboard and mouse are essential input devices for a large number
of computer users today. There are many different makes and models of
keyboards and mice, including lots of keyboards with support for different
languages.
In this section we will look at the different settings for your keyboard
and mouse. This will be of great use to international users.
Keyboard
The keyboard is likely to be one of the main ways that you interact with
your computer. Unfortunately not all keyboards are uniform in design;
hardware 81
A mouse is another mode of input and goes hand in hand with the key-
board. Ubuntu supports all types of plug and play mice, including touch-
pads and trackballs. If you are planning to use a mouse with your laptop,
just plug it in and Ubuntu will recognize it instantly.
There is a settings menu under System Settings ‣ Mouse and Touch-
pad where you can change the mouse settings such as double-click speed,
pointer speed, drag and drop threshold and left handed or right handed
clicks. If you are using touchpad on your laptop/netbook you can also in-
crease the sensitivity of your touchpad. You can also enable horizontal, edge
scrolling and two finger scrolling on your laptop/netbook.
Ubuntu has full support for multitouch gestures. This means that anyone
with a touch-enabled device or interface can use the multitouch features.
Once triggered, resizing and moving windows in touch-friendly devices can
be done using three fingered tap on an application window.
Ubuntu also supports two-finger scrolling similar to Apple os x laptops
and desktops. This setting can be enabled from System Setting ‣ Mouse
and Touchpad ‣ Touchpad. Select “Two-finger scrolling” from the Scrolling
options. You can also search for Mouse and Touchpad from the Dash search
bar and enable the option. Please note that enabling two finger scrolling
will disable edge scrolling.
Other devices
USB
usb ports are available as standard on almost all computers available now.
They are used to connect a multitude of devices to your computer. These
could include portable hard drives, flash drives, removable cd/dvd/Blu-ray
drives, printers, scanners and mobile phones.
When connected, flash drives and portable hard drives are automatically
detected—the file manager will open and display the contents of the drive.
You can then use the drives for copying data to and from the computer.
All new cameras, camcorders and mobile phone sd cards are automati-
cally detected by Ubuntu. These sd cards have different types of data, so a
window will appear with a drop-down menu to choose between video, au-
dio import and the file manager—you can choose your desired action from
this menu.
Firewire
Firewire is a connection on some computers that allows you to transfer data Firewire is officially known as IEEE 1394. It
from devices. This port is generally used by camcorders and digital cameras. is also known as the Sony i.LINK and Texas
Instruments Lynx.
82 getting started with ubuntu 14.04
Bluetooth
Ubuntu and various other Linux variants use a collection of software tools
called a package management system, or package manager. A package man-
ager is a collection of tools that make installing, deleting, upgrading, and
configuring software easy. A package management system has a database
of software called a repository where individual software is arranged into
a collection called a packages. These packages, apart from the software,
contain important information about the software itself, such as the soft-
ware’s name, description, version, name of the vendor, and a list of various
dependencies upon which the software relies for proper installation.
Most other operating systems require a user to purchase commercial
software (online or through a physical store) or search the Internet for
a free alternative (if one is available). The correct installation file must
then be verified for integrity, downloaded, and located on the computer,
followed by the user proceeding through a number of installation prompts
and options. A package management system removes the user interaction
from these steps and automates most, if not all, of the installation process.
Ubuntu comes with a package management system called Advanced
Packaging Tool or apt.
As discussed in Chapter 3: Working with Ubuntu, Ubuntu offers a wide
range of applications for your daily work. Ubuntu comes with a basic set
of applications for common tasks, like surfing the Internet, checking email,
listening to music, and organizing photos and videos. At times, you may
need an extra level of specialization. For example, you may want to retouch
your photos, run software for your business, or play new games. In each of
these cases, you can search for an application, install it, and use it—usually
with no extra cost.
By default, Ubuntu provides a centralized point with two different ways Figure 5.1: Software Center icon
to browse the repositories for searching, installing, and removing software.
The Ubuntu Software Center displays different sources in the “All Software”
section. Clicking the arrow next to “All Software” will show a list of in-
dividual sections. Selecting “Provided by Ubuntu” will show free, official
software management 85
software. “For Purchase” will show software available to buy, and “Canoni-
cal Partners” will show software from partners of Canonical, such as Adobe.
If you are looking for an application, you may already know its specific
name (for example, vlc Media Player), or you may just have a general
category in mind (for example, the Sound and Video category includes a
number of different software applications, such as video converters, audio
editors, and music players).
To help you find the right application, you can browse the Software Cen-
ter catalog by clicking on the category reflecting the type of software you
seek. When you select a category, you will be shown a list of applications.
Some categories have sub-categories—for example, the Games category has
subcategories for Simulation and Card Games. To move through categories,
use the back and forward buttons at the top of the window.
As you view a category of software, you’ll notice a search box in the
upper-right corner of the window. This search box can be used for specific
names or keyword searches within this category.
Installing software
Once you have found an application you would like to try, installing it is
just one click away.
To install software:
1. Click the Install button to the right of the selected package. If you would
like to read more about the software package before installing it, first
click on More Info button just below the selected software. This will take
you to a short description of the application as well as a screenshot and
a web link when available. Related add-ons will be listed below the ap-
plication’s description. You can click Install from this screen as well. You
must be connected to the Internet in order to install software through the
Ubuntu Software Center. To learn how to set up your Internet connec-
tion, see Getting online.
2. After clicking Install, enter your password into the authentication win-
dow. This is the same password you use to log in to your account. You
are required to enter your password whenever installing or removing
86 getting started with ubuntu 14.04
Removing software
Software history
Software Recommendations
Software Sources
The Ubuntu Software Center lists only those applications that are available
in your enabled repositories. Repositories can be added or removed through
the Software & Updates application. You can open Software & Updates from
the Ubuntu Software Center. Simply go to Edit ‣ Software Sources… or open
the hud (left Alt key) and search for “sources.”
When you open Software & Updates, you will see the Ubuntu Software tab
where the first four options are enabled by default.
Distance to server. This will affect the speed you can achieve with the file
server—the closer the server to your location, the faster the potential
connection.
Internet Service Provider. Some Internet service providers offer low-cost or
unlimited free downloads from their own servers.
Quality of server. Some servers may only offer downloads at a capped
speed, limiting the rate at which you can install and update software on
your computer.
1. Click the dropdown box next to “Download from:” in the Software &
Updates window.
2. Select “Other…” from the list.
3. In the “Choose a Download Server” window, click the Select Best Server
button in the upper-right. Your computer will now attempt a connection
with all the available servers, then select the one with the fastest speed.
90 getting started with ubuntu 14.04
If you are happy with the automatic selection, click Choose Server to
return to the Software & Updates window.
If you are not happy with the automatic selection or prefer not to use
the tool, the fastest server is often the closest server to you geographically.
In this case, simply choose “Other” then find the nearest location to your
location. When you are happy with the selection, click Choose Server to
return to the Software & Updates window.
If you do not have a working Internet connection, updates and programs
can be installed from the installation media itself by inserting your media
and clicking the box under “Installable from cd-rom/dvd.” Once this box
is checked, the media within the cd-rom/dvd drive will function as an
online repository, and the software on the media will be installable from the
Ubuntu Software Center.
Return to the “Software & Updates” window, and in the Other Software
tab, click Add… at the bottom. A new window will appear, and you will
see the words “Apt line:” followed by a text field. Right-click on the empty
software management 91
space in this text field and select Paste. You should see appear the url you
copied from the ppa’s Launchpad site earlier. Click Add Source to return
to the “Software & Updates” window. You will see a new entry has been
added to the list of sources in this window with a selected check box in
front (meaning it is enabled).
If you click Close in the bottom right corner of this window, a message
will appear informing you that “The information about available software
is out-of-date.” This is because you have just added a new repository to
Ubuntu, and it now needs to connect to that repository and download a list
of the packages it provides. Click Reload, and wait while Ubuntu refreshes
all of your enabled repositories (including this new one you just added).
When it has finished, the window will close automatically.
Congratulations, you have just added a ppa to your list of software
sources. You can now open the Ubuntu Software Center and install appli-
cations from this ppa in the same way you previously installed applications
from the default Ubuntu repositories.
Although Ubuntu has extensive software available, you may want to man-
ually install a software package not available in the repositories. If no ppa
exists for the software, you will need to install it manually. Before you
choose to do so, make sure you trust the package and its maintainer.
Packages in Ubuntu have a .deb extension. Double-clicking a package
will open an overview page in the Ubuntu Software Center which will give
you more information about that package.
The overview provides technical information about that package, a
website link (if applicable), and the option to install. Clicking Install will
install the package just like any other installation in the Ubuntu Software
Center.
Ubuntu also allows you to decide how to manage package updates through
the Updates tab in the Software & Updates window.
Ubuntu updates
In this section, you are able to specify the kinds of updates you wish to
install on your system. The type of update usually depends upon your
preferences with regards to system stability versus having access to the
latest developments.
Automatic updates
The middle section of this window allows you to customize how your sys-
tem manages updates, such as the frequency with which it checks for new
packages, as well as whether it should install important updates right away
(without asking for your permission), download them only, or just notify
you about them.
software management 93
Release upgrade
At the bottom of the Updates tab in the Software & Updates window, you
will see a dropdown box labeled Notify me of a new Ubuntu version:. This
option allows you to tell Ubuntu how you would like to handle release
updates. This dropdown box contains the following options for notification:
Never Choose this option if you would rather not be notified about any
new Ubuntu releases.
For any new version Choose this option if you always want to have the
latest Ubuntu release, regardless of whether it is a long-term support
release or not. This option is recommended for normal home users.
For long-term support versions Choose this option if you need a release
that will be more stable and have support for a longer time. If you use
Ubuntu for business purposes, you may want to consider selecting this
option.
Canonical will release a new version of the Ubuntu operating system ev-
ery six months. Almost every release is a normal release. However, every
fourth release—or every 2 years—Canonical releases a long-term support
(lts) version of the operating system. Long-term support releases are
intended to be the most stable releases available and are supported for a
longer period of time. Ubuntu 14.04 is an LTS release. Ubuntu 14.10 will
be a normal release.
6 Advanced Topics
Ubuntu for advanced users
To this point, we’ve provided detailed instructions on getting the most from
Ubuntu’s basic features. In this chapter, we’ll detail some of Ubuntu’s more
advanced features—like the terminal, a powerful utility that can help you
accomplish tasks without the need for a graphical user interface (gui). We’ll
also discuss some advanced security measures you can implement to make
your computer even safer.
This chapter has been written with advanced users in mind. If you’re
new to Ubuntu, don’t feel as though you’ll need to master these topics to
get the most out of your new software (you can easily skip to the next chap-
ter without any adverse impact to your experience with Ubuntu). However,
if you’re looking to expand your knowledge of Ubuntu, we encourage you
to keep reading.
Most operating systems, including Ubuntu, have two types of user inter-
faces. The first is a GUI. This is the desktop, windows, menus, and toolbars
you click to get things done. The second, much older type of interface is the
command-line interface (cli).
The terminal is Ubuntu’s CLI. It is a method of controlling some aspects
of Ubuntu using only commands that you type on the keyboard.
You can perform most day-to-day activities without ever needing to open
the terminal. However, the terminal is a powerful and invaluable tool that
can be used to perform many useful tasks you might not be able to accom-
plish with a gui. For example:
You can open the terminal by clicking Dash then searching for word “term”.
You’ll see an application named terminal. Click on this application to open
a terminal. Alternatively, you can open the terminal by hitting Ctrl+Alt+T
simultaneously.
The terminal gives you access to what is called a shell. When you type
a command in the terminal, the shell interprets this command, resulting in
the desired action. Different types of shells accept slightly different com-
mands. The most popular is called “bash,” and is the default shell in Ubuntu.
When the terminal window opens, it will be largely blank with the excep-
tion of some text at the top left of the screen, followed by a blinking block,
known as a cursor. This text is your prompt—it displays, by default, your
login name and your computer’s name, followed by the current directory.
The tilde (~) means that the current directory is your home directory. Fi-
nally, the blinking block is called the cursor—this marks where text will be
entered as you type.
To test a terminal command, type pwd and press Enter. The terminal
should display /home/yourusername. This text is called the “output.” You
have just used the pwd (print working directory) command, which outputs
(displays) the current directory.
All commands in the terminal follow the same approach: Type a com-
mand, possibly followed by some parameters, and press Enter to perform
the specified action. Parameters (also called switches) are extra segments
of text, usually added at the end of a command, that change how the com-
mand itself is interpreted. These usually take the form of -h or --help, for
example. In fact, --help can be added to most commands to display a short
description of the command, as well as a list of any other parameters that
can be used with that command.
Often, some type of output will be displayed confirming the action was
completed successfully, although this can depend on the command being
executed. For example, using the cd command to change your current direc-
tory (see above) will change the prompt but will not display any output.
The rest of this chapter covers some very common uses of the termi-
nal. Throughout the second part of this manual, we will continue to refer
to the command line, particularly when discussing steps involved in trou-
bleshooting as well as when describing more advanced management of your
computer.
advanced topics 97
Ubuntu uses the Linux file system, which is based on a series of folders
in the root directory. These folders contain important system files that
cannot be modified unless you are running as the root user or use sudo. This
restriction exists for both security and safety reasons; computer viruses will
not be able to change the core system files, and ordinary users should not
be able to accidentally damage anything vital.
We begin our discussion of the Ubuntu file system structure at the top
—also known as the root directory—as denoted by /. The root directory
contains all other directories and files on your system. Below the root
directory are the following essential directories:
Every directory has a path. The path is a directory’s full name—it de-
scribes a way to navigate the directory from anywhere in the system.
For example, the directory /home/yourusername/Desktop contains all the
files that are on your Ubuntu desktop. It can be broken down into a handful
of key pieces:
‣ /—indicates
that the path starts at the root directory
‣ home/—from the root directory, the path goes into the home directory
‣ yourusername/—from the home directory, the path goes into the you-
rusername directory
‣ Desktop—from the yourusername directory, the path ends up in the
Desktop directory
98 getting started with ubuntu 14.04
Every directory in Ubuntu has a complete path that starts with the / (the
root directory) and ends in the directory’s own name.
Directories and files that begin with a period are hidden. These are usu-
ally only visible with a special command or by selecting a specific option.
In the Files file manager, you can show hidden files and directories by
selecting the View Options button located in the upper-right of the win-
dow. This will show a dropdown list of options. Select Show Hidden Files.
Hidden files can also be shown by simply pressing Ctrl+H in the Files file
manager. If you are using the terminal, then you would type ls -a and
press Enter to see the hidden files and directories. There are many hidden
directories in your home folder used to store program preferences. For ex-
ample, /home/yourusername/.thunderbird stores preferences used by the
Thunderbird mail application.
Any time you add storage media to your computer—an internal or external
hard drive, a usb flash drive, a cd-rom—it needs to be mounted before it is
accessible. Mounting a device means to associate a directory name with the
device, allowing you to navigate to the directory to access the device’s files.
When a device, such as a usb flash drive or a media player, is mounted in
Ubuntu, a folder is automatically created for it in the media directory, and
you are given the appropriate permissions to be able to read and write to
the device.
Most file managers will automatically add a shortcut to the mounted
device in the side bar of your home folder or as a shortcut directly on the
desktop so that the device is easily accessible. You shouldn’t have to physi-
cally navigate to the media directory in Ubuntu unless you choose to do so
from the command line.
When you’ve finished using a device, you can unmount it. Unmounting a
device disassociates the device from its directory, allowing you to eject it. If
you disconnect or remove a storage device before unmounting it, you may
lose data.
Securing Ubuntu
Now that you know a bit more about using the command line, we can use it
to make your computer more secure. The following sections discuss various
security concepts, along with procedures for keeping your Ubuntu running
smoothly, safely, and securely.
Permissions
In Ubuntu, files and folders can be set up so that only specific users can
view, modify, or run them. For instance, you might wish to share an impor-
tant file with other users, but do not want those users to be able to edit the
file. Ubuntu controls access to files on your computer through a system of
“permissions.” Permissions are settings configured to control exactly how
files on your computer are accessed and used.
To learn more about modifying permissions, visit https://help.ubuntu.
com/community/FilePermissions.
Passwords
You should use a strong password to increase the security of your computer.
Your password should not contain names, common words, or common
phrases. By default, the minimum length of a password in Ubuntu is four
characters. We recommend a password with more than the minimum num-
ber of characters. A password with a minimum of eight characters which
includes both upper and lower case letters, numbers, and symbols is consid-
ered strong.
When you leave your computer unattended, you may want to lock the
screen. Locking your screen prevents another user from using your com-
puter until your password is entered. To lock the screen:
‣ Click the session menu icon in the right corner of the top panel, then
select Lock, or
‣ Press Ctrl+Alt+L to lock the screen. This keyboard shortcut can be
changed by going to Session Indicator ‣ System Settings… ‣ Keyboard ‣
Shortcuts and then selecting System from the list in the left column and
clicking on Lock Screen in the right column.
User accounts
settings, documents, and other files. If necessary, you can also protect files
from being viewed or modified by users without administrative privileges.
Like most operating systems, Ubuntu allows you to create separate user
accounts for each person. Ubuntu also supports user groups, which allows
you to administer permissions for multiple users at the same time.
Every user in Ubuntu is a member of at least one group. At a bare min-
imum, the user of the computer has permissions in a group with the same
name as the user. A user can also be a member of additional groups. You
can configure some files and folders to be accessible only by a user and a
group. By default, a user’s files are only accessible by that user, and system
files are only accessible by the root user.
Managing users
If the account you are using is an administrator account, you can manage
users and groups using the Users and Groups administration application.
To find this application, click Session Indicator ‣ System Settings… ‣ User
Accounts. Then click the Unlock button and enter your password to unlock
the user settings. Next, select the user that you want to modify from the list.
Then click on the element that you want to change.
Adding a user Click the + button underneath the list of the current user
accounts. A window will appear with three fields. The Account Type field
contains a list of user account types. Take care in determining what type
of account to assign a user. An Administrator has full access to all areas
of Ubuntu, whereas the Standard account type is more limited. The Full
Name field contains a friendly display name. The Username field is for the
actual username. As you enter the user’s full name, the Username field will
automatically fill with a lowercase, no space version of the user’s full name.
If you prefer to use a different username for this user, highlight the existing
username and type in the username of your choice. Once all fields are
filled in, click Add. A new dialog box will appear showing the user account
details. New accounts are disabled by default. To enable an account, click
the Account disabled field next to the Password label. A new window will
appear allowing you to set the password for the new user.
At the top of the new window is a dropdown menu next to the label
Action. By default, the “set a password now” option will be automatically
selected. You may also choose “log in without a password”, however, this
is not advised as the account will be available to anyone. The final option,
“enable this account” is available once a password has been set. Using this
advanced topics 101
Ubuntu enforces the password policies on this screen, so pay attention to the
status information located between the New password and Confirm password
fields for information about the password you’re setting. If there are problems
with the password, Ubuntu will tell you what is wrong with the password and
will prevent you from entering the same password into the Confirm password
field until the new password meets the requirements.
Modifying a user Click on the name of a user in the list of users, then click
on the text entry next to any of the following options:
‣ Account type:
‣ Language:
‣ Password:
‣ Automatic Login:
You may also change the username by clicking on the username at the top
and entering a new name.
Deleting a user Select a user from the list and click -. Ubuntu will deacti-
vate the user’s account, and you can choose whether to remove the user’s
home folder or leave it in place. If a user is removed and the user’s files re-
main, the only user who can access the files are the root user—also known
as the superuser—or anyone associated with the file’s group.
Managing groups
Adding a group To add a group, type sudo addgroup groupname and press
Enter, replacing groupname with the name of the group you wish to add.
For example, sudo addgroup ubuntuusers will add the group ubuntuusers
to the list of groups.
To change the group associated with a file or folder, open the Files file man-
ager and navigate to the appropriate file or folder. Then, either select the
folder and then click the gears button in the upper-right of the window and
choose Properties, or right-click on the file or folder and select Properties.
In the Properties dialog window, click on the Permissions tab and select the
desired group from the Groups drop-down list. Then close the window.
You can also modify user and group settings via the command line, but
we recommend you use the graphical method above unless you have a
good reason to use the command line. For more information on using the
command line to modify users and groups, see the Ubuntu Server Guide at
https://help.ubuntu.com/13.04/serverguide/user-management.html.
System updates
Normally, you will add applications to your computer via the Ubuntu Soft-
ware Center which downloads software from the Ubuntu repositories as
described in Chapter 5: Software Management. However, it is occasionally
necessary to add software from other sources. For example, you may need
to do this when an application is not available in the Ubuntu repositories or
when you need a version of software newer than what is currently in the
Ubuntu repositories.
Additional repositories are available from sites such as http://www.
getdeb.net and Launchpad ppas which can be added as described in Soft-
ware Sources. You can download the deb packages for some applications
from their respective project sites on the Internet. Alternatively, you can
build applications from their source code.
Using only recognized sources, such as a project’s site, ppa or various
community repositories (such as http://www.getdeb.net), is more secure
than downloading applications from an arbitrary (and perhaps less rep-
utable) source. When using a third party source, consider its trustworthi-
ness, and be sure you know exactly what you’re installing on your com-
puter.
Firewall
Encryption
You may wish to protect your sensitive personal data—for instance, finan-
cial records—by encrypting it. Encrypting a file or folder essentially “locks”
that file or folder by encoding it with an algorithm that keeps it scrambled
until it is properly decoded with a password. Encrypting your personal data
ensures that no one can open your personal folders or read your private
data without your authorization through the use of a private key.
Ubuntu includes a number of tools to encrypt files and folders. This
chapter will discuss two of them. For further information on using en-
cryption with either single files or email, see Ubuntu Community Help
documents at https://help.ubuntu.com/community.
Home folder
Private folder
If you have not chosen to encrypt a user’s entire home folder, it is possible
to encrypt a single folder—called Private—in a user’s home folder. To do
this, follow these steps:
After the Private folder has been set up, any files or folders in it will
automatically be encrypted.
If you need to recover your encrypted files manually see https://help.
ubuntu.com/community/EncryptedPrivateDirectory.
104 getting started with ubuntu 14.04
As many Windows users will know, some programs that you can use on a
Windows system cease to work on Ubuntu. For example, LibreOffice works
on both Windows and Ubuntu systems, but Microsoft Office works only on a
Windows system. Since many Windows users who use Ubuntu want all of
their Windows programs back, many programmers have worked together to
create Wine. Wine is an acronym for “W ine I s N ot an Emulator”.
This section will discuss what Wine is, and how to use it on your Ubuntu
installation. For recent information about Wine, please visit the official
Wine website at http://www.winehq.org.
What is Wine?
Installing Wine
If you have a previous version of Wine installed, uninstall Wine before continuing
using the command, sudo apt-get remove --purge wine1.* winetricks &&
sudo apt-get autoremove
During the installation of Wine and Winetricks, you will have to ac-
cept the Microsoft End User License Agreement and the Microsoft Core
Fonts License Agreement so that the Microsoft fonts and native files can be
installed.
For an alternative installation of Wine 1.6.2 (which does not involve the
terminal), follow these steps:
If you have a previous version of Wine installed, uninstall Wine before contin-
uing by opening the Ubuntu Software Center, going to the Installed menu, and
selecting and uninstalling the version of Wine you have installed. (EX. Wine1.5,
Wine1.4)
3. When a pop-up appears, enter your password to ensure that any and all
changes have your approval. Then, click OK.
4. Another window should appear after you press OK, assuming you have
typed your password correctly. On the top of the window, there will be
a row of tabs. Click on the second tab, Other Software. Click on this
menu.
5. On the bottom of the window, click the Add… button.
6. On the next window, key: ppa:ubuntu-wine/ppa. Then, click the Add
Source button.
7. Search for and install Wine 1.6.2 and Winetricks like you would any
other application in the Ubuntu Software Center.
Configuring Wine
Wine 1.6.2/1.7.22 contains many features that will change the look and feel
of the Windows applications you are trying to run. For example, you can
change the theme of the Windows interface, and what version of Windows
you would like to run (from Windows 2.0 to Windows 8).
To change these settings, open the Dash and search for Configure Wine.
Then, open the application.
Application Tab In the Application tab, you can change the way Wine
runs applications. Some Windows programs work only for specific versions
of Windows. This feature allows you to change the version of Windows
Wine will run as for a specific application, or for all of them to run under
one version.
Libraries Tab In the Libraries tab, you can change core Windows files,
to suit your needs. Many Windows programs install dll files, or Dynamic
advanced topics 107
Link Libraries. These files contain all of the information needed for an
application to work on a Windows system. Many dll files are needed for
a Windows system to run, and are different between versions of Windows.
In this feature, you may edit or replace existing dll files. This allows you to
change the Windows System files, to suit you needs.
These files should not be edited. These are core files needed for Wine to run
correctly. Only edit these files if you have to.
Graphics Tab In the Graphics tab, you can change the look and feel of
how Wine runs. You can make Wine emulate a Virtual Desktop (this feature
opens a new window that will contain any Windows application that is
currently running while this option is in effect), how the applications look,
and what resolution to run the application in.
Desktop Integration Tab In the Desktop Integration tab, you can change
the way buttons, menus, and other elements appear in an application. Each
version of Windows has brought its own unique visual style for its ap-
plications. In this feature, you can install and change the applied theme.
In this tab, you can also change major file folders. For example, while
using Ubuntu, your picture folder is located at /home/user/Pictures/
but in Windows, your picture folder is located at C:\Documents and Set-
tings\User\My Documents\My Pictures\ or C:\Users\User\My Pictures\.
This feature allows you tell Wine where your folders are, for quick refer-
ence.
Drives Tab In the Drives tab, you can manage the connected drives that
Wine will be able to access. Unlike Ubuntu, Windows applies a Drive Letter
to each drive. This letter identifies the drive. For example, on every Win-
dows system, the C: drive is the core drive. It contains all of the needed files
for the operating system to work. The C: drive is the equivalent to root (File
System, or / ) in Ubuntu. This feature allows you to change the drive letters
for any drive, or add a drive letter for a specific folder in your file system, or
for a cd drive.
Audio Tab In the Audio tab, you can change the audio settings. This fea-
ture allows you to change the audio source that Wine will use for Windows
applications (speakers, microphones, etc.).
108 getting started with ubuntu 14.04
About Tab In the About tab, you can see the current Wine version you
have installed, including Wine’s note to all users. This feature also allows
you to add a Name and Company Name to the Windows information. Ap-
plications use this information to identify you by name.
Microsoft has created many programs that are needed to run commonly
used applications, Microsoft .NET Framework being the most common. .NET
Framework is needed to run most of the newer applications created by
Microsoft, and by other companies as well. Wine is not fully supported by
all versions of .NET, but is compatible with most versions. Here is a list of
.NET versions, and their compatibility with Wine:
Sometimes things may not work as they should. Luckily, problems encoun-
tered while working with Ubuntu are often easily fixed. This chapter is
meant as a guide for resolving basic problems users may encounter while
using Ubuntu. If you need any additional help beyond what is provided
in this chapter, take a look at other support options that are discussed in
Finding additional help and support later in this book.
Troubleshooting guide
Occasionally you may install Ubuntu and then decide to install Microsoft
Windows as a second operating system running side-by-side with Ubuntu.
This is supported in Ubuntu, but you might also find after installing Win-
dows that you will no longer be able to start Ubuntu.
When you first turn on your computer, a “bootloader” is responsible for
initiating the start of an operating system, such as Ubuntu or Windows.
When you installed Ubuntu, you automatically installed an advanced boot- A bootloader is the initial software that loads
loader called grub. grub allows you to choose between the various operat- the operating system when the computer is
powered up.
ing systems installed on your computer, such as Ubuntu, Windows, Solaris,
or Mac os x. If Windows is installed after Ubuntu, the Windows installation
removed grub and replaced the bootloader with it’s own. As a result, you
can no longer choose an operating system to use. You can restore grub and
regain the ability to choose your operating system by following the steps
below, using the same dvd you used to install Ubuntu.
First, insert your Ubuntu dvd into your computer and then restart the
computer, making sure to instruct your computer to boot from the dvd
drive and not the hard drive (see Chapter 1: Installation). Next, choose your
language (e.g., English) and select Try Ubuntu. Once Ubuntu starts, click
on the top-most icon in the Launcher (the Dash icon). Then, search for
Terminal using the search box. Then, select Terminal in the search results
(or press Ctrl+Alt+T). A window should open with a blinking prompt line.
Enter the following, and press the Enter key:
$ sudo fdisk -l
This output shows that your system (Linux, on which Ubuntu is based) The device (/dev/sda1, /dev/sda2, etc.) we
is installed on device /dev/sda1, but as indicated by the asterisk in the are looking for is identified by the word “Linux”
in the System column. Modify the instructions
Boot column, your computer is booting to /dev/sda2 (where Windows is below if necessary, replacing /dev/sda1 with
located). We need to fix this by telling the computer to boot to the Linux the name of your Linux device.
device instead.
To do this, create a place to connect your existing Ubuntu installation
with your temporary troubleshooting session:
$ sudo mkdir /mnt/root
Next, link your Ubuntu installation and this new folder:
$ sudo mount /dev/sda1 /mnt/root
If you’ve done this correctly, then you should see the following:
$ ls /mnt/root
bin dev home lib mnt root srv usr
boot etc initrd lib64 opt sbin sys var
cdrom initrd.img media proc selinux tmp vmlinuz
Now, you can reinstall grub:
$ sudo grub-install --root-directory=/mnt/root /dev/sda
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script grub-install.
(hd0) /dev/sda
Next you’ll want to unmount the hard drive. This ensures that the drive
won’t become corrupted when you reboot:
$ sudo umount /mnt/root
Finally, remove the Ubuntu disc from your dvd-rom drive, reboot your
computer, and then start enjoying your Ubuntu operating system once
again.
This guide may not work for all Ubuntu users due to differences in the
various system configuration. Still, this is the recommended and most
successful method for restoring the grub bootloader. If you are following
this guide and if it does not restore grub on your computer, then try the
other troubleshooting methods at https://help.ubuntu.com/community/
RecoveringUbuntuAfterInstallingWindows.
I forgot my password
If you forgot your password in Ubuntu, you will need to reset it using the
“Recovery mode.”
To start the Recovery mode, shut down your computer and then start
again. As the computer starts up, press Shift. Select the Recovery mode
option using the arrow keys on your keyboard. Recovery mode should be
under the heading Advanced Options in the list.
Wait until Ubuntu starts up—this may take a few minutes. Once booted,
you will not be able to see a normal login screen. Instead, you will be pre-
sented with the Recovery Menu. Select root using the arrow keys and press
Enter.
You will now be at a terminal prompt:
root@ubuntu:~#
troubleshooting 111
1. Open Trash
2. Click on each item you want to restore to select it. Press and hold Ctrl
to select multiple items.
3. Click Restore Selected Items to move the deleted items back to their
original locations.
Many of the formats used to deliver rich media content are proprietary,
meaning they are not free to use, modify, or distribute with an open-source
operating system like Ubuntu. Therefore, Ubuntu does not include the ca-
pability to use these formats by default; however, users can easily configure
Ubuntu to use these proprietary formats. For more information about the
differences between open source and proprietary software, see Chapter 8:
Learning More.
If you find yourself in need of a proprietary format, you can install the
required files from the Ubuntu Software Center. Ensure that you have the
Universe and Multiverse repositories enabled before continuing. See the
Software Sources section to learn how to enable these repositories. When
you are ready to continue, install the necessary software as follows:
1. Open the Ubuntu Software Center by searching for it from the Dash (the
top-most button on the Launcher).
2. Search for ubuntu-restricted-extras by typing “Ubuntu restricted
extras” in the search box on the right-hand side of the Ubuntu Software
Center main window. When the Software Center finds the appropriate
software, click the arrow next to its title.
3. Click Install, then wait while Ubuntu installs the software.
One program that can play many of these formats is vlc media player.
It can be installed from the Ubuntu Software Center. Once Ubuntu has
successfully installed this software, your rich media content should work
properly.
the new resolution setting. If you’ve not accepted the new resolution and/or
30 seconds have passed, the dialog box will disappear and the display’s
resolution will return to its previous setting.
This feature was implemented to prevent someone from being locked out
of the computer by a resolution that distorts the monitor output and makes
it unusable. When you have finished setting the screen resolution, click
Close.
This guide does not cover every possible workflow, task, issue, or problem
in Ubuntu. If you require assistance beyond the information in the manual,
you can find a variety of support opportunities online.
More details about many support options available to you can be found
at Finding additional help and support later in this book.
8 Learning More
What else can I do with Ubuntu?
At this point, you should now be able to use Ubuntu for most daily activ-
ities—such as browsing the web, sending email, and creating documents.
Now, you may be interested in learning about other versions of Ubuntu
that may integrate into your digital lifestyle. In this chapter, we’ll introduce
additional versions of Ubuntu designed and specialized for certain tasks.
We’ll also provide resources for answering any remaining questions as well
as direct you to how you can get involved in the worldwide community
of Ubuntu users. First, we’ll discuss the technologies that make Ubuntu a
powerful collection of software and a progressive operating system.
Ubuntu is open source software (OSS). OSS differs from proprietary soft-
ware. Proprietary software is defined as software whose source code is
not freely available for modification or distribution by anyone but the
rightsholder. Microsoft Windows and Adobe Photoshop are examples of
proprietary software.
Unlike proprietary software applications, the software included with
Ubuntu is specifically licensed to promote sharing and collaboration. The
legal rules governing Ubuntu’s production and distribution ensure that
anyone can obtain, run, or share it for any purpose. Users can modify open
source software to suit their individual needs, to share it, to improve it, or to
translate it into other languages—provided they release the source code for
these modifications so others can do the same. In fact, the terms of many
open source licensing agreements actually make it illegal not to do so. This
understanding helps explain why Ubuntu is called open source software.
For more information regarding Ubuntu’s software licensing standards, see
http://www.ubuntu.com/project/about-ubuntu/licensing.
Because OSS is developed by large communities of programmers located
throughout the world, it benefits from both rapid development cycles and
speedy security releases when bugs are identified in the software. In other
words, OSS is updated, enhanced, and made more secure every day as
programmers all over the world continue to improve it.
In addition to these technical advantages, OSS also has economic bene-
fits. While users must adhere to the terms of an OSS licensing agreement
when installing and using Ubuntu, they needn’t pay to obtain this license.
While not all OSS is free of monetary costs, a vast majority of OSS is avail-
able for free.
To learn more about open source software, see the Open Source Initia-
tive’s open source definition, available at http://www.opensource.org/docs/
definition.php.
Distribution families
different from Ubuntu at first glance, but they share similar characteristics
because of their common roots.
Linux distributions can be divided into two broad families: the Debian
family and the Red Hat family. Each family is named for a distribution on
which subsequent distributions are based. For example, “Debian” refers to
both the name of a Linux distribution as well as the family of distributions
derived from Debian. Ubuntu is part of this family. When describing rela-
tionships between various open source projects, software developers often
use the metaphor of tributaries connecting to a common body of water.
For this reason, you may hear someone say that Ubuntu is located “down-
stream” from Debian, because alterations to the Debian family ”flow” into
new versions of Ubuntu. Additionally, improvements to Ubuntu usually
trickle “upstream”—back to Debian and its family members as the Debian
family benefits from the work of the Ubuntu community. Other distribu-
tions in the Debian family include Linux Mint, Xandros, and CrunchBang
Linux. Distributions in the Red Hat family include Fedora and Mandriva.
The most significant difference between Debian-based and Red Hat-
based distributions is the system each uses for installing and updating
software. These systems are called Package management systems. Package
management systems are the means by which users can install, remove,
and organize software installed on computers with open source operating
systems like Ubuntu. Debian software packages are deb files, while Red Hat
software packages are rpm files. The two systems are generally incompati-
ble. For more information about package management, review the chapter
on Chapter 5: Software Management.
You will also find specialized Linux distributions for certain tasks. Next,
we’ll describe these versions of Ubuntu and explain the uses for which each
has been developed.
Alternative interfaces
Ubuntu 13.10 features a new graphical user interface (gui) based on the
open source unity7 desktop. Previous versions of Ubuntu use the gnome
desktop. As we explained in Chapter 2: The Ubuntu Desktop, a “user inter-
face” is a collection of software elements—icons, colors, windows, themes,
and menus—that determine how someone may interact with a computer.
Some people prefer using alternatives to gnome, so they have created
Ubuntu distributions featuring different user interfaces. These include:
‣ Kubuntu, which uses the kde graphical environment
‣ Lubuntu, which uses the lxde graphical environment
‣ Xubuntu, which uses the xfce graphical environment
Task-specific distributions
Edubuntu
Ubuntu Studio
Mythbuntu
This guide cannot possibly contain everything you’ll ever need to know
about Ubuntu. We encourage you to take advantage of Ubuntu’s vast com-
munity when seeking further information, troubleshooting technical issues,
or asking questions about your computer.
It’s important to note that the Internet is full of third-party resources
as well as individuals who post information on blogs and forums. While
these resources can often seem like great resources, some could be mis-
leading or outdated. It’s always best to verify information from third-party
sources before taking their advice. When possible, rely on official Ubuntu
documentation for assistance with Ubuntu.
Now, let’s discuss a few of the available resources to learn more about
Ubuntu and other Linux distributions.
Live chat
If you are familiar with Internet Relay Chat (irc), you can use chat clients
such as XChat or Pidgin to join the channel #ubuntu on irc.freenode.net. In
this channel, hundreds of volunteer users can answer your questions or of-
fer technical support in real time. To learn more about using Internet Relay
Chat to seek help with Ubuntu, visit https://help.ubuntu.com/community/
InternetRelayChat.
LoCo teams
The Ubuntu community contains dozens of local user groups called “LoCo
teams.” Distributed throughout the world, these teams offer support and
advice, answer questions, and promote Ubuntu in their communities by
hosting regular events. To locate or contact the LoCo team nearest you,
visit http://loco.ubuntu.com/.
Many books have been written about Ubuntu, and professional magazines
often feature news and information related to Ubuntu. You will frequently
find these resources at your local bookstore or newsstand. Additionally,
many of these print publications are also available as digital downloads for
purchase in the Ubuntu Software Center. To find these resources, launch the
Software Center, then click on “Books & Magazines” in the left panel.
The Ubuntu Forums are the official forums of the Ubuntu community. Mil-
lions of Ubuntu users use them daily to seek help and support from one
another. You can create an Ubuntu Forums account in minutes. To create
learning more 119
an account and learn more about Ubuntu from community members, visit
http://ubuntuforums.org.
Launchpad Answers
Ask Ubuntu
Search Engines
Community support
If you’ve exhausted all these resources and still can’t find answers to your
questions, visit Community Support at http://www.ubuntu.com/support/
community.
Full Circle Magazine is “the independent magazine for the Ubuntu Linux
community.” Released every month, Full Circle Magazine contains reviews
of new software (including games) for Ubuntu, step-by-step tutorials for
120 getting started with ubuntu 14.04
Produced by members of the UK’s Ubuntu LoCo team, this bi-weekly online
audio broadcast (or “podcast”) features lively discussion about Ubuntu and
often includes interviews with Ubuntu community members who work to
improve Ubuntu. Episodes are available at http://podcast.ubuntu-uk.org/.
OMG! Ubuntu!
Contributing
Contributing to Ubuntu
the work (as defined below) is provided under the terms of this
creative commons public license (“ccpl” or “license”). the work is
protected by copyright and/or other applicable law. any use of the
work other than as authorized under this license or copyright law
is prohibited.
by exercising any rights to the work provided here, you accept
and agree to be bound by the terms of this license. to the extent
this license may be considered to be a contract, the licensor grants
you the rights contained here in consideration of your acceptance
of such terms and conditions.
1. Definitions
(a) “Adaptation” means a work based upon the Work, or upon the Work
and other pre-existing works, such as a translation, adaptation,
derivative work, arrangement of music or other alterations of a lit-
erary or artistic work, or phonogram or performance and includes
cinematographic adaptations or any other form in which the Work
may be recast, transformed, or adapted including in any form recog-
nizably derived from the original, except that a work that constitutes
a Collection will not be considered an Adaptation for the purpose of
this License. For the avoidance of doubt, where the Work is a musical
work, performance or phonogram, the synchronization of the Work in
timed-relation with a moving image (“synching”) will be considered
an Adaptation for the purpose of this License.
(b) “Collection” means a collection of literary or artistic works, such
as encyclopedias and anthologies, or performances, phonograms
or broadcasts, or other works or subject matter other than works
listed in Section 1(f) below, which, by reason of the selection and
arrangement of their contents, constitute intellectual creations, in
which the Work is included in its entirety in unmodified form along
with one or more other contributions, each constituting separate and
independent works in themselves, which together are assembled into
a collective whole. A work that constitutes a Collection will not be
considered an Adaptation (as defined below) for the purposes of this
License.
(c) “Creative Commons Compatible License” means a license that is
listed at http://creativecommons.org/compatiblelicenses that has been
approved by Creative Commons as being essentially equivalent to this
License, including, at a minimum, because that license: (i) contains
terms that have the same purpose, meaning and effect as the License
Elements of this License; and, (ii) explicitly permits the relicensing
of adaptations of works made available under that license under this
License or a Creative Commons jurisdiction license with the same
License Elements as this License.
(d) “Distribute” means to make available to the public the original and
copies of the Work or Adaptation, as appropriate, through sale or
other transfer of ownership.
122 getting started with ubuntu 14.04
gui The gui (which stands for Graphical User Interface) is a type of user in-
terface that allows humans to interact with the computer using graphics
and images rather than just text.
isp isp stands for Internet Service Provider, an isp is a company that provides
you with your Internet connection.
Live dvd A Live dvd allows you to try out an operating system before you
actually install it, this is useful for testing your hardware, diagnosing
problems and recovering your system.
lts lts stands for long-term support and is a type of Ubuntu release that is
officially supported for far longer than the standard releases.
130 getting started with ubuntu 14.04
notification area The notification area is an applet on the panel that pro-
vides you with all sorts of information such as volume control, the cur-
rent song playing in Rhythmbox, your Internet connection status and
email status.
output The output of a command is any text it displays on the next line
after typing a command and pressing enter, e.g., if you type pwd into a
terminal and press Enter, the directory name it displays on the next line
is the output.
controlling the operating system using only commands entered via the
keyboard as opposed to using a gui like Unity.
Team leads
Authors
Screenshots
Sylvie Gallet
Designers
Thorsten Wilms
Developers
Translation editors
Fran Diéguez (Galician) Xuacu Saturio (Asturian) Chris Woollard (British English)
Hannie Dumoleyn (Dutch) Daniel Schury (German) John Xygonakis (Greek)
Sylvie Gallet (French) Susah Sebut (Malay) Andrej Znidarsic (Slovenian)
Aleksey Kabanov (Russian) Jose Luis Tirado (Spanish)
Past contributors
The book design is based on the Tufte-LATEX document classes available at http://
code.google.com/p/tufte-latex/.
The text face is Linux Libertine, designed by Philipp H. Poll. It is an open font
available at http://linuxlibertine.sf.net/.
The captions and margin notes are set in Ubuntu, a font commissioned by Canonical
and designed by Dalton Maag. It is freely available for download at http://font.
ubuntu.com/.
The terminal text and keystrokes are set in DejaVu Sans Mono (available at http://
dejavu-fonts.org/), originally developed by Bitstream, Inc. as Bitstream Vera.
The cover and title page pictograms contain shapes taken from the Humanity icon
set, available at https://launchpad.net/humanity.
The title page and cover were designed using Inkscape, available at http://inkscape.
org/.