Linux The Complete Manual - 2nd Edition, 2021
Linux The Complete Manual - 2nd Edition, 2021
T
here’s a lot of mystery surrounding Linux. Until recently,
it was an operating system used exclusively by geeks
who knew how to control a computer by typing
unfathomable commands such as ‘sudo apt-get
install pkgnames emerald’.
The good news is that Linux is now as good-looking, easy to
install and simple to use as Windows. What’s more, it’s absolutely
free – you’ll find your copy of Ubuntu on the back page of this book
ready for you to try out straight away. You can install it on as many
computers as you like, try as many different versions as you want
and download thousands of free applications to use with it.
In this book, we’ll show you how to do everything in Linux
that you can do in Windows, such as browsing the internet,
sending emails, organising and editing your photos, creating a
spreadsheet, listening to music (and transferring it to your MP3
player), watching DVDs and much more.
So whether you’re building a computer from scratch
or you’re simply fed up with how slow your current
Windows PC is, this book is for you.
CHAPTER 1 CHAPTER 4
Installing Ubuntu
Organising your photos with Picasa 64
Connecting a video camera to your PC 66
Our step-by-step guide to installing your new OS Editing video 68
Playing DVDs 70
Installing Ubuntu 12 Playing music files with Banshee 72
Installing Ubuntu on a laptop 16 Connecting an iPod 74
Welcome to the Ubuntu desktop 20 Connecting an MP3 player 76
Adding peripherals 22 Synchronising a mobile with Linux 78
Installing software 28 Using Google Desktop 80
Improving the look and feel of Ubuntu 82
CHAPTER 3
Getting started 34
Sharing files between Linux and Windows 38
Transferring files to your new computer 42
Configuring Ubuntu 46
Creating user accounts 50
Using the Launcher 51
CHAPTER 5
Internet on Linux
Find out how to get your web browser, email,
instant messaging and VoIP working
Getting connected 88
Controlling the web 92
Configuring email 96
Using VoIP 100
Enhance your web browsing 102
Social networking 104 CHAPTER 7
C
Firewalls and internet security 106
Storing files online
Uploading files with FTP
110
112 Network storage
Backing up with Ubuntu One 114 Why not use Linux to turn an old PC into a NAS?
4 THE COMPLETE
E LINUX MANUAL
Introduction to Linux
The Linux operating system is a great alternative to Windows.
As you’ll learn over the next few pages, there are plenty of
reasons to use it other than the fact that it’s free.
One important point to note about Linux is that there are many
different versions, or distributions as they’re known. Each version is
based around a kernel (the core part of the operating system), but
they vary when it comes to the interface and software they include.
Ubuntu is one of the most popular and easy-to-use distributions,
and it’s the one we’ll use throughout this book. You’ll find a copy of
the latest version of Ubuntu on the free disc on the back page. Of
course, you can try any other distribution if you prefer; Linux Mint,
Mandriva, Debian, Fedora and Qimo are all popular choices.
Why should I
use Linux?
There are many reasons to use Linux beyond the fact that it’s free.
Here we’ll explain why it’s a viable alternative to Windows
inux really will cost you nothing. 25 times, or that it isn’t installed at all. You won’t
Installing Ubuntu 12
Installing Ubuntu on a laptop 16
Welcome to the Ubuntu desktop 20
Adding peripherals 22
Installing software 28
Installing Ubuntu
It’s just as easy to install Linux as it is to install Windows. Here, we’ll
show you what to do with a step-by-step guide
ou’ve probably already found the Put the Ubuntu CD from this book (or the
Y CD stuck to the inside of this book. 1 one that you’ve created) into your optical
We’ve included it to save you the drive and wait for the ‘Press any key to boot
hassle of downloading the 700MB from CD’ message.
file yourself. It’s the Desktop Edition of version If you miss this message, you’ll have to
11.04, which was the latest at the time of writing. restart your computer to load the Ubuntu
Linux is regularly updated, so check the installation routine. The first splash screen
website www.ubuntu.com/getubuntu to see if should load very quickly.
there’s a new version, or if you want to install
a different version, such as the 32-bit edition. You’ll then be presented with a Language
If you do download one of these ISO (disc 2 menu and a choice of two options. The
image) files, you’ll need to burn it to a CD default installation option is to try Ubuntu
before you can use it. We recommend using without making any changes to your computer.
CDBurnerXP, which is a free download from This simply loads Ubuntu from the CD and
http://cdburnerxp.se. Alternatively, you can use doesn’t write any files to your hard disk.
the free UNetbootin utility (see page 9) to create This is an excellent way to try out Linux
a bootable USB flash drive with the ISO image. before making any commitments and filling
You don’t need to commit to using Linux at up your hard disk, and is the wisest option
this stage; if you just want to give it a try, you if you’re not totally sure about the operating
can run it directly from your installation disc system. If you do want to install Ubuntu
(see Step 2 for more details). properly, select the Install Ubuntu option.
1 2
3 4
5 6
You’ll now see a splash screen that has a are kept and to create separate partitions for
3 list of criteria to make the installation go as program files and virtual memory. Linux stores
smoothly as possible. Make sure your computer user files in the /home folder, and moving this to
is connected to the internet, as this allows it to its own partition is easy. However, if you opt to
download the latest updates. Select Download set up one partition manually, you’ll have to set
updates while installing. them all up this way.
For the best results, Ubuntu will need to If you want to stick with Ubuntu’s default
install some third-party software in order to be option, click Install Now and skip to Step 11.
able to play MP3, Flash and other multimedia
files. Select Install this third-party software and To define your hard disk’s partitions
click Forward. 6 manually, select the advanced partitioning
tool. The installer will scan your hard disk and
If your hard disk has any other operating display the disk partitioning tool. The first step is
4 system installed on it, you’ll see a warning to delete all existing partitions on the hard disk,
on the next screen. You’ll have the option to so select each one in the list and click the Delete
install Ubuntu 11.04 alongside your existing OS button. If you have more than one hard disk in
or, if you’re running Ubuntu already, upgrade it. your PC, your first disk is /dev/sda or dev/hda
For the best results, select the Erase option. (dev/sdb or dev/hdb is your second disk).
This will wipe your hard disk and let you start
from scratch. Doing this will mean you’ll lose all You should now have free space listed
data on your hard disk, so make sure you have a 7 under /dev/sda. Since we’re making
backup of your important files first. When you’re partitions by hand, we need to create all the
ready, click Forward. partitions that Linux requires, starting with the
/boot partition. Select free space in the list
Ubuntu uses a simple partitioning system of partitions and click New. Enter a size of 50
5 on your PC’s hard disk. Tweaking this (we’re working in megabytes) and then select
will enable you to choose where your user files /boot as the mount point. Click OK to continue.
7 8
9 10
Linux also needs a /swap partition, has more memory than it actually does, enabling
8 which is the equivalent of the Windows you to run more applications.
swap file used for virtual memory. When your First, create another new partition in the
PC’s real memory fills up, Ubuntu will swap free space and then enter a size (in megabytes)
bits of the memory that aren’t currently being that is equal to the amount of RAM in the
used – such as RAM being used for inactive computer, remembering that one gigabyte is
applications, for example – to the hard disk. 1,024MB. Select Swap area from the ‘Use as’
This gives the impression that your computer drop-down list, leave the other settings at their
defaults and click OK.
11 9
Next, you need to set the /home partition,
which is where user files are kept. This
is the equivalent of Windows’ My Documents
folder, but it is kept on a separate partition. The
advantage of this method is that if you ever
need to reinstall Linux, you can do so and your
documents won’t be overwritten.
Make this partition as large as you like,
but keep around 15GB free for the final /root
partition. Select /home as the mount point
before clicking OK.
structure from the screen above. Click Install With your configuration options set,
Now when you’re ready to continue. 13 Ubuntu will now go through the process
of finalising the installation and copying the
Ubuntu will now start installing to your remaining files to your hard disk. This process
11 computer. While it’s copying files, you need takes a fair while, so you can leave it copying.
to specify a few settings. First, you need to set
your current location on a map of the world Once Ubuntu has finished installing, go
in order for Ubuntu to set the date and time 14 to the Software Centre, the online app
correctly. You can also start typing the name of store available from the Launcher on the left-
your town or city into the text box. Click Forward hand side of the screen, to find and install new
when you’ve done this. Next you’ll be asked to programs. New applications are downloaded
configure your keyboard and mouse settings by from the internet using an intuitive package
selecting the language and type from the list. manager. Any additional components (known as
Click Forward when you’re done. dependencies) are automatically downloaded
and installed. Applications already installed can
You’ll then be prompted to enter a also be removed using this tool.
12 username and password for your computer.
Enter your password twice, and Ubuntu will tell Because of its rising popularity, Ubuntu
you if it’s a weak, fair or strong password. You 15 Linux is attracting some interest from
can now change the name of your PC. malicious hackers, so you need to make sure the
You then need to decide how you want to log latest security patches are installed.
in. Logging in automatically will boot straight to Ubuntu has its own update manager and
the desktop, but the ‘Require my password to log checks periodically for updates. When new
in’ option is much more secure. If you choose updates become available, you’ll see a warning
the latter option, you can also select ‘Encrypt on the application bar. Click on the warning to
my home folder’ for extra security. Click Forward bring up the list of updates and then click the
when you’re ready. Install Updates button.
12 13
14 15
Installing Ubuntu
on a laptop
Installing Ubuntu on a portable computer – even a relatively
low-powered one – can give it a new lease of life
ne of the best things about Linux it work on all computers. However, as not all
BOOTABLE FLASH DRIVE this may be listed as a USB device, or your flash
To make a USB flash drive bootable, you’ll drive may appear in the hard disk boot priority
need to download the Universal USB Installer menu if there is one.
from http://tinyurl.com/USBbooter and run When you’re done, select the option to save
it from your hard disk. You can choose the the settings and exit the BIOS. Your laptop
Linux distribution you want to install from the should restart and boot from the USB flash
drop-down list. You’ll find a massive choice of drive. The first thing you’ll see is a menu.
all the most popular distributions, and there’s The first option lets you try Ubuntu without
even an option to download the relevant ISO installing it, while the second option lets you
file; however, Ubuntu 11.04 may not be in the install the operating system on your laptop.
list. If it isn’t, select ‘Try Some Other Live Linux
ISO’ from the first drop-down menu. Click the HOW TO… INSTALL UBUNTU ON
Browse button and navigate to the Ubuntu ISO YOUR NETBOOK OR LAPTOP
file you downloaded earlier. On the first screen, you’ll see a checklist
Finally, select your USB flash drive using 1 of criteria your PC needs to match for the
the drive letter you noted down earlier, tick the best installation. Being connected to the internet
box to format the drive and click Create. Your is the most important, as Ubuntu can download
USB flash drive is automatically turned into a the latest patches while it installs; select the
bootable disk. ‘Download updates when installing’ option.
For the MP3 player, Flash and other
BOOTING FROM USB multimedia files to work, Ubuntu needs to install
Next, you need to configure your netbook or additional software. Tick ‘Install this third-party
laptop to boot from the USB flash drive. Plug the software’ and click Forward.
drive into a USB port and turn on your laptop.
You’ll need to get into the BIOS by pressing the You now have to decide what to do with
correct key; this is usually Del, F2 or F10, but 2 your hard disk. If you don’t want your
look out for any onscreen messages. Once in the existing operating system any more, select
BIOS, look for a Boot Priority screen. This won’t the Erase option and click Forward. This will
be in the same place on every computer, so you wipe the entire disk, including any restore
may have to hunt around. Once you find it, look partitions that you have. If you want to go back
to make the first boot device your USB drive; to Windows, we recommend backing up the
1 2
3 4
entire hard disk using imaging software such You now need to configure your first
as Paragon Hard Disk Manager, or following the 4 user account and the name of the
instructions that came with your laptop on how computer. For security you have to enter a
to create recovery media. Alternatively, you can password, although you can choose the ‘Log
choose the ‘Install Ubuntu alongside’ option, in automatically’ option. For the best security,
which will give you a choice of Linux or Windows click ‘Require my password to log in’ and
when you start the computer. Click Install Now ‘Encrypt my home folder’ and click Forward.
when you’re ready. The final files will now be copied to your hard
disk and updates will be installed. Depending
On the next screen, use the world map to on the speed of your USB drive and internet
3 set your location; you can also type your connection, it could take a while to finish the
location into the box underneath the map. While installation. When it’s done, click Restart Now.
you’re doing this, the installation process will
copy the necessary files to your hard disk. Click Once your computer has rebooted, you’ll
Forward when you’re done. On the next screen, 5 need to log on at the prompt. You’ll then
your keyboard layout should be picked correctly, be taken to a clean-looking desktop. The icons
but change it if it’s wrong and click Forward. on the left of the screen let you access all your
applications, while the status bar at the top and click on Update Manager. Click the Check
shows the current battery status, unread emails button, let the software build a list of updates
and the network status. Clicking on the Ubuntu and then click Install Updates if there are any.
logo at the top left of the screen takes you back Depending on the number of updates and
to the Home menu. the speed of your network connection, it may
take up to 30 minutes for your system to finish
It’s worth connecting to the internet now updating to the latest version. You’ll probably
6 to download any updates, just in case your be prompted to restart your computer once it’s
computer didn’t do so automatically during the finished updating.
installation. You’ll also now be able to browse
the web, configure your email and more. If Once your computer has restarted, you
you use a wired connection, it should connect 8 can begin using it as normal. All your
automatically. Otherwise, click the wireless icon applications are located in the menu down the
at the top right of the screen and select your left-hand side of the screen.
wireless network. Type in the password when Now is probably a good time to get your
prompted; it’s important to get this right, as email set up using the built-in email client,
Ubuntu will accept an incorrect password but Evolution, which will be listed in the main menu.
not warn you. Then click Connect. We’ll cover configuring and using Evolution in
more detail in Chapter 5.
Next, you should update your Ubuntu For now, you can use the menu system to
7 installation with the latest updates. Click find your installed applications and the Power
on the Application icon in the left-hand menu, button at the top right of the screen to shut
then click on System. Scroll down to the bottom down your computer.
5 6
7 8
Welcome to the
Ubuntu desktop
Once you have Ubuntu up and running, it’s easy to find your way
around. Here we take you on a whistle-stop tour of the desktop
Adding peripherals
If the thought of installing hardware has been putting you off Linux,
think again: it’s now easy to add peripherals in Ubuntu
here was a time when using the show you how to install a range of common
SOUND ADVICE
Getting sound hardware up and running should
Windows with peripherals. pose no problems in Linux, and any modern
Over the past few years, open-source sound card should work straight away. Linux
developers have been busily writing drivers manages sound hardware in a different way to
and applications for a wide range of peripherals. Windows, so it’s worth taking a closer look at
USB and Bluetooth have made their job far what’s going on.
easier, but there are still a few issues to look out Click on the Ubuntu logo and type System
for, just as there are with any operating system. Settings and hit Enter to load the Control Centre.
Windows often has problems with drivers Select the Sound option; if you can’t hear
for current hardware, whereas in Linux it tends anything when playing CDs, for example, this
to be obsolete hardware that causes problems. should be the first place you look. The resulting
In Ubuntu, support for popular hardware is so Sound Preferences dialog box lists the available
good that the only problem you’re likely to have sound devices on a pull-down menu under the
is deciding which applications you want to use Hardware tab. In most circumstances, these will
with your devices. Over the next few pages we’ll all be for the same sound card.
One common sound problem is caused by
plugging speakers into a PC’s analogue audio
Checking the state of
your sound output is really socket and leaving Linux set to use a digital
easy in Ubuntu output. This error should be obvious if you see
the word ‘Digital’ in the name of the selected
audio devices in the Sound Preferences dialog
box. To correct this, use the pull-down menu to
change it to ‘Analog Stereo Duplex’ and click
the Test button. This should generate a steady
tone. If not, try the Open Sound System (OSS)
drop-down option for the device. If you still hear
nothing, try the Autodetect option.
You can also use this dialog box to change the
sounds played for specific system events. Click
on the Sounds tab and you’ll see a list of events,
each with a status of Default or Disabled. If you
click the status and select Custom, you’ll be able
to navigate to the sound file of your choice.
Once onboard sound is working, you can play
music directly from just about any USB MP3
1 MONTH
FREE
*
JUST QUOTE
LINUX
Friendly support staff are available to help you get up and running with
any Linux distribution of your choice.
Virtual
Private Servers
Virtualisation technology is provided by Xen, a well proven solution for
managing virtual private server isolation and partitioning of physical
v a il ab l e i n t he resources.
a
UK, USA, Each Linux VPS has its own dedicated RAM and hard disk space. This is
not shared with anyone and is not oversold.
GERMANY Your choice of Linux distribution and full root access, including tun/tap
and iptables on your hosting package.
[email protected] l gigatux.com
Virtual Private Server Hosting • Web Hosting • Linux Specialists
* This offer is available on any VPS package lasting at least three months
CHAPTER 2
Installing software
Although Ubuntu is packed with programs, you can easily add more.
Here we’ll show you how to bring your system to life
veryone knows how to install how to keep your system up to date and upgrade
DECISION TIME
Click Software Centre, which is located in the
programs to a Linux system is even easier. Launcher. This allows you to browse a large
In many cases, you won’t even need to archive of software. Across the top of the
download the software yourself, because interface, you’ll see the View pull-down menu,
Linux’s software-management system knows which enables you to filter the programs lists.
where to download it from. In other words, Select ‘All applications’ (some of which are
Linux does the hard work for you. closed source) to show everything, or choose to
One of Linux’s major advantages is that it see Canonical Maintained Applications to see
grants you easy access to a huge library of free programs certified for Ubuntu.
applications, ranging from astronomy tools to You can also search the names and
virtualisation programs that let you run Windows descriptions of applications for keywords. This
or other operating systems inside Linux. These means you can find a program that does a
programs are pre-built and ready to install. Here Installing software into particular job even if you don’t know its actual
Ubuntu has never been easier
we’ll show you how to do this, and also explain – all you need to do is point
name. In fact, you can sometimes generate a
at the application and click long list of programs that deal with a certain
subject. For example, entering ‘graphics’ and
hitting Enter brings up a long list in the right-
hand pane. You can sort the list by clicking on
the column headers.
Sometimes you know the type of application
you’re looking for in broad terms. Look in the
left-hand pane and you’ll see several categories.
When you click on one, the right-hand pane will
fill with the software available in that category.
If you click on the first (‘All’), you’ll see a full list
of all available applications.
To install an application, simply click the
tickbox to the left of its name. If the software is
closed source, a pop-up message will ask you
to confirm that you want to install it. When you
install software in Ubuntu, you can click on as
many applications as you like. When you click
the Apply Changes button at the bottom right,
you’ll be asked to confirm the list of programs
and to enter the system password, which is the
one you use to log in. The applications are then press Enter. The full list of Apache 2 packages
added to the system one after the other. will appear in the main pane. Tick the box next
to the ‘apache2’ entry. This ‘metapackage’ brings
PACKAGE HANDLING together all the packages upon which the main
The list of applications available may seem application will rely. If any other packages are
extensive to some people and restricting to required, a dialog box will appear asking you to
others. If you’re in the latter group, don’t despair. confirm that they should also be installed.
There’s a galaxy of software available with the The tickboxes on all the packages to be
Synoptic Package Manager. This is the main installed change to show an arrow wrapped
choice for experienced Ubuntu users, because around them. To begin installing Apache 2, click
it gives access to individual packages. It also the Apply button. A dialog box will ask you to
provides direct access to server software for confirm the actions to be taken. Click the Apply
advanced Linux users. The Package Manager button again and Synoptic Package Manager
software does a lot of work in the background will begin downloading the latest versions of all
to ensure that everything installs properly. the packages and install them. This should take
You can find The Synoptic Package Manager around a minute or so. If you now point your
by clicking on the Ubuntu logo and typing in web browser at http://localhost, you should
‘Synaptic’. The Package Manager is near the see a web page served from the newly installed
bottom of the resulting menu. Run it and click Apache 2 web server exclaiming, “It Works!”
the Reload button. This contacts Ubuntu’s
website and re-reads the list of available MOVING ON UP
packages. The number of categories that appear Once you’ve installed a package, the Synoptic
in the left-hand panel are larger than those listed Package Manager will be able to help you when
by the Add/Remove applications utility. However, it’s time to remove or upgrade it. The tickboxes
using Synoptic Package Manager is just as next to the installed packages should be green,
simple. To demonstrate it in action, we’ll show indicating that they’re installed properly. If
you how to install the Apache 2 web server, after you click one, a context menu will give you the
which we’ll show you how to uninstall it. option of re-installing it (which is useful if you
First, select All in the left-hand categories make a mess of things while configuring it) or
pane, type ‘apache2’ into the search box and uninstalling the package completely.
Getting started 34
Sharing files between Linux and Windows 38
Transferring files to your new computer 42
Configuring Ubuntu 46
Creating user accounts 50
Using the Launcher 51
Getting started
Allow us to guide you through your first steps with this
powerful, free operating system
ow that you’ve installed Ubuntu Linux. Within minutes, you’ll be doing the same
selection of pictures. Press the Add button to Right-click it and select Properties. You can
bring up a file selector that gives you the chance set its height in pixels and whether it appears
to add your own pictures to the list. Select one as a centralised bar or stretches the width of
from your collection and press OK, and it will the screen, as well as if it should be hidden
become your new wallpaper. automatically. You can also choose to display
You can open this window another way if you manual hide and show buttons (which is
prefer. Click on the System menu and choose useful if you don’t use the auto-hide feature).
Preferences and Appearance. You’ll see a Click the Background tab and you can set
number of tabs. Click the Theme tab, and you’ll the launch bar’s transparency.
be able to change the overall theme Gnome You can also add gadgets and applications
uses, just as you can in Windows. By selecting a to the launch bar. Right-click it and select Add
theme and pressing the Customise button, you to Panel. Choose from the list of available
can change the shape of the borders, colours options. For example, you can add the Network
and so on. If you click on the Fonts tab, you can Monitor to see your IP address and the amount
set up the look and feel of these, too. of network traffic processed. Select Application
You can also install downloaded themes. Launcher… and click the Forward button. Choose
The Gnome website has a theme area (http:// a category, click the triangle button to expand
art.gnome.org/themes) that contains an ever- the list and select a program. Press Add. Finally,
growing list of free themes. Select a category, you can move gadgets and applications around
browse until you find one you like and then click the launch bar by right-clicking and pressing
the download link. Save the file (it’s saved to Move, or delete them by choosing Remove.
the desktop by default) and press Install Theme.
In the subsequent file selector, navigate to the USING THE HOME FOLDER
desktop (stored in your home folder) and select Click the Places menu on the launch bar. The
the theme file, and it should install. first few entries are standard folders set up
during installation. These are in your Home
CUSTOMISING THE TASKBAR Folder, the equivalent of My Documents in
You can customise the Gnome launch bar in Windows. Left-click once on your Home Folder
more ways than you can the Windows taskbar. to open the file browser window.
As in Windows, right-clicking allows you to
create a new folder, rename it and delete it.
Get your mouse responding
the way you like and your You can also increase and decrease the size of
Ubuntu experience will be the icons. Furthermore, Gnome remembers the
more positive
various zoom levels that you set for different
folders. Across the top of the folder window,
you’ll see several icons that represent steps in
the path from your home folder down to the
current subfolder. This enables you to navigate
and move files quickly. Simply drag and drop
the file on to one of these icons. To delete a file,
right-click it and select ‘Move to the Deleted
Items folder’. You can find this on the right end
of the launch bar. If you click it, you can get rid
of all deleted files, delete individual items and
restore them, just as you can in Windows.
FINDING THINGS
To find a file or folder, click Places and select
‘Search for files’. Enter a snippet of the filename
into the field called ‘Name contains’. There
are more options available if you click on the
triangle next to ‘Select more options’.
see the shared folders themselves. Click on by holding down Ctrl-Alt while pressing the left
one of these and you’ll see the shared files. or right cursor key. The icon at the top left of
all windows gives you the same options as in
MAKING MOUSE ADJUSTMENTS Windows (Restore, Minimize and so on), but
If you’re used to slow mouse movements in also allows you to move the window between
Windows, the speed at which Ubuntu initially workspaces, as well as allowing you to display it
moves the pointer may be too fast. You can in front of all other windows each time.
easily slow it down. Click on the System menu
in the launch bar and select Preferences. Then WRITING FILES TO DVD
click on the Mouse category. In the subsequent Trying to save files to optical media in Windows
window, pull the acceleration slider to the left can be a deeply frustrating experience. In
and test the mouse until it moves the way you’d Ubuntu, it’s easy. Simply insert a blank DVD or
like. Finally, click the Close button. CD and wait for the system to open a window
asking which application you’d like to use. Leave
CHANGING BETWEEN DESKTOPS the selection on Open CD/DVD Creator and
Ubuntu supports multiple desktops called press OK. Drag and drop the files you want to
workspaces. These let you switch between virtual save into the subsequent file browser window.
monitors, which is an excellent way to jump Then enter a name for the disc and press Write.
between lots of programs. On the second launch That’s all there is to it.
bar at the bottom right of the screen, you’ll see
two small boxes: one brown and one grey. These KEEPING UP TO DATE
represent the default two workspaces. Each time you log in, the system contacts
Right-click on them and select Preferences. Ubuntu’s servers for updates to its installed
You can then select the number of workspaces packages. If there are any, it displays a small
you want, rename them (by double-clicking on speech bubble on the launch bar that you click
a name in the list) and stack them rather than to start the update. Press Install Updates on the
displaying them in a line. If you select ‘Show pop-up window and enter your password. Ubuntu
workspace names in switcher’, the names will asks for your password this way whenever you’re
appear on the toolbar; by default, you use Desk about to change the system. Enter it, and the
1. If you click Desk 2, Gnome displays a second system downloads and installs the updated
view of your desktop. packages. You may be asked to reboot.
hances are that you have at least Linux may use a file system that’s
Transferring files to
your Linux computer
Now Ubuntu is up and running, you’ll want to transfer your
documents and media to the computer. Here’s how
makes sense to share the My Documents folder. the Start menu will open it and show all the
Right-click on the folder and click Sharing and folders within it. From the Start menu, click on
Security. If you want to share a whole hard disk, Computer, then the hard disk on which Windows
you’ll need to tick the box next to the warning is installed (usually drive C:).. Click on the Users
that says “If you understand the risk but still folder and you should see a folder with the name
want to share the root of the drive, click here”. of the user account you want to share. Now you
On the Sharing tab, which should be visible, can right-click on it and share it as normal.
tick the box next to Share this folder on the Head back to your Ubuntu computer and
network. You can change the name of the folder click Network on the Places menu. You should
so you can easily identify it on your Ubuntu see a Windows Network icon. Double-click on it
computer. For example, you might change ‘My and you’ll see icons for each PC on the network.
Documents’ to ‘Jim’s Documents’ if you need Double-click on the one you want, and you may
to share the My Documents folders for multiple see a password window open. Enter the correct
users on the PC. Click OK, and Windows will username and password for the account in which
apply the changes. This could take several the shared folder is, and check the Remember
minutes if you have a lot of files within the folder. forever option before clicking Connect.
If you find that this doesn’t work, and you
HASTA LA VISTA To share your entire user get a message saying, “Unable to mount
folder in Windows, you’ll
For computers running Windows 7 and Vista, go have to navigate to it through
location”, there may be a firewall on the
to the Control Panel and click on the Networking Windows Explorer
and Sharing Center. Under the Sharing and
Discovery heading (in Windows 7, click Change
advanced sharing settings), click the downward-
pointing arrow next to both Network discovery
and File sharing. Set both so they are turned
on. If password-protected sharing is enabled,
you’ll need to know the user account name and
password of the Vista account in order to access
files over the network.
Next, as in Windows XP, head to the folder
you want to share. Right-click on it, choose
Share… and a window will open asking who you
want to share the folder with. Simply click the
Share button at the bottom, and you’ll see a
progress bar until all the files are shared.
If you want to share your Windows 7 or
Vista user folder, you’ll have to browse to it
through Windows Explorer, as clicking on it from
EXTERNAL DRIVES
The process of transferring files from a USB
When you plug in a USB
storage device, its contents hard disk, flash drive or memory card is almost
last file clicked will be selected. You can use should automatically appear identical to the process we’ve just described
in a File Browser window,
a mixture of the Shift and Ctrl keys to select and a shortcut icon will for networks. The only difference is that when
several blocks of files. appear on the desktop you plug one of these storage devices into your
When you’ve selected the files you want, computer, a File Browser should automatically
either press Ctrl-C to copy them or choose appear showing the contents of the drive. A neat
Copy from the Edit menu. Navigate to the folder feature of Ubuntu is that a shortcut to the drive
on your Ubuntu computer to which you want will appear on the desktop so you can quickly
to transfer the files (you can open a new File access the drive while it remains connected.
Browser window; just head to the Places menu You can now select files and copy them to
and choose one of the folders there). Then your hard disk using the same methods as
choose Paste from the Edit menu or press Ctrl+V for transferring files over the network. Before
if you prefer to use keyboard shortcuts. unplugging USB flash drives, hard disks or
If you want to move the files rather than copy memory cards, it’s a good idea to hit the eject
them, choose Cut from the Edit menu when icon, which appears to the right of the drive in
you’ve selected them. However, this will work the Places pane of the File Browser window. This
Ubuntu will recognise a
only if you ticked the ‘Allow network users to USB drive or memory card,
helps to prevent files from becoming corrupted.
change my files’ box when sharing folders in just like Windows
Windows XP. This shouldn’t be a problem with
shared folders on Windows Vista computers, as
the default permission level is ‘Owner’.
WHAT A DRAG
Another way to transfer files, which may be the
easiest way for some people, is to have two File
Browser windows open on your desktop. One
window will show the files stored on the remote
computer, while the other will show the folder
on your local hard disk that you want to copy
the files to. To resize the File Browser windows
so they sit neatly side by side, simply hover
your mouse over the bottom-right corner of
each window until the cursor changes, then click
and drag until the window is the right size; it’s
exactly the same process as in Windows.
Configuring Ubuntu
Everyone likes to customise their PC to their liking. Here we’ll show
you how to tweak Ubuntu’s themes and enable its special effects
n the same way that you can set The default themes are a little limited, so
3 4 5
from the package installer. You can also click across both screens. Resizing an image so it fits
the Customise button at the bottom of the properly on your screen using the Gimp image-
Appearance Preferences window and modify a editing application (see page 60) is simple.
theme. You can change the look of the controls,
the colours, icons, window border and pointer. You’ll see three more tabs in Appearance
You can pick from the lists under each tab. 6 Preferences. Fonts allows you to change
the system fonts, while Interface lets you tweak
Even though you’ve now changed the menus and toolbars, so you can decide whether
4 theme, you still need to set a wallpaper, to show text labels under icons, beside them or
or background as it’s called in Ubuntu. In the not at all, for example.
Appearance Preferences window, click on the If you have a PC with a relatively modern
Background tab and you’ll see Ubuntu’s default graphics card – virtually all computers made in
backgrounds, plus the option of no desktop the past three or four years will –
background (the top-left thumbnail). then you’re more likely to want to
If you don’t like any of the images, you can try skip straight to the Visual Effects 6
a solid colour by clicking on the ‘no background’ tab. The default setting is Normal,
thumbnail. You can choose the colour by but we recommend selecting the
clicking on the colour swatch at the bottom of Extra setting. This turns on lots
the window. This opens another window with a of nifty effects that you’ll notice
colour wheel on it. Click on the eyedropper tool when doing mundane tasks such
to pick a colour from somewhere on the screen as dragging a window to another
– we’ve clicked on the title bar of the dialog box position or maximising a small
to choose its blue shade. You can click anywhere window. It’s effects like this that
on the colour wheel or inside the triangle to pick make Ubuntu a lot of fun to use. 7
your own colour.
One final tweak you may
If you’d prefer to use a photo or other 7 want to make is to adjust the
5 image, click the Add… button and browse sensitivity of your mouse. Head to
to where your image is stored. If you don’t yet System, Preferences, Mouse. This
have any pictures on your computer, see page 42 will open a window that lets you
to find out how to transfer all your documents adjust the pointer speed, double-
from your old computer to the one running click speed and more.
Ubuntu. Alternatively you could download a If you have a laptop with a
photo from the internet, or plug in a USB flash touchpad, there’s another tab
drive or memory card from your camera. Here with touchpad-specific options,
we’ve chosen a photo from an SD memory card. such as disabling it when typing –
If you have more than one monitor, it’s worth this prevents the cursor jumping
noting that Ubuntu doesn’t deal with the screens around the screen when you brush
separately, so the image will appear stretched the touchpad while typing.
Superfast:
210 GBit/s connectivity!
Environmentally friendly:
£
12 .99 per month*
Future-proof:
Over 1,000 in-house developers!
Calls cost 6p per minute from a BT landline, calls from other operators and mobiles may be higher.
CHAPTER 3
f you share your PC with several You can also set the type
Using the
Launcher
Keep your favourite programs and gadgets
to hand by customising the Launcher 1&1 DUAL BASIC
From
&
1
5 GB Web Space
£ .99
3
Right-clicking on an icon may give you new options for an
10 GB Web Space
application, such as Open a New Window in Firefox. If the
UNLIMITED Traffic
application isn’t always visible in Launcher, you can click Keep
NEW: 10 MySQL Databases
in Launcher to pin it there. This gives you a quick shortcut. per month*
NEW: 1&1 SiteAnalytics
3000 IMAP/POP3 E-mail
The icons are shortcuts to your Accounts
favourite applications. Icons
with white arrows next to them
.co.uk
denote running programs.
1&1 DOMAINS
starting at
£ .49
2
now only £2.49 first year
Call
0871 641 21 21 www.1and1.co.uk
Calls cost 6p per minute from a BT landline, calls from other operators and mobiles may be higher.
CHAPTER 4
Using LibreOffice
Ubuntu comes with a complete office suite that caters for your word
processing, spreadsheet, presentation and business graphics needs
f you’ve ever used an office suite easily disable it by going to Tools, AutoCorrect
formulae, Calc will be up to the job. There’s saving in .PPT format for the best compatibility.
a Function Wizard that helps you to build You can also export files as PDF files.
formulae, a Chart Wizard for graphs and a neat
Navigator pop-out window that helps you set and DRAW
return to specific areas on large sheets. Draw is most similar to Microsoft’s Publisher
As with Writer, there’s spelling and grammar- or Adobe’s Illustrator graphics packages. It
checking built in, and it’s easy to alter the page won’t be useful for everyone, but it could
settings before printing to fit a whole sheet on come in handy if you need to create a logo
a single page of A4, for instance. Also common or any other vector-based image.
across the suite of applications is a zoom control Vector images can be resized without losing
in the bottom right-hand corner. There’s also a quality. When you enlarge a JPG image, for
PDF button in the toolbar at the top so you can example, it can become blocky and lack detail.
export spreadsheets directly as PDF files, which With a vector drawing, the quality remains the
just about every computer can read. same no matter what size you scale it to.
Calc will save in .ODS format by default, so Draw has lots of tools for drawing shapes,
make sure you select a format that’s compatible lines and speech bubbles, and its interface
with anyone that needs to see the spreadsheet. shares the same design as Writer, Calc and
Microsoft .XLS formats are supported. Impress, so it’s fairly easy to find where things
are. If you need to draw a chart, you’re better off
IMPRESS If you’re familiar with
PowerPoint, Impress will be
using Calc, but Draw can do it if you have the
If you need to create a presentation, Impress is easy to use. It doesn’t mirror patience. As with the other applications, you can
every single feature of its
just as flexible as Microsoft’s PowerPoint. Built- rival, but still lets you create
export files as PDFs and preview before printing.
in templates mean you can follow the wizard clean, attractive slides
to choose a background you like, the transition
effects between slides – there are lots to choose
from – and whether you want slides to advance
automatically after a preset time.
Once your basic presentation is created,
there are lots of slide layouts from which to
choose, and you can add text just as you would
in PowerPoint, by typing directly on to the slide.
You can also easily insert charts, images, movies
and audio clips into slides.
Impress has several different views of each
slide, one of which lets you add notes below a
slide for printing it out on A4 paper. There’s also
a Handout tab so you can print nine slides per
sheet to give to your audience.
Impress saves files in .ODP format unless
you change the default settings. We recommend
reating data discs and audio CDs Click Add and the files will be added to the
C is easy with Brasero. The friendly 3 project. You can type a title for the CD in
interface has a selection of large the box at the bottom, and double-click on each
buttons that allow you to burn track to edit the information; useful if you have a
audio CDs and data discs, create video DVDs, CD player that displays text. You can split tracks
make direct copies of CDs and DVDs and burn using the knife icon in the toolbar, while the
ISO images of a CD or DVD. It can also erase pause icon adds a two-second pause after a track.
rewritable CDs and DVDs.
Click the Burn button in the bottom-right
HOW TO… BURN AN AUDIO CD 4 corner. The only option you may want to
Insert a blank CD-R into your CD writer change if you have problems burning discs is
1 and launch Brasero Disc Burner, which to reduce the burning speed to a setting lower
you’ll find by searching in the Applications than the default Maximum. Once you’ve clicked
menu. Click the Audio project button under the Burn, Brasero will make all the tracks the
Create a new project: heading. same volume (normalisation), write the CD text
information and then burn the tracks. When the
Add some audio files by clicking the green process is complete, the disc should eject and
2 + button and browsing to your music. will be ready to play.
Brasero supports any format for which you have
the codecs installed. Fire it up immediately after
you install Ubuntu and you’ll find it won’t even 3
support MP3s. To install a codec, simply search
for the formats you need in Synaptic Package
Manager and mark them for installation. When
this is done, choose the files you want to burn.
Ctrl-A selects all files in the folder, or click on
the first one you want, hold Shift and click on
the last to select a block of files.
1 2
4
1 2
Connecting a
digital camera
Before you can edit your photos, you need to transfer them from your
digital camera. This is as easy in Linux as it is in Windows
GETTING CONNECTED
Plugging your camera in is as simple as display RAW images from our Nikon D80 DSLR.
connecting the provided USB cable to your All you have to do is select the images that you
computer and camera, and then turning your want to copy. Pressing Ctrl-left-click lets you
camera on. Depending on the make and model select individual images; using Shift-left-click
of your camera, you can also select the PC selects a range of images.
mode, so that the camera knows it will be When you’re happy with your selection, click
transferring images to a computer. Import Photos. Your pictures are copied to your
Once connected, a window will pop up Pictures folder and sorted into folders by year,
onscreen telling you that you’ve just inserted a date and then day.
medium with digital photos. You then need to When you’re ready, click Copy to start copying
choose what application to launch. the images from your camera to your hard
Here you have two options: the Shotwell disk. Depending on the size of your memory
photo manager or Open Folder. The latter card, the size of the images and the number of
option lets you access the camera directly photos, this process can take anything from a
and manually copy files from it. We prefer the few seconds to a good few minutes to complete.
Shotwell Photo Manager option; select this and Once the process has completed you’ll get a
click OK. success message and then are asked if you want
to delete the pictures from your camera.
SHOTWELL
Shotwell will start and display a window with a IMPORTING PICTURES
list of photos on your camera, complete with a When you’ve completed copying files from
thumbnail preview. The software supports pretty your digital camera, the photos will be stored
Once you’ve imported your
much every major image format and could even photos, you can edit them in
on your computer. You can then edit them
Shotwell Photo Manager and organise them using Gimp (see page
60 for more information). Alternatively,
you can view them in Shotwell. To do this,
click Last Import to view all your recently
imported files or click Library to view all the
image files on your computer.
You’ll now be able to see thumbnails of all
your photos. Double-click on an image to open
it up in the photo editor. Here you can view the
image full-screen, adjust its colour, straighten
and crop it and remove red-eye effects. If you
need to make only a few basic changes, these
tools will probably be enough for you. However,
they’re fairly simplistic; Gimp (see page 60) is
a far more capable image-editing application,
while Picasa (see page 64) enables you to
organise your photos into searchable libraries.
Getting started
with Gimp
It may have a funny name, but Gimp is a powerful photo-editing
application, and it comes free with Ubuntu
f you can look past the unusual over the past few years. In fact, the three-
This is the main window and Click this button to show the
shows the photo you’re editing. undo history.
The zoom control lets you zoom in and out of The brushes palette can be switched
the image. Selecting 100% shows you the actual for patterns or gradients by clicking
pixels that make up the image. the respective icon at the top.
You will have to install Gimp from the Ubuntu LAYING IT ON THICK
Software Centre, as it’s not installed by default. Layers are a powerful way to edit photos. You
It loads quickly, but doesn’t automatically ask if can load multiple photos as different layers of
you want to open a photo. You can either drag the same image, but you’re unlikely to want to
a photo from a File Browser window or use the do this. Only the photo in the top-most layer will
File, Open… menu. be visible unless you make it more transparent.
Be careful when dragging images into Gimp This will then let the layer behind show through,
if another image is already open as, by default, creating an effect likely to be ghastly.
Gimp will add a new layer to the existing image There are many uses for layers, one of which
and plant the new photo on top of the old one. is to create high dynamic range photos. This is
The quickest way to zoom in and out of a where you load the same photo shot at different
photo is to hold down Ctrl and roll your middle exposures: one underexposed, one correctly
mouse wheel up or down. You can also use the exposed and one overexposed. By blending the
magnification box at the bottom, or click on the three together and erasing portions of each layer,
magnifying glass icon in the tool palette and you can create some striking results.
click and drag on the area you want to zoom to. Each new layer uses up more of your PC’s
memory, so if you find that Gimp feels sluggish
ROLLING BACK THE YEARS as you have lots of layers in your image, you
If you think you’ve made a mistake and want to may need to upgrade your computer’s RAM.
go back to a previous version of your photo, click
on the yellow arrow near the top of the Layers TOUCH-UP JOB
palette on the right. This switches the view from Layers may be interesting, but for the most part,
Layers to Undo History; to switch back, click on you’ll probably want to improve photos in order
the stack of white frames, or press Ctrl+L. to print them, send them to friends and family
In the Undo History, you’ll see all the changes or post them on the internet after a party, for
you’ve made to the photo. Each time you make example. On the next two pages, we’ll show you
a change, the list is updated with a small icon how to use Gimp’s tools to turn a rather flat-
showing the change and a description of the tool looking photo into something that looks as if
or effect used. Just click on any entry in the list. you’ve got real photographic flair.
imp may not be the easiest photo the shade is darker than the outside of the eye.
Organising your
photos with Picasa
Google’s photo-management software is hard to beat, and it works
well in Linux. Here we’ll show you how to use it
SHARING PHOTOS
You’ll probably want to show others your photos
at some point, and one way is a slideshow. If
you’re in the Library view, you’ll see a little green
play arrow at the top-left corner of each Album
or Folder. Clicking it will display a full-screen
slideshow. Move your mouse to display the
hidden menu at the bottom of the screen. This
lets you pause the slideshow, set the interval and
transition between photos, and even rotate them.
Hit Esc or click Exit to return to the Library view.
Picasa also lets you share photos with distant
You can enhance your
photos with ease in Picasa. friends and family using Web Albums. There’s a
you move it higher or lower, the faster Picasa There are tools for cropping, link to Web Albums in the top-right corner. You’ll
straightening, removing red
scrolls up or down through your photos. This is eye and adding effects need to create a free Google account if you don’t
handy when you want to scan through a folder already have one. Once you’re signed up and
slowly to find the image you’re looking for. logged in, you’ll be able to use the Sync to Web
Just above the Folders list is an Albums list. toggle button at the top-right of each Folder or
These are collections of pictures that can be Album to upload the photos to the web.
stored in multiple folders on the disk. Albums When you click the button, Picasa will ask you
make it easy to view your favourite photos from what size you want the photos to appear, and
an occasion, without having to copy them to a whether to make them public, unlisted (hidden)
separate folder. To create an Album, click New or require a password to view them. Click the
Album… in the File menu. Type a name for it, Change Settings… button to make your choices.
and you can then drag and drop photos into it When the photos are uploaded, you can click
from the thumbnails you see on the right. on the View online link to see how your photos
look in your web browser. Alternatively, you can
IMPROVING YOUR PHOTOS click the Share button to invite people to view
Picasa doesn’t just allow you to organise your the photos. This will open a window where
photos; it lets you enhance them, too. Picasa is Full-screen slideshows
ou can enter email addresses. These will
what’s called a non-destructive photo editing make the most of your auto-complete if the person is one of your
photos, and Picasa lets
application, which means that it doesn’t touch you decide the interval and
Google Mail contacts.
the photos stored on your hard disk. Instead transition between images
it saves the changes you apply to the photo
and combines these with the original photo to
display your edited version.
Double-click on a photo to open it in the
viewer/editor. You’ll see three tabs on the left:
Basic Fixes, Tuning and Effects. These allow you
to crop and straighten photos quickly. It’s very
easy to remove red eye or apply auto contrast
and colour. Under the Effects tab you can turn
colour photos to black and white, increase
saturation, or apply effects such as soft focus.
There’s none of the fine control offered by Gimp
(see page 62); everything here is a quick fix.
Above the photo you’re tweaking are
thumbnails of other images in the Album or
Connecting a video
camera to your PC
Linux is perfectly capable of editing your video files. Here we’ll show
you how to transfer your files from your camcorder to your PC
VIEWING FILES
Before you start editing your videos (see page
68), you may want to check the files first and
delete any that you don’t want to use. Ubuntu
can play back most file types, and we had
no problems with 1080p HD video files from
our Samsung camcorder. However, some HD
cameras have been known to use strange
You can preview your video
formats, so you may need to search the files and just keep the ones
Ubuntu forums for help. worthy of being edited the gstreamer0.10-ffmpeg H.264 codec. Select
To view a file, simply double-click it and the the default option and click Install.
Totem Movie Player will start. By default this Once the codec has been installed, you’ll
player doesn’t have a lot of video codecs (the be able to preview your video. The software
software used to display a video file) installed, doesn’t always get it right, so if the picture looks
but it can detect automatically what it needs to squashed, select 16:9 from the View, Aspect
install. When you first try to play a file you’ll see Ratio menu. This should fix the video and make
an option to install additional plugins, such as it look right. Once you’ve previewed your clips,
you can simply delete the ones you don’t want
and save the others to be edited.
You can browser your
camcorder’s files just like any Installing the codec also means that
other folder or storage device supported videos will automatically have a
thumbnail image generated in the file browser.
This is similar to the way in which Windows
handles video files. It makes it easy to see
quickly what you’ve got and always select the
right clip without having to preview it first.
Once you’re happy with the files that you’ve
copied from your camcorder, you can edit them
in the package of your choice. We’ve got more
details on how to do this in our guide to video
editing with Kdenlive on the following page.
Editing video
Want to cut out the chaff from your video footage before uploading
it to YouTube? We’ll show you how using Kdenlive
ou may have noticed that Ubuntu started work on programs for this purpose.
The render button. Click this when you’re Drag an effect from the list on to The project monitor shows the
ready to export your finished movie in a a clip to add that effect. You can whole movie, but you can switch
format that your player is compatible with. add multiple effects to each clip it for a view of the current clip
and adjust their properties with by clicking on the Clip Monitor
the Effect Stack tab on the left. tab below.
Click the Add Clip
button to import video
clips from your hard
disk, memory card
or directly from your If you make a mistake,
video camera. you can use the Undo
History to jump back
to the point you want
These are the video to restart from.
clips in your project.
They can be added to The zoom control lets
the timeline as many you see more detail
times as you like. when you need to
adjust and edit clips
more precisely.
1 2
3 4
regularly save your work, you can just reload the Trim clips by hovering your mouse over the
application and carry on. 3 left or right edge of it and, when the cursor
As Kdenlive’s interface is relatively complex, changes, drag the clip to the desired point. If you
it’s worth spending a few moments acquainting want to add transitions, you’ll need to overlap
yourself with the various elements and controls. clips in adjacent video tracks. Right-click on one
To install Kdenlive, use the Synaptic Package of the clips, hover over Add Transition and then
Manager, under Administration in the System choose Dissolve from the menu that appears.
menu. Search for kdenlive in the Quick search
box, and mark it for installation. Accept the You can add a title to the start of your
extra packages needed when asked, and allow 4 movie by clicking the down arrow next to
the installation to complete. You’ll find Kdenlive the Add Clip button and choosing Add Title Clip.
under Sound & Video in the Applications menu. Using the text tool (the icon with the letter T on
it), type in the title you want, changing the font,
Copy any video clips from your camcorder size and colour as appropriate. You can move
1 to your hard disk. You can’t work with clips it around using the X and Y controls at the top.
stored on the camera itself or on a memory card, Click OK and then drag the title from your clip
as they are too slow. Start up Kdenlive and click list to the beginning of track 0.
the Add Clip button. Browse to the folder where You can now click the Render button to
you’ve stored your clips, select the ones you save your movie in whatever format is most
want and hit the Open button. appropriate. You’ll find lots of presets in the
Destination drop-down menu. To save to a DVD,
Clips may take a few minutes to be indexed, choose DVD, then PAL 16:9 VOB (assuming your
2 and until they are they’ll be greyed out. video camera is widescreen). Tick ‘Open DVD
Once this is done, drag clips one by one on to the wizard after rendering’ and you’ll be able to burn
timeline into track 1. Order the clips as you like. a DVD with the resulting MPEG file.
Playing DVDs
Using your computer to watch movies and videos is easy with
Ubuntu. All you need to do is download and install VLC
buntu comes with Totem Movie watch movies. You may already be familiar with it as
Double-click on the
Menus are self- video to make it
explanatory, and full screen. Another
many functions can double-click will
be accessed quickly return it to a window.
by right-clicking on
the video itself.
1 2
HOW TO… INSTALL AND USE To play a DVD, insert the disc into your
VLC MEDIA PLAYER 4 drive and wait until it is recognised. A pop-
Open the Synaptic Package Manager by up window may appear asking you to select how
1 searching for it in the Applications menu. to open the Video DVD. We recommend choosing
Enter your password and then type vlc into Open VLC media player and ticking the Always
the Quick search box. The first result should perform this action box, before clicking OK.
simply say vlc. Right-click on the grey square
to the left of the result and choose Mark for The DVD should play automatically, but if it
installation. A window will appear asking you 5 doesn’t, choose Open Disc… from the File
to approve additional downloads; just click menu. A slightly bewildering window will open,
the Mark button. but you can simply click the Play button.
The package files will be downloaded and You can now use the menus with your
2 then installed. Once this is complete, you 6 mouse, selecting scenes or playing
can close the Package Manager. You’ll find VLC the movie from the beginning. To play video
media player has been added to the Applications files stored on your hard disk or an external
menu under Sound & Video. USB device, simply browse to the file using a
File Browser window and drag it on to VLC’s
A warning will appear asking for your interface. As VLC supports most video formats,
3 authorisation to download CD covers, it should play your file. To play high-definition
track information and check for updates. files, you’ll need a reasonably powerful
Choose your preferred option from the menu computer. If yours isn’t up to the job, you may
and click OK. The minimal VLC player will open. see stuttering video or no video at all.
4 5 6
anshee Music Player is the default Specific tab. Select Audio CDs from the Source
LISTENING TO PODCASTS
To listen to a podcast in Banshee, you’ll first
need its URL. Usually, the best place to find this
is at the website that hosts the podcast. For
Connecting an iPod
iPods can be a little trickier to use with Ubuntu than other MP3
players. Here are some tips on how to synchronise music and video
USING GTKPOD
Gtkpod is a lightweight application that’s solely
designed to synchronise media with iPods.
Search for it in Synaptic Package Manager and
it will appear immediately. When it’s installed,
Banshee is a slick-looking
you’ll find it under Sound & Video in the iTunes alternative, but even
Applications menu. It supports first-generation the latest version lacks well with most iPods and can synchronise your
support for the iPod Touch
iPods through to fifth-generation models, and the iPhone music. The only snag is that music is all it does
including the Mini, Photo, Shuffle, Nano and – forget synchronising any videos you may have.
Video, but not the iPod Touch or iPhone. As a music management application, though,
It’s capable of transferring MP3, WAV, M4A, it’s well worth trying out as it’s a powerful music
audiobooks and various video files to your iPod, manager with a simple interface.
but you’ll additionally need to install bashpodder Banshee is the default music manager in
or gpodder if you want podcasts. The interface is several Linux distributions, and it now supports
basic, but it gets the job done. videos as well as music. It can sync both music
and video to your iPod, and also supports
AMORAK podcasts. Unfortunately, although it has the
Amarok is a music player that has a Linux polish that gtkpod lacks, it still doesn’t support
Amarok is great for music,
version and looks a lot like iTunes. It works but it doesn’t yet support
the iPod Touch or iPhone.
video files
VIRTUALBOX
Virtualbox can run whole operating systems in a
Ubuntu window. As long as you have a legitimate
Windows disc and product key, you can use it to
install, say, Windows XP in Linux. You can then
install any Windows programs you like, including
the latest version of iTunes.
Virtualbox doesn’t provide direct access to
your computer’s hardware so Windows may not
run particularly quickly, but it should allow you
to synchronise your iPod properly. For many
people, though, this is a cop-out, and almost
pointless as you could just as easily install
Windows on a separate hard disk partition to
Ubuntu, and use it independently.
If you do decide to give Virtualbox a try, you
can find it in the same way as find any other
application by using the Quick search box in
Synaptic Package Manager.
Connecting an
MP3 player
Transferring music, videos and podcasts to your MP3 player is
simple in Ubuntu. Here we’ll show you how
e’ve already looked at Banshee on does. A window should pop up asking which
Synchronising a
mobile with Linux
Backing up your phone to a PC is a great way to save your settings
and make sure you have the same contacts wherever you are
Wammu makes it
simple to connect your
Go to the Bluetooth menu on your phone and Linux computer to
make sure it’s turned on. Next, look for an option most mobile phones
for Paired devices. Follow the instructions to
start a search and your Ubuntu computer should
be discovered. Select to pair and then type in a To connect to your phone, select Connect
numeric code of your choice and select OK. A from the Phone menu. If there’s an error, try
dialog box will appear on your PC asking you to running the wizard again and selecting different
type in the same code. Do this and click OK. connection options. To view contacts, phone
Once your devices are paired, your phone messages, calls made and calendar entries from
will appear in the list of devices, along with your phone, select the appropriate option from
the type of device it is (Phone). On your phone the Retrieve menu. You can edit existing data,
you may get an option to connect to your PC and create new calendar entries, contacts and
automatically. Select Yes, and your phone messages using the Create menu. All changes
will connect to your computer every time it’s are automatically written to the phone.
in range. This prevents you having to make a To back up your data, select Save from
physical connection each time. the Backups menu. You can either save all
data or use the drop-down menu to save only
BROWSING YOUR PHONE contacts (vCard and LDIF formats) and calendar
When you click on the Bluetooth icon, your (vCalendar and iCalendar) entries. If you save
phone will appear under the Devices entry. contact and calendar information separately you
Select it and you’ll see an option to browse files. can import them into another application, such
Choose this and you’ll be able to copy files to as Evolution mail. If you export your calendar
and from the phone’s internal memory. and contacts from Evolution, you can import
them into Wammu and save them on your phone.
BACKING UP YOUR PHONE
To back up your phone, you’ll need to install
You can export just
the Wammu application. Select Software Centre your calendar or contacts
from the Applications menu and type ‘wammu’ and import them into
another application
into the search box. Double-click on Wammu in
the results and then click on the Install button.
Once Wammu has downloaded, run it from
the Applications, Accessories menu. Follow the
wizard through using the Guided configuration
to select your connection type and the type of
phone you’re using. The default options are
usually the best. If you’re using Bluetooth, you’ll
need to make your phone temporarily visible,
otherwise Wammu won’t find it.
he fact that Ubuntu does everything On the next page you’ll be presented with a
SETTING PREFERENCES
While you’re waiting for your computer to index
your files, it makes sense to configure Google
Desktop to work the way you want it to. At the
GOING GRAPHICAL
Ubuntu 11.04 has lots of graphical effects turned
on by default, but there’s no way to manage
them. To do this, you’ll need to install Compiz so
that you can manage the graphical effects. Open
the Ubuntu Software Centre and type Compiz
into the search box. Select OpenGL window
and compositing manager, then click Advanced
Desktop Effects Settings (ccsm). Click Apply
Changes and the software will be installed.
For graphical effects, you need a 3D graphics
chipset. Any graphics card made in the past
few years will be able to cope with 3D graphics,
as will PCs that include integrated graphics.
You’ll also need to install your graphics card’s
restricted driver. If you haven’t done this already,
select the Restricted Drivers icon in the title bar that conflicts with another setting, you’ll be
at the top of the screen. From the list of graphics given a warning and the option to proceed or
drivers that appears, select the recommended continue with the current settings. Don’t enable
one and click Apply. The driver will be the Desktop Cube or anything that will disable
downloaded and installed. Once it’s finished your the Ubuntu Unity Plugin, as this will break the
computer will have to be restarted manually. user interface and make your PC practically
impossible to use. Some options require you
ADVANCED LEARNING to click them to get a sub menu, where you
Once you’ve enabled your driver, you’re ready
to start enabling the desktop effects you
With the Advanced Effects
want. These are all managed by Compiz. The switched on, windows wobble
application we installed earlier is used to control as they move
can turn on further settings before everything options, such as Enhanced Desktop Zoom, and
works. When following this guide, have a look applications that make text easier to read. The
through the options to make sure you’ve enabled box on the right explains which keys you need to
everything you want. press to activate these shortcuts.
Other accessibility options adjust the
IMPROVING ACCESSIBILITY brightness and contrast of windows and invert
Accessibility options are designed to make their colours. One feature you may want to use is
Accessibility options
include an enhanced zoom
Linux easier to use. Here you’ll find standard Opacify. With this selected, hovering the mouse
tool and the Opacify feature over a window makes all the other windows
opaque, so you can focus on the selected
application. It can make working on a crowded
desktop a lot easier.
ON THE DESKTOP
The Desktop settings contain all the features that
really improve how you use your computer. Once
you’ve enabled these features, you’ll wonder how
you ever lived without them.
The Desktop Wall gives you a handy way to
switch between workspaces. The shortcut keys
in the box on the right show you how to move
between the workspaces. You can also drag
applications to the side of the screen to rotate
the cube and place them on another workspace.
With Expo enabled, pressing the Windows
and the S keys simultaneously will zoom out
and show all your workspaces. You can grab a
Getting connected
Here we’ll show you how to connect your Linux PC to a local
network and take advantage of the mobile internet
hat use is a computer that isn’t on way of networking your computer. There’s no
Your Wi-Fi network tab. Select your 3G connection and press Edit.
should provide the correct
connection settings, but you
Enter the username, password and any other
can change them easily settings your mobile broadband service provider
has given you.
Apply your changes, close the Network
Connections dialog box and select the mobile
broadband connection from the Network
Manager icon. You’ll see a message that says
“GSM network connection established”.
CUP OF JAVA
Java is another common web technology that is
used by many websites. It’s not always visible, as
it’s often used behind the scenes to make jobs
such as filling out forms easier. Ubuntu comes
with its own Java virtual machine (VM) installed,
VIDEO ZONE
It’s possible to get video working in websites
that don’t use Flash. Visit a website that you
know has video and force Firefox into asking you
to search for a relevant plugin. For example, to
get streaming WMV video to work, go to www.
football365.com. A video will attempt to load
and fail, but a dialog box will appear that asks
you if you want to search for a suitable plugin.
You should then click Search.
When given the option, select gstreamer0.10-
plugins-ugly and click Install. The plugin will
download and install automatically. When it’s
complete, streaming WMV movies should play.
If you don’t see this option, you can manually
install all the plugins that you’ll need. To do
this, click on the Software Centre from the
Applications menu. Search for Gstreamer and
Plugins add support for
then install each of the Gstreamer plugins that various video formats, such
appears in the results list. as QuickTime
EXTRA HELP
One of the best things about Firefox is that Statusbar, for example, displays your current
people can extend its capabilities by writing downloads in a handy status bar rather than
plugins for it. These are known as addons. using the entire download manager.
The good news is that addons are often When you’ve found an addon you like, just
operating-system independent, so you can click the green ‘Add to Firefox’ button. Then,
use the same ones in Windows and Linux. when prompted, click Install. If there’s no green
To see what’s available, go to www.getfirefox. ‘Add to Firefox’ button for an addon you like
com and click on Add-ons. Here you’ll find the the sound of, it’s probably because there isn’t
database of addons you can browse through and a Linux version. You should search the addon
search. They all perform useful jobs; Download database to see if there’s something similar.
Configuring email
The Evolution email client lets you stay in touch with your
family and friends. Here we explain how to set it up
fter web surfing, the second most provided by your internet service provider, but
to the webmail account. The message should Then click the Mail Preferences category. The
have arrived. Reply, then check for new mail in General tab lets you set the general look and feel
Evolution using the Send/Receive button. This of messages. To save disk space, you can tick
sends any mail left in your outbox and requests the box marked ‘Empty wastebasket folders on
any unread mail from your ISP’s mail server. The exit’. Just don’t select this option if you’re likely
reply should download. to need to recover any emails that you delete.
Once you’ve configured your email, you can Next, click the HTML messages tab. This
add a new account or change your existing controls how you view HTML content. The
settings by selecting Preferences from the default setting doesn’t load images automatically
Settings menu. If you select the account you’ve and it’s a good choice. If you select to load
just set up and press Edit, a second window images from the internet, a spammer can
will appear, displaying the data you entered authenticate that your email address is live. A
in a set of tabs. If you move to a new ISP, or if useful trick to stop spammers is to change the
your provider starts using a different connection HTML Mode to ‘Only ever show PLAIN’. This will
method (an encrypted link, for example), you can show you the full address of links in emails, so
change your server details here. Click OK. it’s harder to get caught out by a phishing email.
Click on the Automatic Contacts tab and
ADVANCED CONFIGURATION Evolution will automatically create a contact
The left-hand pane of the configuration in the address book when you reply to a
window has several categories. If you click message. This tells Evolution that future
Autocompletion, you’ll be able to say whether incoming messages from that contact aren’t
you want Evolution to auto-complete any email spam, so they won’t be junked by mistake.
addresses you begin entering. If you have a The Composer Preferences category in the
number of address books, you can select those left-hand pane lets you define how you write
to which this feature applies. new emails and replies. Here, you can specify
BLOCKING SPAM
Stopping spam is easy using SpamAssassin, Mail order Email servers explained
which is an intelligent and free utility for
scanning your email. If you’re downloading email Your ISP or email provider may give you a
from Google Mail or another webmail service, choice of POP3 (sometimes called POP) or
you don’t need spam filtering as your messages IMAP servers, so which should you pick?
will already have been filtered. POP3 is the most common and easiest to
Before you can use SpamAssassin, you need use. Your email client connects to the server
to install it. Select the Ubuntu Software Centre and downloads the email. Typically, it deletes
from the Launcher. Type ‘spam’ into the search the mail from the server when it’s finished,
leaving the only copy of your email on your
PC. There’s no more interaction between
Once Evolution is
configured and ready to your mail client and server.
send and receive emails, With an IMAP server, mail is stored on
it will look like this
the server and accessed from the client. Any
email you read on your PC is marked as read
on the server, and vice versa. So if you’re
away and use webmail to read your email,
when you get home, your client will show
that your email has been read.
IMAP’s the best choice if you have a lot
of email storage space on a server, such as
with Google Mail’s current 7GB limit.
Using VoIP
Real-time communication with your friends is easy with Ubuntu.
Here we show you how to configure Skype for Linux
kype may be best known as a voice- which will display a dialog box that shows you
Enhance your
web browsing
Google’s Chrome is one of the best internet browsers available, and
the open-source version, Chromium, can be installed on Ubuntu
Chromium can be
installed through the
Ubuntu Software Centre
you’ve installed it, you can launch Chromium flashplayer. You should see an animation on
from the Ubuntu search menu. The browser the screen, which shows that Flash is working.
will launch and will be immediately familiar A further way of checking is to go to www.
if you’ve used the Windows version before. youtube.com and watch a video.
You’ll be prompted to choose whether you want You might also want to add a shortcut for
Chromium to be the default browser; if you do, Chromium to the Launcher so you can access it
click ‘Set as default’. quickly in future. Start the application from the
One of Chromium’s best features is its Ubuntu search menu, right-click on the icon that
ability to synchronise bookmarks, extensions, appears and select Keep in Launcher. You can
preferences and more between different You can synchronise follow these instructions to remove Firefox from
data between Chromium
computers and the cloud. All you need is a and Chrome on multiple
the Launcher if you don’t intend to use it again.
Google account such as an ‘@gmail’ email computers
address. If you don’t have one, you can get one
for free from www.google.com/accounts.
Once you have an account, click on
the spanner icon in Chromium and select
Preferences. Click the Personal Stuff tab and
select Set Up Sync. Type your Google account
details into the next screen and click Sign In.
Unless you want to synchronise only certain
items, select ‘Keep everything synced’ and click
OK. If you have other copies of Chromium or
Chrome synchronised on other computers, all
your bookmarks will appear.
If you haven’t set up your copy of Chrome in
Windows to synchronise with the cloud, follow
the instructions above, but click on the Spanner
icon and select Options, rather than Preferences.
FLASH OF INSPIRATION
If you have a fresh install of Chromium, you
may find that the Adobe Flash plug-in doesn’t
work. To get it working, you first need to install
Flash. Shut down all open copies of Chromium,
bring up the Ubuntu Software Centre and type in
Flash. Select the Adobe Flash plug-in and click
Install. Type in your user password and click
Authenticate, then the software will download
and install automatically. Then start Chromium
again and go to www.adobe.com/products/
Social networking
Ubuntu integrates seamlessly with your social-networking and
instant-messaging accounts, helping you stay up to date
BROADCAST NEWS
One of the most impressive things about
Ubuntu is the way in which it integrates with
online accounts, giving you status updates for
services such as Twitter, Facebook and more.
You need to authorise your
Getting these working is easy using the built-in social-networking accounts
Broadcast Accounts via the Gwibber application. before you can access them
We’ll show you how to get started with Twitter,
although these instructions are equally valid for
other services. so your account appears in the left-hand panel.
Click on your username at the top of the Repeat these steps to add your other accounts.
screen (the Me Menu) and select Broadcast Once you’re done, you’ll need to configure
Accounts from the menu. Select the service how your broadcast accounts work. The best
you want, such as Twitter, from the drop-down way to do this is to start Gwibber from the
menu. You’ll need to click the Authorize button, Ubuntu search menu. This lets you view all
then enter your username and password before the updates from the social-networking sites
clicking Allow. When done, click the Add button to which you subscribe. Each message has the
logo of the related service next to it, although
you can use the panel on the left to view
Broadcast Accounts lets
you log in to your existing messages from a single service. A bar at the
social-networking sites bottom lets you send status updates to all your
services at once, although you can use the icons
to select specific services to use.
To set your preferences, just click Edit,
Preferences. The notifications options determine
which messages pop up on your screen; it’s
probably distracting to have every message pop
up, so select ‘Mentions and replies only’. The
default refresh update time is 15 minutes; you
may want to reduce this to keep more up to date
with what’s going on, particularly with Twitter,
which has constant live updates coming through.
Click Close when you’re done.
Firewalls and
internet security
Linux may be more secure than Windows, but it’s not completely
immune to attack. Here we show you to protect your system
THE FIREWALL
The purpose of a firewall is to inspect every
data packet attempting to enter or leave the
computer, and decide whether or not to allow
it on its way or to block it. Firewalls are very
closely connected to the operating system itself
and have to be capable of running at top speed
INSTALLING FIRESTARTER
Firestarter is a free application. To install it,
first start the Ubuntu Software Centre. Type
‘firestarter’ in the search box and press Return.
The Firestarter application should appear in the
list below the search box. Click the Install button
to begin the installation process.
You may be asked for your password in a
subsequent pop-up window. If this happens,
enter it, click OK and Ubuntu will download and
install the latest version of Firestarter. Once
this process is complete, click Close. Firestarter
You may need to add
should now be installed and ready to protect specific rules to allow HTTP
your computer. ACTIVE CONNECTIONS and HTTPS traffic through the
firewall for web browsing
There are two important buttons on the
CONFIGURING THE FIREWALL Firestarter control panel. The first is Lock
To open Firestarter’s user interface, first of all Firewall. When you hit this, Ubuntu’s firewall
find it in the Ubuntu search menu. The first immediately blocks all incoming and outgoing
time you run it, after entering your password traffic and the status icon changes to a padlock.
to confirm you want to make changes to the It’s the button you should click if you think
system, you’ll see a configuration wizard. something suspicious is happening. Clicking this
Click Forward to continue. button for a second time unlocks the firewall and
The next screen on the wizard allows you it continues allowing traffic to pass through it as
to assign the firewall to a specific network usual – subject to its security rules, of course,
connection. This should default to Eth0 if you which we’ll come to in a moment.
have a single wired connection, which most The second important button on the control
people do, so leave it as it is unless you a have panel is Stop Firewall. When you press this,
a particular reason to do otherwise. If you’re the status changes to Disabled. This isn’t a
using a wireless network card, it will either be recommended setting to use other than briefly
set as the default option or be available from when you believe there’s a problem with the
the pull-down list. firewall blocking legitimate traffic.
Your internet gateway usually assigns all Another useful part to the control panel is
PCs on your network an IP address when they Active Connections. Click the arrow button
boot up. Unless you’ve chosen to disable this next to this and the display extends to show
and assign IP addresses manually, tick the box the connections you have to the outside world.
marked ‘IP address is assigned via DHCP’ Open tabs in Firefox, run Skype or an instant
before clicking the Forward button again. messenger application, and all your external
There’s no need to enable connection sharing connections will be listed here.
on your Ubuntu machine, so you can safely
press Forward again and finally click Save. DIFFERENT MODES
The main Firestarter control panel will now pop Firestarter works in two modes. The first is
up. The firewall status pane should show it as called Permissive and is the default setting.
being active. This allows all traffic to enter and leave the
cd /Desktop
sudo sh Bit
WEB ACCESS
You don’t have to access Dropbox through a
special folder stored on your computer, as you
can also log on to your account using a web
You can create a free browser. This lets you see all the files and folders
Dropbox account and use
the service with 2GB of free
you have stored online and lets you manipulate
online disk space them, too. You can delete files and folders,
create folders and upload new files.
One feature that the website gives you over
25GB or 50GB). Select 2GB for now, as you can the desktop client is that it lets you create a
always upgrade at a later date if you really like shared folder that you can invite other people
the service and run out of storage space. to use. Changes to that folder and its files are
After you’ve created your account, you’ll be replicated for everyone with access to it, making
told a bit more about how Dropbox works. You’ll it a great way to collaborate on projects.
also be asked if you want to select where your You can also share files and photos with
Dropbox folder will be stored. There’s no need people that don’t have Dropbox accounts using
to change this, as the default location of your the special Photos and Public folders. Anything
Home folder is fine, so click Finish. Your Dropbox dropped into the Public folder can be shared
folder will be opened automatically. with the outside world with read-only access.
You simply right-click the file or folder you want
USING DROPBOX to share and select Dropbox, Copy Public Link,
Your Dropbox folder is stored in your Home and then email this to your friend.
folder and called Dropbox. To upload files to it, A similar thing works for photos. Just create a
simply drag and drop them into this folder. When folder inside the Photos folder and add pictures
they have a green tick next to them, it means to it. Right-click the folder you want to share and
they’ve been successfully uploaded. select Dropbox, Get Public Gallery Link. Send
When you download the Dropbox client to this link to your friends, and they can view your
another computer (Linux, Windows or Mac) and high-resolution photos.
log on with the same account details, the online
files are synchronised with that computer. Any
changes, such as a file or folder being deleted
INSTALLING FILEZILLA
FileZilla can be downloaded from the internet,
but it’s actually easier to install it directly from
the command line. Start a terminal window from
the Ubuntu search menu, and type:
To connect to a site in future, simply click on do. You can choose the Skip the file, Overwrite
the Site Manager icon, select the site to which (there are lots of options for choosing when to
you want to connect and click Connect. If you’re overwrite, such as if the file you’re trying to copy
having trouble connecting and you’re sure you’ve is newer than the one you’re trying to overwrite)
entered the connection details correctly, try and Rename. You can also choose whether
selecting your site and clicking on the Transfer to apply the same option every time, only for
settings tab. Change the Transfer mode from uploads or only for the current set of files you’re
Default to Active and try again; if you still don’t transferring (‘current queue only’).
have any luck, try selecting Passive instead. Finally, FileZilla will automatically check for
Sometimes FTP sites will work with only one of updates, downloading the latest version to your
these options selected. computer and installing it. It checks every time
You can just drag and you start the application, so you’ll quickly be
TRANSFERRING FILES drop files between your
local computer and the
informed if there’s a new version available.
Once you’re successfully connected to a remote remote FTP site
website, you can easily transfer files between
the two. The Remote site window will now be
populated with folders on your FTP site. Double-
click on a folder to view the files it contains.
When you’ve found the files or folders you want,
you can navigate to a specific folder on your
home computer using the list under Local site.
You can then simply drag and drop files or
folders between the Local and Remote sites
(or vice versa). When you do this, a bar at the
bottom of the main FileZilla window will show
you how the transfer is progressing.
You can also drag and drop files directly from
Ubuntu’s normal File Browser into the Remote
site (and vice versa) to start a transfer. This is
often quicker and easier than using FileZilla to
navigate through your local hard disk.
ADVANCED FEATURES
Don’t worry about accidentally overwriting a new
file with an old copy, as FileZilla will check for
this. If a duplicate file is detected, you’ll see a
warning dialog box asking you what you want to
Backing up with
Ubuntu One
If you want a quick way to back up your documents automatically,
the built-in Ubuntu One application can help
ith the data we store on our PCs built-in Linux backup tool as these are quicker
BACKING UP FILES
One of the main benefits of Ubuntu One
is its ability to back up files automatically
and synchronise changes between multiple
computers. It sets up default folders, although
it’s good to check the settings manually. Note
that you can’t back up a single file using the
Nautilus File Manager; it has to be entire folders.
Open the file browser by clicking on Home
from the Launcher. Here, you’ll see that there’s
a new folder called Ubuntu One. This folder is
automatically backed up and any file you copy
into it will be synchronised with your online
storage. This folder is also used for some special
features, which we’ll cover later.
However, you can also synchronise other
You need to copy your
contacts to your Ubuntu One folders. Open up your Documents folder and
space. By default, Ubuntu One is set to address book you’ll see a bar across the top. There should
synchronise Firefox bookmarks, Broadcast be a tick in the ‘Synchronise this folder’ box,
messages, contacts and files. showing that the folder and all its contents
To get Firefox synchronisation working, you’ll are backed up. You can remove the tick to
need to install the Extension. To do this, shut stop the folder from being synchronised. To
down Firefox and click the Install button. A synchronise other folders, browse to them and
dialog box will appear; click Install and enter click the tickbox. All subfolders are automatically
your system password and the Extension will synchronised and can’t be turned on and off
then install. When you start Firefox, you’ll see individually. Files have a green tick next to them
the Add-ons dialog box with the Bindwood when they’re backed up online.
Extension highlighted. This backs up your
settings automatically. You can shut down this
Use the Preferences dialog
window and Firefox will automatically back up box to set exactly what you
any existing and future bookmarks; it will also want to back up
MAKING CONTACTS
When Ubuntu One is set up, it creates an
address book in Evolution. However, it’s not filled
automatically. To do this, start Evolution and
click Contacts. Click ‘Personal’ under ‘On This
Computer’ and select ‘Copy All Contacts To’.
Select Ubuntu One in the next dialog box and
click OK. Your contacts will be copied across.
To make sure that all future changes are
replicated, you need to tell Evolution to use your
Ubuntu One address book as the primary source.
To do this, click Ubuntu One in Contacts and
select Address Book Properties from the Actions
menu. Select ‘Mark as the default address book’,
log on to the web client at http://one.ubuntu. If you’ve shared a folder with another
com. Once you’ve logged on, click the Files user, you’ll see a line at the bottom of the
tab to view all the files and folders that you’re page that starts ‘Shared with’. You can click
synchronising online. the ‘Stop sharing’ link to remove sharing
You can browse through the folder structure permission individually.
and click a file to download it. You can also click You can manage your contacts in a similar
New Folder to create a new directory and click way by clicking on Contacts. To synchronise
Upload file to send a file. It’s a clunky way of your mobile phone contacts, you’ll need to
managing files, but it’s a good option if you’re upgrade to an Ubuntu One Mobile account,
on a computer without the Ubuntu One client. which is quite expensive at $3.99 (around £2.50)
You can also publish individual files online. a month or $40 (around £25) per year.
Click the More link next to a file, then Publish This account also lets you stream music
file. You’ll be able to view the unique URL for the you’ve bought from the Ubuntu One music store
file, which you can copy and paste to send to a using Banshee. All music purchased here is
friend. If a file’s already published, click the Stop stored in the cloud and doesn’t count towards
publishing link to make it private again. your overall storage use.
Choosing a backup
destination
There are lots of places you can store your important files and
folders. Here we take a look at the most popular options
aking a backup of your data is the There are lots of different ways to make
ONLINE
Online storage is rapidly becoming more popular the amount of internet traffic they create and
as broadband speeds increase. Systems such as the speed at which they work. All broadband
Dropbox (see page 110 for details on how to use connections have slower upload speeds than
this service) work by providing you with storage download speeds, and the fastest upload speed
space that you can use over the internet for a you can get is around 1Mbit/s (122KB/s). To put
monthly charge. The main benefit of a system this into context, if your documents, pictures
such as this is that you don’t have to buy any and videos folders amount to 30GB of data, this
physical storage devices. would take you almost three days at maximum
This means that your backups can’t be stolen speed to save all your data online. As most
along with your computer, and can’t be burnt broadband upload speeds are slower than this,
down with your house. The you’re probably looking at a lot longer.
companies providing these To get the most out of online storage, you
services make sure that your need to choose the files you want to back up
data is backed up again, so carefully so as to save on bandwidth. Office files
it’s the most secure method of are typically the smallest in size, and therefore
backup that you can make. are the quickest to upload.
As online storage can be Finally, be aware of how much data you’ve
accessed from anywhere with backed up; if you have a problem and have to
an internet connection, it’s restore it all, it could take a few days. You could
a good solution for people also download so much data that you break your
with laptops, as you can ISP’s fair-usage policy and incur extra charges.
back up your data while on
the move, combating laptop
theft, loss or malfunction. PRO Backups safe from local disasters
CON Slow; can breach your fair-usage policy
The biggest problem
BEST FOR Important files or mobile backups
with these services is in
CD AND DVD
Almost every modern PC includes an optical back and change them again. The
drive that can write files to disc, and using it to files can be copied to disc and
make backups may seem a good idea. Media is stored. This is called archiving, and
cheap (CDs cost less than 15p each and 8.5GB it’s different to backing up.
dual-layer DVDs cost around 60p) and capacities If you’re serious about your digital
are high. Before you start making backups to CD photos, take two copies of each set and
or DVD, though, consider what kind of data you’ll keep one at home and store one with a friend
be backing up, how often you’ll do it and how or who lives at a different address. This way, if
frequently the files will change. the worst should happen and your PC is stolen,
You can only write to a CD or DVD once, you’ll still have a copy of your pictures.
unless you buy pricier rewriteable discs. This
means that making a copy of your documents
folder will require a new disc each time. PRO Cheap and easy
These discs can still be useful, though. Once CON Hard to update backups
BEST FOR Archiving files such as photos
you’ve edited your photos, it’s unlikely you’ll go
NETWORK STORAGE
If you have more than one computer, a network- out of the way, such as in the loft. This makes
attached storage (NAS) device can store your them harder for criminals to steal.
backups. A combination of an external Look for a device that contains multiple hard
disk and a network port, a NAS device disks and supports RAID 1 (mirroring) or RAID
can be accessed from any network- 5 (parity). These will protect your data against a
connected PC in your home. The whole single disk failing in the NAS, so you always have
family can share files and store backups some protection against mechanical failure.
centrally. You can even access some
NAS devices over the internet.
Prices are reasonable, with 1TB PRO Lots of people can back up at once
devices currently available for around CON Can be hard to configure; relatively slow
BEST FOR Homes with multiple computers
£110. NAS devices can also be placed
Making backups
Keeping your files safe is incredibly important no matter which
operating system you use. Fortunately, backing up in Linux is easy
ile backups are an incredibly These back up only the files that have been
BACKUP TYPES
There are two types of file backup that you can
make: full and incremental. A full backup, as
its name implies, backs up all your files
regardless of when they were last modified.
You should make at least one full backup a
week, so that you’ve got a copy of every file
that you need.
The downside with full backups is that they
take up a lot of disk space. If you ran only full
backups you could end up backing up exactly
the same files time after time. For this reason,
there are incremental backups.
1 2
To install Simple Backup, click on Ubuntu settings’ instead. You can also choose to use
1 Software Centre from the Launcher and compression to save disk space.
type sbackup into the search bar. If you want to write your files to external
The Simple Backup Suite for desktop use media, such as a CD or DVD, you can use the
(core functionaliy) should appear. Select it ‘Split backup archeves into several chunks’
and click Install. Hitting the Install button will option to create a set of files the right size.
download and install both the backup and
restore applications. After choosing your initial settings, click
4 the Include tab. This lists the files and
Enter your password when prompted. folders that will be backed up. The default
2 Installation should be a fairly quick settings are pretty good and include all the
process and will take only a couple of minutes, default document folders. Click Add Directory
depending on the speed of your computer and to add a new folder to be backed up if you store
internet connection. Once the software has important files elsewhere.
been installed, click Close. Simple Backup is Be careful when using the Add File option,
now available to use. as this lets you manually specify a single file
that should be backed up, not the contents of
You can run Simple Backup’s configuration the folder that it’s in.
3 from the Administration menu under
System. When it starts, you’ll see the first Click on the Exclude tab to leave out any
screen, which has a default backup profile that 5 files you don’t want to back up. Here you
does a good job. If you want to backup your data can add specific folders that don’t contain any
more regularly, change the ‘Do a full backup useful data, such as the predefined /var/cache/
at least once every xx days’ settingm backup folder. The File types option lets you select files
3 4
5 6
7 8
you don’t want to back up. By default, MP3 Click the Schedule tab to decide when
files are listed here. If you want to back up 7 your backups should take place. The
your music, make sure that you select this default option is to back up once a day. You can
option and click Remove. Repeat this process change this to hourly, weekly, monthly or even
for any other file types that you do want to set a custom schedule. Daily is a good choice,
back up. Alternatively, you can add file types though, although hourly could be useful if you
that you don’t want to back up by clicking the work on lots of very important documents. If you
Add button. This lets you specify files by change the option from Simply to Custom, you
typing in their extensions. get to specify at what time the backup runs, but
Finally, click Max size to see the maximum it’s hard to understand, as you have to specify
individual file size that will be backed up. The the schedule using symantics that the Cron
default 10MB limit should be fine, but if you scheduler understands.
want to back up everything, including large
video files, increase this number to the size of Click on the Purging tab to work out when
the largest files you want to back up. 8 to delete old backups in order to save disk
space. You can either force Simple Backup to
Click the Destination tab to tell Simple delete all your old backups after a set amount of
6 Backup where you’d like the backups to be time – say, 30 days – or leave it on Logarithmic.
placed. By default, it’s configured to back them This keeps more of the newest backups and
up to your hard disk. Click ‘Use custom local leaves fewer old backups around. It’s the best
backup directory’ and then click the drop-down option for most people.
menu to select an alternative hard disk.
Alternatively, you can select ‘Use a remote Once you’ve made your changes, click
directory (SSH or FTP)’ and upload your files 9 Save to apply the settings. Your computer
over the internet. Note that you can’t use will automatically be protected according to
online web-hosting space for this; you’ll need the schedule that you set. However, it’s best
a dedicated FTP server. to run a backup now to make sure that you’ve
backed up all your documents in case your Once you’ve selected the backup location,
computer suffers from a disaster now. 11 you can select the backup you want from
Click the Backup Now! Button. You’ll see a the Available backups list. This will list backups
message saying that your backup is being run in by date, so you can find the most recent one
the background. You should also hear your hard quickly or a backup from a specific date if you
disk as it’s accessed to back up files. Click Close need a particular version of a file.
on the dialog box and Close on Simple Backup. Select the backup you want and you’ll see
Depending on how many files you have, the a list of Files and Folders to restore if you click
backup process can take a few minutes to a few Restoration Management. These are the folders
hours to complete. that you manually specified in your backup
regime. You can expand these folders in order to
If your PC suffers a disaster, you’ll need find a specific file.
10 to restore your files. If it’s a complete Each top-level folder, and all the files and
system failure, you may need to reinstall Simple folders it contains, can be restored individually.
Backup following the instructions in Step 1. To Just select it and click Restore. Alternatively,
restore your data you’ll need to use a different select the individual file or sub-folder that you
application, which is installed automatically. Run want to restore and click Restore.
Simple Backup Restore from the Ubuntu menu.
Enter your password and click OK. By default the Restoring an old file will overwrite any
restore program is set to look for backups in the 12 existing files with the same name. If you
default location; as we changed this, you’ll need want to compare an old file to a new one, or
to click Use custom. Click the Folder icon and restore an older version of an existing file, select
navigate to where you backed up your files and it and click Restore As. You can now call the file
click Open. Click Apply. anything and select the restoration folder.
9 10
11 12
Making an image
of your system
A system image is the most complete backup you can perform, as it
makes a copy of your operating system, applications and files
ow you’ve got Ubuntu working the that you’re constantly making a backup. If your
3 4
5 6
7 8
an option that runs at a lower resolution. Don’t You’ll be a given an option of the type
worry if the resolutions sound low, as CloneZilla 6 of session that you want to run. Device-
uses simple menus that are easy to see at to-image lets you back up to an image file;
any resolution, and there’s no fancy graphical Device-to-device lets you copy one hard disk to
interface. When you’re ready, select the first another, and is useful if you’re upgrading your
option and press Enter. disk. Select Use local device. You’ll then see a
message telling you that if you want to use a
CloneZilla will now load a version of Linux, USB drive you should insert it now and wait five
5 which it runs from and uses both to back seconds before continuing so that CloneZilla can
up and restore your computer. This process of detect it. When you’re ready, press Enter.
loading the operating system will be quick. You’ll get a list of hard disks in your system
When the operating system has finished and need to select one to store the information
loading, you’ll see a simple graphical menu about system images. The first hard disk (HDA1
system that you can use to back up your hard or SDA1) will be the hard disk with the operating
disk. On the first menu that appears, select system on it and the one that you want to back
English as the language, then choose not to up; HDB1 or SDB2 is the second hard disk,
adjust the keymap (this is for non-standard and most likely the one that you want to back
keyboards). When the next menu pops up, up to. Select this. On the next screen select
choose to start CloneZilla. Top_directory_in_the_local_device and hit Enter.
Press Enter again.
9 7
On the next screen, you can select the
mode in which you want to run CloneZilla.
Beginner will suit most people and will give
you the options that you need. Select this and
press Enter.
On the next screen you need to select what
you want to do. Savedisk will take a copy of
your entire boot disk, including the operating
system and all of its files. Select this option
and press Enter.
10 11
12
You’ll now need to give your image operating system as normal. Remember to
8 a name. It makes sense to give it a make regular image-based backups.
descriptive name and a date, so that when you
come to restore an image you know exactly RESTORING AN IMAGE
when it was made and what it does. For If your PC suffers a problem, you’ll need to
example, 2010-01-23-fresh-install will help you 11 know how to restore an image. Fortunately,
identify what that particular image does. The this is an easy process using CloneZilla, too.
date part should be filled in automatically, so It uses the same disc that you used to create
just give the image a descriptive name following the image, so make sure that you keep this
this and press Enter. somewhere safe. Put the disc into your computer
and make sure that the BIOS is set to boot from
You’ll now need to choose which disk you it. Then, follow Steps 2 through 7, but don’t
9 want to make an image of. This should be select the Savedisk option.
easy, as there will probably be only one hard
disk listed now, as the backup hard disk isn’t Select the Restoredisk option and you’ll
listed on this screen. If not, you’ll most likely 12 be presented with a list of available disk
want to back up SDA or HDA, as this is the first images. This is why it’s important to call the
hard disk in your computer and the boot hard images something constructive, otherwise it
disk. Select this and press Enter. could be hard to tell which image to restore.
Look at the date of the images you have. If
Press Enter when you’re prompted and you’ve suffered a problem recently because
10 CloneZilla will check your hard disks to of new hardware or software, select the image
make sure that everything’s in order. It will then that’s closest in date to the last time your
ask if you’re sure that you want to continue. computer worked properly.
Type ‘y’ and then Enter and the software will When you’re ready, press Enter. Select HDA
begin the imaging process. Depending on how or SDA as the target disk, and press Enter to
big your hard disks are and how much data you confirm. Type ‘y’ and Enter both times that
have, the process can take anything from a few you’re asked if you want to continue. The image
minutes up to a few hours. will be restored to your computer, and when you
When it’s completed, reboot your computer, reboot you’ll have everything back to how it was
take out the CloneZilla disc and start your when the image was created.
n old PC can easily go to waste, but for Intel processors and one for AMD 64-bit
1 2
3 4
installation at all. However, this makes it trickier Enter to install FreeNAS to your computer’s
to upgrade to the latest version of FreeNAS. hard disk. Select option 1 and press Enter.
While you’re in the BIOS, make sure you FreeNAS will confirm the partitions that it will
disable the option to halt on keyboard errors, create and warn you that your entire USB flash
as your FreeNAS PC won’t need a monitor or disk will be wiped.
keyboard connected to it when it’s ready. Press Enter to continue. Select your optical
The other configuration option to consider is drive from the list and press Enter. Finally,
whether you want to use RAID or not. FreeNAS select the flash drive to which you want to
lets you use all common types of RAID (see install the OS (it will have a name that starts
http://tinyurl.com/raidlevels for details). You’ll ‘da’) and press Enter again.
need at least two hard disks to use RAID. The
benefits are increased speed and reliability, and
you can add extra hard disks to your PC later to 5
increase storage. The alternative is to use each
disk separately; this is your only choice if you
have one hard disk. We’ll show you how to use
both methods in our step-by-step instructions.
CONNECTING YOUR PC
You’re now ready to install the operating system
on your computer. Before you start, however,
make sure you remove all USB flash drives
or you’ll get an error (if you’re planning to
start FreeNAS from a CD each time, start your
computer and go to Step 3).
Configuring FreeNAS
FreeNAS’s advanced features let you add security, share files
over the internet and share media with other computers
INTERNET ACCESS
The next step is to give access to the computer
over the internet. The first problem to overcome
is that your home has an external IP address
that’s shared by all the computers on your
network. This IP address can change, making
it impossible to access your home network.
Fortunately, with Dynamic DNS you can create
a simple URL that’s updated regularly so that it
always points to your home.
The only point to make is that if your router
doesn’t support DynDNS.org (the best free
Dynamic DNS service), FreeNAS does, so you
don’t need to download any other software.
Just select Dynamic DNS from the Services
You can access your
FreeNAS server over the menu, click Enable and type in your
gives users access to an entire drive, by clicking internet using FTP DynDNS.org account details.
the red minus icon next to a share’s name. With Dynamic DNS up and running, you
need to configure your router so that it knows
SETTING UP FTP to send incoming FTP requests to your FreeNAS
The problem with network shares is that they’re computer. This is fairly straightforward and
not easy to share over the internet. Fortunately, involves configuring port forwarding (called
FTP provides a way for all users to access their virtual servers on some routers). You need to
files from anywhere. Be warned, though, that
FreeNAS’s FTP settings are quite basic and
To access your FreeNAS
give users access to the ‘mnt’ folder and, PC over the internet you’ll
therefore, access to every hard disk and RAID need to use port forwarding
Troubleshooting 142
How to use your free Ubuntu 11.04 disc 144
Troubleshooting
When things go wrong, Linux can seem impossible to fix, but it isn’t.
Here we’ll help you find the answers to any problems you may have
INSERT DISC
1 Your free disc is an Ubuntu 11.04 installation CD that out, or install Ubuntu on your hard disk by following the guide
contains no other software. You can boot your computer on page 12. First, you need to turn on your computer and
directly from it and choose one of two options: either run a insert the CD into your optical drive. If it doesn’t boot from
test version of Ubuntu without installing it so you can try it the disc, go to step 2; otherwise skip straight to step 3.