Compiz History Compiz Emerald Beryl and Friends

This section discusses the history of compositing window managers on Linux and the window managers that led to Compiz and Compiz Fusion today. Not everyone wants a history lesson, so if you're not interested, feel free to skip ahead. However, this section will provide a handy reference after you've heard terms such as Beryl, Emerald, Compiz, and Compiz Fusion over and over and wonder what they mean. Like almost all graphics components on Linux systems, compositing window managers depend on the...

Specifying System Sound Devices

To verify that sound is working on your Kubuntu Linux system, first check the obvious things, such as whether your speakers are plugged into your sound card's audio out port (usually a light green socket the central one of the three sound ports on the back of your system or on your sound card), the speakers are turned on, and so on. Sound preferences on both KDE 3 and KDE 4 systems are set within the K Menu C> Systems Settings application. To begin configuring the sound devices on your...

Using the Adept Manager on KDE 4Based Systems

The Adept utilities are installed by default as part of any Kubuntu installation. Select the K Menu C> Applications C> System C> Package Manager menu item to start the Adept Package Manager. As when trying to run any graphical administrative application on Kubuntu, you will be prompted for your administrative password before the Adept Manager actually starts. Figure 23-42 shows the dialog displayed when you first start the Adept Manager. sound system from The official Kill- release GNOME...

Configuring a Screensaver

There was a time when computer monitors were quite sensitive to displaying the same characters for long periods of time. Monitors that showed the same applications in the same locations for long periods of time would end up damaging the phosphors on the inside of the monitor, which therefore displayed a ghostly outline of that application on the screen. (This was known as screen burn or video burn.) To eliminate, or at least, reduce this problem, many companies developed applications known as...

Configuring NFS Kernel Server Options

Options for the common NFS services for an NFS server are set in the file etc default nfs-kernel-server, which you can edit using your favorite text editor. Each of the following options is defined in a setting that looks like setting value, where value is one of yes or no. The options that you should set are the following RPCNFSDCOUNT Set this to a specific numeric value to identify the number of NFS daemon instances that you want to start. The default value, 8, is usually sufficient, although...

Using Krita

Krita (www.koffice.org krita) is a KDE-based image creation and editing tool that many people prefer to GIMP (especially KDE purists who don't want to have to install GIMP's GTK baggage on their shiny KDE boxes). As you may have noticed, I'm not a purist I believe in installing the best tool for the job on my Linux systems, and that disk space is cheap. So why use Krita rather than GIMP If you're a Kubuntu user, Krita uses the KDE libraries and GUI conventions, and works seamlessly with other...

Undeleting Mail Messages

Like files deleted on DOS and Microsoft Windows systems, e-mail messages that you delete aren't immediately purged, but are just marked for deletion when you explicitly empty the Trash or exit Evolution (if you've configured Evolution to do that). If you accidentally delete an e-mail message and would like to get it back, you can deselect the View menu's Hide Deleted Messages option. After selecting this option, the titles for messages that are marked for deletion are shown with a line through...

KDE 3 Desktop Overview

Figure 7-1 shows the default KDE desktop on a Kubuntu 8.04 or earlier desktop system the first time you log in. This figure also displays a single application window as an example you won't see that unless you explicitly select the K Menu O System O Konsole - Terminal Application menu option, but I wanted to be able to explain the window controls that are available in any KDE application window. The default KDE 3 desktop on Kubuntu 8.04 and earlier The default KDE 3 desktop on Kubuntu 8.04 and...

Playing Audio Files and Internet Radio Using Rhythmbox

Rhythmbox was discussed earlier in this chapter in the context of playing CDs, but it's really much more. Rhythmbox is oriented toward audio delivered in a variety of file formats, whether as a CD, a stream that you can read over the Internet, or a physical file that you downloaded or ripped, stored on your computer system, and subsequently want to play. To start Rhythmbox, select the Applications C> Sound and Video C> Rhythmbox Music Player menu command. Figure 19-61 shows the default...

Installing and Using the Avant Window Navigator

If you've ever seen or used Mac OS X, you're probably familiar with its dock, which is the panel-like application that runs at the bottom of the screen (by default), and in which you see icons for your favorite applications as well as icons representing running applications and the Trash Can. Although GNOME has its panels, KDE 3 has the Kicker, KDE 4 has its Kickoff panel, and Microsoft Windows has its Taskbar, it's hard to deny that the Mac OS X Dock is the most attractive of any these...

Adding Buddies in Pidgin

A buddy is the term for a person with whom you expect to communicate frequently via IM. As explained in the previous section, you don't actually have to add someone to your buddy list in order to send them an instant message, but you'll probably want to add your friends to your buddy list if you're going to communicate with them frequently (unless your memory is a lot better than mine is). When you first start using instant messaging, you may not have any predefined buddies, and your Buddy List...

Creating and Using KSpread Spreadsheets

KSpread (www.koffice.org kspread ) is the spreadsheet component of the KDE KOffice office suite (www.koffice.org). KSpread is installed by default on Kubuntu systems running KDE 3.5.x, but is not installed by default on Kubuntu systems running KDE 4.x (at least not at the time of this writing). KSpread provides a lighter-weight alternative to OpenOffice.org Calc as well as tight integration with the other components of the KOffice suite. This integration makes it easy to embed KSpread...

Finding Commands That Do Specific Things

The command line is a pretty friendly place to execute commands if you know what you're doing and know what command to do it with. Unfortunately, given the Linux tendency to avoid long command names by dropping extra characters from their names, it's often hard to figure out what command you want to use to do a specific task. Luckily, the Linux online manual command, man, provides a truly convenient keyword search option (-k) that automatically searches for a specified keyword or phrase in the...

Games on Kubuntu Systems

A tremendous number of free games are available for KDE-based distributions such as Kubuntu. Unlike GNOME-based Ubuntu systems, games are not installed on Kubuntu systems. To install them, you must use your favorite package management utility to install the kdegames package on KDE 3-based Kubuntu systems (i.e., Kubuntu 8.04 and earlier), or the kdegames-kde4 package on KDE 4-based Kubuntu systems (i.e., Kubuntu 8.10 and later). Installing these packages requires less than 50 MB of free disk...

Popular Emulation Software for Linux

The best-known emulation package for most systems is not a desktop computer emulator at all it's the Multi-Arcade Machine Emulator (MAME, at www.mame.net), which enables you to play a variety of ancient arcade video games directly from images of their ROMs. I love this package arcade video games were my original motivation for getting interested in computers. Although system administration turned out to be more fun for me, playing some ancient video game via MAME is incredibly fun, and the MAME...

Using Graphical Tools to Work with TeX and LaTeX

As much of this book shows, it's a graphical world nowadays, and the Ubuntu and Kubuntu distributions provide all of the graphical applications that any computer user expects to find. Although command-line utilities such as TeX and LaTeX are easy to use, and the text-based format of TeX and LaTeX files makes them easy to exchange with users of many other computer systems and applications, it's hard to beat the convenience of a graphical application, especially when you're doing something such...

Installing and Configuring a Firewall

As mentioned in the previous section, many different software packages are available to help you configure and activate a firewall on your Ubuntu or Kubuntu system. These packages include the default package that is installed on Ubuntu and Kubuntu systems, ufw (the Uncomplicated Firewall), Lokkit, Firestarter, Fwbuilder, Guarddog, and many more. The default firewall package for Ubuntu and Kubuntu systems, ufw, is relatively easy to configure from the command line, but is even easier to...

Configuring Compiz Using Gnome Configuration Tools

On Ubuntu systems, Compiz, the Compiz plug-ins, and the Compiz Fusion plug-ins can be configured using the standard GNOME configuration utilities without requiring that you install any special tools. GNOME systems provide two primary configuration utilities for manipulating the GConf (GNOME Configuration Editor) repository gconftool-2, a command-line utility, and gconf-editor, a graphical application. You should run these utilities as yourself, without using sudo, because they manipulate GNOME...

Using Bit Torrent

BitTorrent, originally written by Bram Cohen, has been around for a few years and is an incredibly popular protocol and tool for P2P file sharing. Bram's original BitTorrent software is GPL and was written in Python. Frankly, I still primarily use the command-line version of BitTorrent (btdownloadheadless.py) because it just works. Don't worry, I'm not going to make you follow my lead here although you can easily install the command-line version of the Python BitTorrent software by installing...

Using Wildcards

Another example of the type as little as possible philosophy is the ability of the shell to identify groups of files whose names match certain patterns. The characters used to define those patterns are known as wildcards because they can match any single or multiple group of characters. The shell supports four primary types of wildcards (question mark) which matches any single character * (asterisk) which matches any group of characters stringl, string2 (curly braces) which match either stringl...

Linux Sound Servers

Linux systems use sound servers (AKA sound daemons) to enable the simultaneous playback of multiple output devices and to enable playing and controlling sound over a network. (ALSA audio drivers inherently support simultaneous playback and mixing, but most OSS drivers do not.) Traditionally, the most common sound server on GNOME-based systems has been ESD (Enlightened Sound Daemon, aka EsounD, www.tux.org ricdude overview.html). With Ubuntu 8.04 and in most other up-to-date GNOME-based Linux...

Postfix Configuration Files

The Ubuntu Postfix mail server uses three configuration files, all of which are installed in the directory etc postfix dynamicmaps.cf Identifies additional capabilities to be loaded at run time based on the type of operation that is being performed. main.cf Contains configuration information for Postfix that is used during message processing. master.cf Contains parameters used when the Postfix master programs runs other programs from usr lib postfix. Postfix can also use standard mailer...

Sample GIMP Tasks

As I acknowledged earlier, I am not a graphics artist. Many people who are serious artists have created extensive sets of tutorials on using GIMP, and I'd be insulting them (and you) by either parroting those or by trying to pretend that I have major graphics skills. That said, I do use GIMP regularly for a variety of common tasks that you may find useful, so I'll discuss some of those in the next two sections. For tutorials on using GIMP to do serious graphics work, see some of the URLs in the...

Playing Audio CDs with Amarok on Kubuntu

Once Amarok starts, it displays its startup screen and tries to look up your CD in the free online CD information database freedb.org, or at least claims to do so. If it finds a matching entry, it displays information about the CD and the tracks that it contains. However, I've never had much luck getting Amarok to actually retrieve this information for me on the latest KDE 3-based Kubuntu systems, although it does a good job of this on KDE 4-based Kubuntu systems. I typically don't worry about...

Network Testing with Network Tools

To maintain its tradition of easy graphical network tools, Ubuntu provides a convenient graphical tool that simplifies examining the current configuration of any of your network interfaces. Ubuntu provides GNOME's Network Tools application to give you a graphical display of network configuration information, as well as easy graphical access to a variety of network tools. Select the System C> Administration C> Network Tools menu item to start the Network Tools application. This displays a...

Configuring Your Network Hardware

Configuring the network hardware on your computer system is part of the Ubuntu or Kubuntu installation process, both of which use an automatic network configuration mechanism known as the Network Manager However, things change. You may install new network hardware, change existing hardware from relying on DHCP to using static IP addresses on your network, or simply want to have a better understanding of how networking works or is configured on your system(s). The Network Manager is designed to...

Overview of Digital Graphics Terminology

Even if you're not a graphics artist (and I certainly am not one), everyone with a Web site or a digital camera has some familiarity with digital graphics. Terminology-wise, digital graphics is basically nothing more than storing images in files on your computer, regardless of whether these files contain pictures from your summer vacation, fancy buttons or other images that you're using on your Web site, artwork and drawings that you've created using graphics software, pictures that you've used...

Context Sensitive Menus

The menus discussed in the previous section always display when you left-click on a specific menu heading or submenu, regardless of what else is happening on your Ubuntu Linux system. Context-sensitive menus display when you right-click on something on your Ubuntu Linux screen, but their contents depend on what you've right-clicked on. Because their contents differ based on the context in which you've right-clicked, these right-click menus are referred to as context-sensitive menus. Figure 5-4...

Playing and Adding Internet Radio Stations

Internet radio is a revolutionary step for broadcast media because it enables people anywhere to listen to their favorite radio stations regardless of whether they can physically receive their signal (or even have a radio, for that matter). Whether or not the RIAA will succeed in killing off music via Internet radio is still up in the air but let's enjoy it while we can Amarok's Playlist tab makes it easy for you to listen to an Internet radio station. To do this, expand the Radio Streams entry...

Using the Konqueror Browser

As mentioned in the previous section, Konqueror is the file manager traditionally associated with modern KDE releases. Over time, Konqueror has morphed from a file manager to an one-size-fits-all browser for many different types of objects, ranging from files to network locations to Web sites. (This is much like Microsoft's integration of Internet Explorer and the Windows Explorer, except less evil and free.) With the inclusion of the Dolphin file manager in all future KDE releases, Konqueror...

Package Management Software Overview

Ubuntu and Kubuntu Linux installations provide several different utilities for managing and querying software packages, ranging from low-level command-line tools to tools with sophisticated graphical interfaces. The following are the basic user-level tools provided as part of a standard Ubuntu or Kubuntu installation apt-get A command-line utility that provides subcommands, which enable you to install, remove, and manage packages on your system, both as individual packages and as components of...

Using the Tracker Desktop Search Application

As disks and other local storage media get larger and larger, the amount of data that people save and keep around for an extended period of time gets equally large. Although this anecdote will date me, the first hard drive that I ever bought was a whopping 30MB and I remember thinking That should last a lifetime How can I ever fill that up It actually didn't take very long to fill the drive, and I remember having to clean up after myself frequently, writing files that I didn't really need to...

Creating a Virtual Machine

Creating a virtual machine in VMware is fairly easy thanks to VMware's easy-to-use New Virtual Machine Wizard. To begin creating a virtual machine, either click the Create a new virtual machine button shown in Figure B7-23, or select the File C> New C> Virtual Machine menu command. This displays a generic Welcome dialog. Click Next to display a dialog like the one shown in Figure B7-24. Identifying the type of virtual machine to create Identifying the type of virtual machine to create This...

GNOME Desktop Overview

Figure 5-1 shows the default GNOME desktop on an Ubuntu Linux system the first time you log in. This figure also displays a single application window as an example you won't see that unless you explicitly select the Applications Accessories Terminal menu command, but I wanted to be able to explain the window controls that are available in any GNOME application window. The Ubuntu folks have gone through a lot of effort to create an attractive, eye-pleasing background, set of fonts, window...

Greylisting via postgrey

In the section on Installing Postfix and Friends, I suggested that you install postgrey, which is a grey-listing application that was designed to work with Postfix. That package is set up and started automatically and requires no other mandatory configuration if you installed it when you installed and started Postfix, it's already working for you. As mentioned in the installation section, greylisting is a cool technique wherein your mail server rejects all incoming mail the first time that a...

Figure 2428

The XSane preview window, showing a low-res, black and white preview Don't panic at this point so far, I've just used XSane's default resolution and scan settings, which are quite minimal. However, if the preview is acceptable, you can proceed to do a full scan of your document. In most cases, the preview will not be of sufficient quality, so you should return to the main XSane dialog shown in Figure 24-28 to set some common scanning configuration options. The most common settings that you will...

Creating Audio CDs with Brasero

Brasero is one of the application choices that Ubuntu provides in the dialog shown in Figure 19-7 when you insert a blank CD. If you don't see this dialog, you can start Brasero by right-clicking on the Blank CD-R Disk icon and selecting Open with Brasero Disc Burning, or by selecting the Applications O Sound & Video O Brasero Disc Burning menu item. Unfortunately, Brasero always starts in Data CD mode, so you'll first need to select the Project O New Project O New Audio Project menu command...

Building and Booting a Paravirtualized DomainU

A paravirtualized domainU system typically has a few basic components A Xen-aware domainU kernel and associated loadable kernel modules. An initial RAM disk that the domainU kernel can use to pre-load any drivers, initialize services, and so on. This is technically optional, but unless you build a kernel yourself, most Xen-aware kernels (including those in the Ubuntu repositories) expect an initial RAM disk. A root filesystem that contains the startup scripts, applications, and associated...

Wubi Installing Ubuntu or Kubuntu on Windows

Versions of the Ubuntu and Kubuntu Desktop CDs prior to version 8.04 provided a variety of open source software packages that were compiled for Microsoft Windows systems, enabling Windows users to try out some of the amazing software that they could see and use after booting from the Desktop CDs in Live CD mode. These packages included Mozilla Firefox, Mozilla Thunderbird, the GIMP image creation and editing package, and several others. Versions 8.04 and later of the Ubuntu and Kubuntu Desktop...

Integrating Mail Scanner Spam Assassin and ClamAV with Postfix

MailScanner is a fast, powerful tool that scans incoming mail for spam and can optionally be configured to scan incoming mail for viruses. The Ubuntu MailScanner package requires that the SpamAssassin package (discussed in the section of Chapter 9 entitled Automatically Checking for Junk Mail) be installed on your system so that it can invoke the SpamAssassin package after performing its own spam checks, to maximize the chances that it will catch and flag incoming spam. The Mailscanner package...

Using IRC in Pidgin

As discussed in the section Instant Messaging on Ubuntu with Pidgin, IRC is one of the messaging protocols that is built into Pidgin. Because most IRC servers are open, you can create an IRC account and connect to an IRC server without having to pre-register, but you must create a Pidgin account to do this. You create your Pidgin IRC account like any other account, by selecting the Accounts C> Manage menu option and selecting the IRC protocol, as shown in Figure 13-32. Your screen name is...

Address 192168664 netmask 2552552550 gateway 19216861

The auto line in this entry states that the interface eth0 will be automatically enabled when the system starts. The iface line in this entry identifies the beginning of the interface definition for eth0, which is a TCP IP (inet) device with static configuration. The next three lines define the IP address, netmask, and gateway for that Ethernet interface. If your network interfaces use static IP addresses, your system will not obtain general network configuration information such as DNS server...

Configuring Your Calendar

The component of Kontact that enables you to use and manage your calendar is the KDE KOrganizer application, known as Calendar within Kontact. Calendar also manages ToDo lists and journal entries because these are also relevant to different dates. Very little calendar configuration is required beyond the following Customizing personal information and how it is displayed Identifying any centralized network calendar server to which you want to publish your calendar Loading plug-ins for custom...

Mv v test backup test backup

In this case, the mv operation only needs to rename the directory. However, because of the way that Linux filesystems are created, moving directories across filesystems that live on different hard disk partitions requires that each file and subdirectory first be copied and then deleted by the mv command, as in the following example mv -v include_test tmp backup 'include_test' -> ' tmp backup' 'include_test libxml2' -> ' tmp backup libxml2' 'include_test libxml2 xmlops.h' -> ' tmp backup...

Linux Time Machines

Similar Linux backup mechanisms are best used with a networked resource or, in a single-system environment, an external drive. These backups can't protect against catastrophic problems, such as a fire or similar tragedy, unless you also back up the backups to an off-site location. If I had a nickel for every time that someone lost both their computers systems and their backups in a fire because they were stored side by side, I'd have a bunch of singed, smoky nickels. Don't add one to my...

Configuring the GStreamer Framework and Plug Ins

As introduced in the previous section, most GNOME audio and video applications use an underlying open source multimedia framework called GStreamer (http gstreamer.freedesktop.org or www.gstreamer.net). GStreamer makes it easy to integrate codecs by writing simple plug-ins that integrate with its framework. Most of the GNOME applications discussed in this chapter leverage the GStreamer framework for codec support via plug-ins. For this reason, you should use your favorite package management...

Using Pidgin

Pidgin's Buddy List dialog is the primary dialog through which you initiate instant messages and manage the list(s) of people with whom you will communicate frequently. Figure 13-3 shows an empty Pidgin Buddy List window, which is what you'll probably see the first time that you start Pidgin if you're new to instant messaging. An empty Buddy List dialog in Pidgin The next few sections discuss how to define IM contacts (in other words, how to add users to your Buddy List), how to organize your...

Linux and UNIX Printing History

Today's printers are typically high-quality laser or inkjet printers, often capable of color printing and near photographic quality. The original UNIX printing system, known as Line Printer Daemon (LPD) was designed to queue and print jobs that were intended for huge, text-only line printers. As more sophisticated printers were developed that were capable of higher-quality printouts (such as the original Xerox x9700, Canon-CX, and Imagen-300 laser printers), the original LPD print system...

Using the KDE Konsole

The terminal application provided on Kubuntu systems is known as Konsole, both because its command-line behavior mimics the behavior of the console on an older UNIX or Linux system, and also because the names of all good KDE applications begin with the letter K The Konsole application is the most common way of starting a command-line shell on a graphical Kubuntu system. To start the Konsole, select the Konsole command from the K Menu O System menu on a KDE 3-based system, or the Terminal...

Working with Digital Cameras on Kubuntu Systems

DigiKam is the most popular application for working with digital photographs on a Kubuntu system, though other applications are available, most notably KPhotoAlbum (http kphotoalbum.org). DigiKam makes it easy to import photos from a digital camera or other storage device, and provides a number of convenient plug-ins for common photo editing and touchup tasks. Open with DigiKam is one of the default options on a KDE 3-based system when you attach a standard digital camera to a USB port on your...

Configuring a VPN Connection

Virtual private networks (VPNs) are essentially a mechanism for tunneling between two networks, enabling you to access a remote network as though it were local to your system (modulo some slight decrease in access speed). VPNs are most commonly used when connecting to business or academic networks from home or laptop computer systems, making the laptop or home system a member of a business or academic network for the duration of the VPN connection, but they can also be used as a central...

Customizing Digital Device Recognition on KDE 4based Systems

As mentioned elsewhere in this book (especially in Chapter 8), KDE 4 is a work in progress, which means that some things happen faster than others. One thing that has not happened very quickly is making it easy for users to customize what happens when you attach a digital device such as a USB stick, digital camera, or digital audio player to your system. At the moment, the only option in the Device Notifier for any of these is Open with Dolphin (as shown in Figure 21-8), which is not the...

Building a Standalone Package

The Ubuntu repositories are great and contain most of the software that most people will ever want. However, if you're looking for a specific application and it isn't in the Ubuntu repositories, the first thing to do is to use a search engine such as Clusty or Google to try to locate someone who has already built the application that you're looking for and offers it as a DEB package that you can install on your Linux system. Some trust issues are involved in this scenario you have to hope that...

In s xsession xinitrc

Experimenting with different window managers is fun because each represents someone's idea of how you should interact with a graphical system, start applications, and so on. I've been using the X Window system since version 10, and thus have burned more time than I could ever calculate in experimenting with, configuring, and customizing many of the window managers that have been written in the last 20+ years. But it's been fun. U j < -)n 'ow memory, low resource systems such as older laptops,...

Using IRC in Kopete

As discussed in the section Instant Messaging on Kubuntu with Kopete, IRC is one of the messaging protocols that is built into Kopete. Because most IRC servers are open, you can create an IRC account and connect to an IRC server without having to pre-register, but you must create a Kopete account to do this. You create your Kopete IRC account like any other account, by selecting the Tools C> Configure menu option, selecting the Accounts icon in the left-hand toolbar, and clicking New. The...

Adding and Configuring Printers on Kubuntu

The transition from KDE 3 to KDE 4 has led to some changes in how you add and configure printers, as well as in the degree to which they can be configured. The processes are largely the same across the two KDE versions, although the KDE 4 dialogs have simplified the process. On the downside for KDE 4 fans, the KDE 3-based Kubuntu 8.04 and earlier systems have some configuration bells and whistles that haven't made it the KDE 4-based Kubuntu 8.10 and later systems at the time that this book was...

Builtin Postfix Configuration Models

Regardless of whether you are installing Postfix and friends from the command line or graphically, you will be required to select a default configuration model during the installation process. Five different configuration models are built into the Postfix package, each of which sets up the Postfix configuration files in a certain basic way. The following are the configuration models Internet site Mail will be sent and received directly from this machine via SMTP using Postfix. This is the...

Configuring Wireless Connections on Ubuntu

To examine or modify how a specific wireless connection is configured, or to create a new wireless connection, select the Wireless tab, which displays a pane like the one shown in Figure 25-6. p If you are connecting to a wireless network that uses WEP 40 128-bit Key, WEP 128-bit pj JUSOTlSSiaS Passphrase, and no security (which are almost functionally equivalent nowadays), you can quickly define a new wireless network connection by right-clicking on the network Manager applet and selecting the...

Moving Around in vi

The vi editor is knee-deep in cursor movement commands. The most common are as follows h or left-arrow Move the cursor backward one character in the current line. l or right-arrow Move the cursor forward one character in the current line. j or down-arrow Move the cursor down one line, maintaining the current column position in the new line when possible. k or up-arrow Move the cursor up one line, maintaining the current column position in the new line when possible. Cursor movement commands...

Using App Armor Utilities

Installing AppArmor also installs a number of related utilities on your system. These utilities, which make it easy (or relatively easy) for you to create profiles, change profile states, show AppArmor status, and perform other AppArmor-related tasks, are the following aa-audit This switches an existing AppArmor profile into audit mode, in which security policy is enforced and all access to any file that is listed in the profile is logged to the system log regardless of whether that access was...

Importing Existing Spreadsheets into Gnumeric

Linux folks like me tend to be Linux-centric, but that doesn't mean that we can completely ignore reality. When you're working with existing spreadsheets (and any other office-related documents, to be honest), the chances are pretty good that you created them using more common software packages, such as Microsoft Excel, that run on other operating systems, such as Mac OS X and Microsoft Windows. The folks who wrote and support Gnumeric couldn't ignore this reality either, so Gnumeric provides...

Getting More Information About DNS and BIND

As mentioned previously, DNS and BIND are rich, complex topics about which many entire books have been written. This chapter provided an overview of DNS and BIND and explained simple BIND configuration and troubleshooting. For additional information, see one of the books mentioned earlier or consult one of the following online resources BIND 9 Administrator Reference Manual (www.net.cmu.edu groups netdev docs bind9 Bv9ARM.html) This is a copy of the official BIND 9 Administrator's manual, done...

Connecting to an FTP Server from the Command Line

You can also connect to a remote FTP server by typing the ftp command and the name or IP address of the server from any Ubuntu or Kubuntu command line, such as the GNOME Terminal, KDE Konsole, or an xterm. The following example connects to an FTP server running on a system whose IP address is 192.168.6.64 220-You are user number 2 of 10 allowed. 220-This is a private system - No anonymous login 220-IPv6 connections are also welcome on this server. 220 You will be disconnected after 15 minutes...

Setting Preferences for Reading Mail in Kontact

Kontact provides many configuration options for displaying e-mail messages and for customizing the layout of the panes that make up Kontact's e-mail component window. These can all be configured by selecting the Settings C> Configure Kontact menu item, and selecting the E-Mail C> Appearance configuration item. This displays the dialog shown in Figure 10-24. Kontact's e-mail appearance configuration dialog Kontact's e-mail appearance configuration dialog This dialog provides multiple tabs...

Introducing LaTeX Markup

Let's face it regardless of how good the output looks, writing documents using the low-level TeX commands shown in the previous section would be a tremendous pain, especially the extensive use of manual formatting and spacing commands. To simplify creating documents using TeX, a variety of macro packages have been developed, the best known of which is Leslie Lamport's LaTeX macro package. These macro packages support different types of documents, such as articles, manuals, letters, and so on,...

Searching with Tracker

The Tracker daemon, trackerd, is automatically started as part of each Ubuntu user's GNOME login session. By default, Tracker automatically searches and indexes all of the files in your home directory. Once Tracker completes its initial scan of your files and directories, you can search the Tracker index in one of four basic ways From the Tracker panel applet, which starts the Tracker Search Tool. From the tracker-search-tool application, which you can start from the command line, or by...

Overview of DNS and BIND

DNS gives your network an entry point into a hierarchical collection of hostname and IP address servers on an intranet or the Internet itself. All of the hosts on your network can query one or more local DNS servers for local hostname and IP address information. Requests for hostname and IP address information outside the administrative domain of your DNS servers are automatically passed up the DNS food chain until some DNS server can authoritatively give you the information you're looking for....

Installing Microsoft Windows Drivers

This section explains how to install Microsoft Windows drivers using the graphical ndisgtk utility, which (if you'll pardon the expression) puts a friendly wrapper around the ndiswrapper utilities, kernel module, and Ubuntu network configuration. You can also install Windows drivers for use with the ndiswrapper kernel module by using the command sudo ndiswrapper -i name-of-INF-file from any command-line environment, and then manually modifying some configuration files, but I prefer the...

Other Word Processors and Office Suites

This chapter focused on the most popular, open source command-line and graphical applications for word processing and page layout. There are certainly others this is open source, after all, where anything worth doing is worth doing several times because of different perspectives on the task at hand. The following are two other popular word processors for Linux AbiWord The AbiWord word processor is part of the GNOME Office Suite (live.gnome. org GnomeOffice). AbiWord is a powerful and popular...

Installing and Configuring App Armor

AppArmor is installed by default on Ubuntu and Kubuntu systems and is automatically integrated into the system boot and shutdown processes through symlinks in the etc rcS.d directory. The startup scripts in this directory are executed at system startup time, before the scripts for any specific runlevel are executed. The symbolic link for starting AppArmor is named etc rcS.d S37apparmor and runs immediately after all of the local filesystems that will be used by the system have been mounted (and...

Connecting to an FTP Server Using Graphical Clients

If you need to use FTP but would prefer a standalone graphical FTP client application, two popular ones are available from the Ubuntu repositories If you are using a standard GNOME-based Ubuntu system, you'll probably want to install gtk-gftp, a GNOME FTP client that uses the GTK graphical interface. Installing this package will create an entry on the Applications O Internet menu called gFTP. This command makes it easy to graphically transfer files using FTP, and also enables you to bookmark...

Using vi

Because the actual source code for the real version of vi is owned by AT& T, vi fans have completely rewritten vi from the ground up. Three popular vi clones are available today elvis, nvi (new vi), and vim (vi improved). The version of vi used on Linux systems is vim, but nvi is quite popular and is the default version of vi used on many open source BSD-like systems such as OpenBSD, FreeBSD, and so on. Elvis is also a fine clone of vi, supporting multi-file and multi-window editing, as well...

Creating and Using Gnumeric Spreadsheets

Gnumeric, a component of the GNOME Office suite, was one of the first spreadsheets available for Linux and, like a fine wine, has only continued to improve with age. The GNOME Office suite is a collection of office applications that depend on the GIMP Toolkit (GTK) graphics library for many of their graphical controls. These have been semantically collected into the GNOME Office suite through their allegiance to GTK and the need for the GNOME folks to have an office suite just like the KDE...

Restoring from Backups in BackupPC

Thanks to BackupPC's Web orientation and the fact that its backups are stored online on the backup server, restoring files from BackupPC backups can be done online, by any authorized user whose name is associated with that host in the etc backuppc hosts file. BackupPC enables you to browse through online backups, interactively select the files and directories that you want to restore, and restore them in various ways. To begin restoring files or directories, click the name of the full or...

Switching and Creating Themes

Ordinarily (and, presumably, in the near future), you can install, apply, and create themes using the System Settings framework's Appearance module, which provides a Theme Manager module. Unfortunately, this module has not been updated for KDE 4 at the time of this writing, so themes must be installed manually at the moment. To get new themes, go to www.kde-look.org and select Plasma Themes from the left-hand menu. This displays a list of available themes for KDE 4, which you can download by...

Ubuntu CDs

The DVD that is included with this book is the Ubuntu Desktop DVD, which enables you to test-drive Ubuntu on an existing computer system without changing anything, and which also provides a simple, easy-to-use installer that enables you to install Ubuntu on that system permanently. Three different CDs are available for Ubuntu. These CDs and the capabilities that they provide are as follows Desktop DVD The DVD that is included with this book provides a bootable version of Ubuntu Linux that...

Converting Packages from Other Package Formats

Although the Ubuntu repositories contain most of the add-on software packages that anyone could ever want, there are cases when you must deal with pre-packed software that is provided in the package formats used by distributions other than Ubuntu. This is often the case with commercial software whose Linux releases are distributed in formats such as RPM and LSB. Luckily, an easy solution to this sort of problem is provided by the alien application which is a Perl script that can convert between...

Installing and Using Sound Converter on Ubuntu Systems

Because not everyone will be using their Ubuntu system for serious audio work, Sound Converter isn't installed by default. You must install Sound Converter yourself from the soundconverter package, using your favorite package management application as discussed in Chapter 23. j - -i Sound Converter uses the GStreamer framework discussed earlier in this chapter in the pi ' bJUSOTljSiaS section on Installing the GStreamer Framework and Plug-Ins. You must follow the instructions in that section...

Adding SCSI Drives

SCSI drives have long been the traditional drive of choice for RAID boxes or in systems with 24x7 availability requirements. The primary reasons for this are high performance (SCSI drives are still faster than current SATA II drives), SCSI's traditional support for hot-swapping, and higher quality control (some manufacturers even offer longer warranties for SCSI drives for this reason). The downside is that SCSI drives are substantially more expensive than...

Iface eth1 inet dhcp wirelessessid wvh wirelesskey 0102030405

If the wireless network that you want to connect to uses WPA authentication, you will have to install and configure a package such as wpasupplicant, and integrate that package into your wireless configuration entries. Describing how to install and configure this package is (unfortunately) outside the scope of this section. See the forum postings at for more information about using wireless security mechanisms that are more powerful than WEP. You can also define static IP addresses for wireless...

Copying a CD or DVD with k3b

The k3b CD or DVD copy process consists of several steps k3b first creates an ISO image of the CD or DVD, ejects the original medium, requests a new CD or DVD, and then writes the ISO image to the new CD or DVD. To copy a CD or DVD after starting k3b, select either the Tools C> Copy CD or Tools C> Copy DVD menu commands. I'll use burning a DVD image as an example in this section, and therefore the dialog shown in Figure 19-58 is displayed. After verifying that the source and destination...

Using Emacs

The history of Emacs was described earlier in this chapter now, let's meet our new best friend. As I mentioned earlier, I am a long-time Emacs user, and find it to be the right editor for me. Your mileage may vary, but no one can deny the power and flexibility of Emacs. Many of the old arguments against using Emacs, such as its memory requirements, simply don't matter anymore thanks to the generally increasing memory requirements of desktop systems and improvements in the type of hardware that...

Cutting Copying and Pasting in vi

It's easy enough to cut and paste text using a graphical text editor because a mouse-aware text editor enables you to copy and cut text with a combination of the mouse and special keyboard commands. You can, of course, do the same thing in vi, but it requires a bit more knowledge of vi internals and visualization. Cutting text is done using the delete command (explained in the previous section), which actually just puts the text in an internal storage area (known as a buffer) from which you can...

Graphical Versions of vi

Many people, especially former users of systems such as Microsoft Windows and Mac OS X, expect applications to have a graphical user interface. This poses an interesting problem for applications such as vi and Emacs, which were originally designed for use with terminals back when a mouse was just a pesky rodent. To make people feel more at home with powerful tools such as vi (and to drag them, often kicking and screaming, into the 21st century), various graphical interfaces for vi have been...

Ripping Audio CDs Using Rhythmbox on Ubuntu

Ripping CDs in Rhythmbox is almost exactly like playing them (as shown in Figure 19-25), with the exception of the fact that you click the Extract button rather than the Play button to start the process. While Rhythmbox is extracting the contents of an audio CD and converting each track to a file, it displays progress information in the lower-left corner of the Rhythmbox dialog. Before ripping a CD, however, you may want to specify the format of the audio files that Rhythmbox creates, the...

Installing Wicd

Both Ubuntu and Kubuntu systems are currently committed to the Network Manager and related applets, so in order to install Wicd, you will first have to modify the list of sources that provide repositories from which your Ubuntu or Kubuntu systems can install software. You can do this using Ubuntu's System C> Administration C> Software Sources application, using the Sources icon in Kubuntu's Adept Manager, or by directly modifying your etc apt sources.list file. You will need to add the...

Test Drive Using Krita

Discussing every nuance of creating and editing images in Krita is beyond the scope of this book, and probably deserves its own book. However, to give you a feel for using Krita, this section provides an example of using Krita to import an SVG image (which will use the RGB colorspace by default), changing the image to use the CMYK colorspace, and then saving it as a TIFF file that would be suitable for sending to a commercial printer. TO jili SSff Although the grayscale screenshots in this book...

Using gtkpod

Installing gtkpod on a Ubuntu system creates the Applications C> Sound and Video C> gtkpod menu item, the K Menu C> Multimedia C> gtkpod menu entry on Kubuntu 8.04 and earlier systems, and the K Menu C> Applications C> Multimedia C> gtkpod menu entry on Kubuntu 8.10 and later systems. Selecting this menu item starts gtkpod. If your iPod was mounted and can be accessed successfully, it should be listed in the pane at the left of the gtkpod window. To see the actual contents of your...

Using the Add Remove Programs Menu Item in Kubuntu

If you are running Kubuntu, selecting the Add Remove Programs item in the middle of a KDE 3-based Kubuntu system's K menu or the KDE 4-based Kubuntu system's Applications menu displays the dialog for the Adept Installer application, shown in Figure 23-2. The screen shown at left is the KDE 3-based Adept Installer screen, while the screen at right is the KDE 4-based Adept Installer. Adding predefined applications to your Kubuntu desktop system Adding predefined applications to your Kubuntu...

Starting Backups in BackupPC

Thanks to BackupPC's Web orientation, starting backups, viewing the status of those backups, and checking the backup history for any host are impressively easy. To start a backup in BackupPC, connect to the BackupPC Web interface, using the URL http hostname backuppc, where hostname is the name of the host on which the backuppc server is running. A dialog appears in which you are prompted for the login and password of an authorized user. Once you enter the user password combination for a user...

O

OEM mode, installing in, 97-98 office-related software. See Calc Impress KPresenter Oikarinen, Jarkko, 494 online calendars, integrating, 366-367 online help (Evolution), 329 online photo services, exporting to, 877-878 Open Clip Art Library, 706 Open Office suite. See also OpenOffice.org basics, 605, 615-616 languages for, 617-618 versions of, 616 open source software, CD70-71 OpenGL (Open Graphics Library), 175, 176-177 OpenGL plug-in, CD76 OpenOffice.org. See also Calc documents, 617 tools,...

Configuring Your Privacy Settings

In the Privacy pane of the Preferences dialog, different topics are organized onto separate tabs across the center of the pane. Customizable privacy settings include the following History determines the period of time (in days) for which Firefox keeps a record of the URLs for the Web sites that you've visited. This also includes a setting that determines whether Firefox keeps a list of the files that you have downloaded. Cookies determines whether or not Firefox accepts cookies in general, a...

Building Open Source Software

In the primordial days of Linux, a huge stumbling block for its adoption was the fact that, while it was all free, using a Linux system was very much a roll-your-own endeavor. This led to the birth of Linux distributions, which precompiled a basic set of utilities and provided some way of installing them on a computer system even if that was just a README file that explained what to do. Primal Linux distributions such as TAMU (Texas A& M University), SLS (Softlanding Linux Systems), and...

Starting and Stopping Virtual Machines

Once you've created one or more virtual machines and installed an operating system in each, you can start any virtual machine by selecting its entry in the left pane of the VirtualBox window and clicking the Start icon. After you're finished using a virtual machine, you can shut it down in one of two ways By invoking the standard shutdown process for the virtual operating system that your virtual machine is running. When the shutdown process completes, the virtual machine window closes and only...

Bonus Chapters

Bonus Chapter 1 Connecting to Other Systems Bonus Chapter 7 Using Virtual Machines and Emulators Bonus Chapter 2 File Transfer and Sharing Bonus Chapter 8 Setting Up a Web Server Bonus Chapter 9 Setting Up a Mail Server Bonus Chapter 3 Software Development on Ubuntu and Kubuntu Bonus Chapter 10 Setting Up a DHCP Server Bonus Chapter 4 Managing Users, Groups, Authentication, and Advanced Permissions Bonus Chapter 11 Setting Up a DNS Server Bonus Chapter 12 Setting Up a Print Server Bonus Chapter...

Installing the Samba Server and Friends

Samba client packages are installed by default on Ubuntu and Kubuntu desktop systems, making it easy for any Ubuntu or Kubuntu system to contact and access SMB CIFS shared directories from Microsoft Windows systems or Samba servers. To install the packages required to run and monitor a Samba server so that you can share directories from your Ubuntu or Kubuntu system, you must install the samba package using your favorite package management tool Synaptic, Adept, aptitude, or apt-get. See Chapter...

U

See also startup process (Ubuntu Kubuntu) Add Remove menu item, 927-929 advantages of, 455 basic tools, 931 benefits of, 11-12 booting, 45-47 CDs available for, 18-19 commercial support for, 23-24 community, 925 configuring sound on, 750-760 Debian Project and, 10-11 digital cameras on, 873-878 documentation, 22-23 games on, 825-830 information references, 24-25 installing. See configuring at installation (Ubuntu) installing on special-purpose systems (Ubuntu Kubuntu) installing Ubuntu...

Quick Tour of Krita

Like all KOffice tools, Krita provides excellent online help, so I won't bore you by walking through each menu and entry that it contains. However, as a quick overview of the Krita interface, the callouts in Figure 18-12 highlight the following areas Menus The drop-down menus in Krita are organized much like those in other drawing packages to provide a familiar user experience. Menu items with an arrow at their right edge lead to other, related submenus. Toolbars By default, Krita displays the...

Working with ACLs Using Graphical Tools

Yes, Virginia, there is a Santa Claus, and in this case his name is Roger Ferrer Ibanez. Roger is the primary author of the eiciel GNOME File ACL editor. What does eiciel mean Try pronouncing it slowly with a fake French accent, and you'll hear that it sounds like Maurice Chevalier discussing his favorite computer science topic, the ACL. The eiciel ACL editor provides a graphical interface for setting, updating, and removing ACLs in ext2, ext3, XFS, JFS, and ReiserFS filesystems, and should...

Keeping Your System Lean Mean and Pristine

If you like to play with different software packages as much as I do, you'll find yourself installing lots of random packages on your system, playing with them for a while, and then forgetting about them unless they solve some major problem for you. You may occasionally even be thoughtful enough to remove packages that you aren't planning on using anymore. Unfortunately, this doesn't remove packages that were required, recommended, or suggested by the packages that you've removed (unless you...