Fedora 6 and Red Hat Enterprise Linux Bible

The KDE desktop was developed to provide an interface to Linux and other UNIX systems that could compete with Mac OS or Microsoft Windows operating systems for ease of use. Integrated within KDE are tools for managing files, windows , multiple desktops, and applications. If you can work a mouse, you can learn to navigate the KDE desktop. Fedora Core 6 includes version 3.5 of KDE.

Note 

KDE is not installed by default for Fedora. Therefore, to use the procedures in this section, you might have to install KDE. During installation, you could use a Custom install type to install KDE. Otherwise , see Chapter 5 for information on how to use the Package Management window or yum to add KDE.

The lack of an integrated, standardized desktop environment in the past has held back Linux and other UNIX systems from acceptance on the desktop. While individual applications could run well, you rarely could drag and drop files or other items between applications. Likewise, you couldn't open a file and expect the machine to launch the correct application to deal with it or save your windows from one login session to the next . KDE provides a platform for developers to create programs that easily share information and detect how to deal with different data types.

The following section describes how to get started with KDE. This includes using the KDE Setup wizard, maneuvering around the desktop, managing files, windows, virtual desktops, and adding application launchers .

Starting with KDE

You can select the KDE desktop from the login screen (provided that KDE is installed). Choose Session KDE. Then type your login name and password, as prompted. The KDE desktop should appear, as shown in Figure 3-15.

Figure 3-15: Manage files and applications graphically with the KDE desktop.

KDE Desktop Described

You may notice that, in Fedora and RHEL, KDE looks very similar to GNOME. That's because both begin with the same icons and background. Beneath the surface, however, you will notice that there are a lot more tools with KDE for configuring and using your desktop.

Here are some descriptions of what you will find on the KDE desktop for Fedora and RHEL:

Getting Around the Desktop

Navigating the desktop is done with your mouse and keyboard. You can use a two-button or three-button mouse. Using the keyboard to navigate requires some Alt and Ctrl key sequences.

Using the Mouse

The responses from the desktop to your mouse depend on which button you press and where the mouse pointer is located. Table 3-2 shows the results of clicking each mouse button with the mouse pointer placed in different locations.

Table 3-2: Mouse Actions

Open table as spreadsheet

Pointer Position

Mouse Button

Results

Window title bar or frame (current window active)

Left

Raise current window.

Window title bar or frame (current window active)

Middle

Lower current window.

Window title bar or frame (current window active)

Right

Open operations menu.

Window title bar or frame (current window not active)

Left

Activate current window and raise it to the top.

Window title bar or frame (current window not active)

Middle

Activate current window and lower it.

Inner window (current window not active)

Left

Activate current window, raise it to the top, and pass the click to the window.

Inner window (current window not active)

Middle

Activate current window and pass the click to the window.

Inner window (current window not active)

Right

Activate current window and pass the click to the window.

Any part of a window

Middle (plus hold Alt key)

Toggle between raising and lowering the window.

Any part of a window

Right (plus hold Alt key)

Resize the window.

On the desktop area

Left (hold and drag)

Select a group of icons.

On the desktop area

Right

Open system pop-up menu.

The mouse actions in the table are all single-click actions. Use single-click with the left mouse button to open an icon on the desktop. On a window title bar, double-clicking results in a window- shade action, where the window scrolls up and down into the title bar.

Using Keystrokes

If you don't happen to have a mouse or you just like to keep your hands on the keyboard, there are several keystroke sequences you can use to navigate the desktop. Here are some examples:

Managing Files with the Konqueror File Manager

The Konqueror File Manager helps elevate the KDE environment from just another X window manager to an integrated desktop that can compete with GUIs from Apple Computing or Microsoft. The features in Konqueror rival those that are offered by those user -friendly desktop systems. Figure 3-16 shows an example of the Konqueror File Manager window.

Figure 3-16: Konqueror provides a network-ready tool for managing files.

Some of Konqueror's greatest strengths over earlier file managers are the following:

Of course, you can also perform many standard file manager functions with Konqueror. For manipulating files, you can use features like Select, Move, Cut, Paste, and Delete. You can search directories for files, create new items (files, folders, and links, to name a few), view histories of the files and Web sites you have opened, and create bookmarks.

Working with Files

Because most of the ways of working with files in Konqueror are quite intuitive (by intention ), I'll just give a quick rundown of how to do basic file manipulation:

There are also several features for viewing information about the files and folders in your Konqueror windows:

Note 

Tree View, Icon View, and Photobook icons are also in the Konqueror toolbar for quick selection.

To act on a group of files at the same time, there are a couple of actions you can take. Choose Edit Selection Select. A pop-up window lets you match all (*) or any group of documents indicated by typing letters , numbers , and wildcard characters . Or, to select a group of files, click in an open area of the folder and drag the pointer across the files you want to select. All files within the box will be highlighted. When files are highlighted, you can move, copy, or delete the files as described earlier.

Searching for Files

If you are looking for a particular file or folder, you can use the Konqueror Find feature. To open a Find window to search for a file, choose Tools Find File and the Find box will appear in your Konqueror window. You could also start the kfind window by typing kfind from a Terminal window. Figure 3-17 shows the kfind window.

Figure 3-17: Search for files and folders from the kfind window.

Simply type the name of the file you want to search for (in the Named text box) and the folder, including all subfolders , you want to search in (in the Look in text box). Then click the Find button. Use metacharacters, if you like, with your search. For example, search for *.rpm to find all files that end in .rpm or z*.doc to find all files that begin with z and end with .doc . You can also select to have the search be case sensitive or click the Help button to get more information on searching.

To further limit your search, you can click the Properties tab, then enter a date range (between), a number of months before today (during the previous x months), or the number of days before today (during the previous x days). Select the Contents tab to choose to limit the search to files of a particular type (of Type), files that include text that you enter (Containing Text), or that are of a certain size (Size is) in kilobytes.

Creating New Files and Folders

You can create a variety of file types when using the Konqueror window. Choose Edit Create New, and select Folder (to create a new folder) or one of the following types under the File submenu:

Under the Link to Device submenu, you can make the following selections:

Creating MIME types and applications are described later in this chapter.

Using Other Browser Features

Because Konqueror performs like a Web browser as well as a file manager, it includes several other browser features. For example, you can keep a bookmark list of Web sites you have visited, using the bookmarks feature. Any bookmarks that you add to your bookmarks list show up in the drop-down menu that appears when you click Bookmarks. Select from that list to return to a site. There are several ways to add and change your bookmarks list:

Configuring Konqueror Options

You can change many of the visual attributes of the Konqueror window. You can select which menu bars and toolbars appear. You can have any of the following bars appear on the Konqueror window: Menu bar, Toolbar, Extra Toolbar, Location Toolbar, Bookmark Toolbar. Select Settings and then click the menu item for the bar you want to have appear (or not appear). The bar appears when the checkmark is shown next to it.

You can modify a variety of options for Konqueror by choosing Settings Configure Konqueror. The Konqueror Settings window appears, offering the following options:

Creating an Image Gallery with Konqueror

There's a neat feature in Konqueror that lets you create a quick image gallery. To use it, you need to install the kipi-plugins package from Fedora Extras.

The feature takes a directory of images, creates thumbnails for each one, and generates an HTML (Web) page. The HTML page includes a title you choose, all image thumbnails arranged on a page, and links to the larger images. Here's how you do it:

  1. Add images you want in your gallery to any folder (for example, /home/jake/images ). Make sure they are sized , rotated , and cropped the way you like before beginning. (Try The Gimp for manipulating your images by typing gimp& from a Terminal.)

  2. Open the folder in Konqueror (for example, type /home/jake/images in the Location box).

  3. Click Tools Create Image Gallery. The Create Image Gallery window appears.

  4. Type a title for the image gallery into the Page Title box. You can also select other attributes of the gallery, such as the number of rows, information about the image to appear on the page (name, size, and dimension), the fonts, and the colors to use.

  5. Click OK.

Konqueror generates the thumbnails and adds them to the thumbs directory. The image gallery page itself opens and is saved to the images.html file. (Select the Folders button to save the gallery under a different name. You can also have Konqueror create galleries in recursive subfolders to a depth you choose.) You can now copy the entire contents of this directory to a Web server and publish your pictures on the Internet. Figure 3-18 shows an example of a Konqueror image gallery.

Figure 3-18: Create an image gallery in Konqueror.

Managing Windows

If you have a lot of windows open at the same time, tricks for organizing and managing the windows on your desktop are very helpful. KDE helps you out by maintaining window lists you can work with and shortcuts for keeping the windows in order.

Using the Taskbar

When you open a window, a button representing the window appears in the taskbar at the bottom of the screen. Here is how you can manage windows from the taskbar:

All the windows that are running, regardless of which virtual desktop you are on, appear in the taskbar. If there are multiple windows of the same type shown as a single task, you can right-click that task; then select All to Desktop to move all related windows to the desktop you pick.

To set other preferences related to the panel taskbar, right-click the handle on the left side of the taskbar and choose Configure Taskbar. The Configure window that appears let you choose settings for how the taskbar appears and how mouse actions affect it.

Uncluttering the Desktop

If your windows are scattered willy-nilly all over the desktop, here are a couple of ways you can make your desktop's appearance a little neater:

Moving Windows

The easiest way to move a window from one location to another is to place the pointer on the window's title bar; while holding down the mouse button, move the mouse so the window goes to a new location, and release the mouse button to drop the window. Another way to do it is to click the window menu button (top left corner of the title bar), click Move, move the mouse to relocate the window, and then click again to place it.

Tip 

If somehow the window gets stuck in a location where the title bar is off the screen, there is a way you can move it back to where you want it. Hold down the Alt key and press the left mouse button in the inner window. Then move the window where you want it and release. An alternative is to right-click anywhere on the window frame and select Move to move the window.

Resizing Windows

To resize a window, place the pointer over a corner or side of the window border, and, while holding down the mouse button, move it until it is the size you want. Grabbing a corner lets you resize vertically and horizontally at the same time. Grabbing the side lets you resize in only one direction.

You can also resize a window from the window menu button. Click the window menu button (top left corner of the title bar) and select Size. Move the mouse until the window is resized and click to leave it there.

Pinning Windows on Top or Bottom

You can set a window to always stay on top of all other windows or always stay under them. Keeping a window on top can be useful for a small window that you want to always refer to (such as a clock or a small TV viewing window). To pin a window on top of the desktop, click in the window title bar. From the menu that appears, select Advanced Keep Above Others. Likewise, to keep the window on the bottom, select Advanced Keep Below Others.

Using Virtual Desktops

To give you more space to run applications than will fit on your physical screen, KDE gives you access to several virtual desktops at the same time. Using the 1, 2, 3, and 4 buttons on the Panel, you can easily move between the different desktops. Just click the one you want.

If you want to move an application from one desktop to another, you can do so from the window menu. Click the window menu button for the window you want to move, click To Desktop, then select Desktop 1, 2, 3, or 4. The window will disappear from the current desktop and move to the one you selected.

Configuring the Desktop

If you want to change the look, feel, or behavior of your KDE desktop, the best place to start is the KDE Control Center. The KDE Control Center window lets you configure dozens of attributes associated with colors, fonts, backgrounds, and screensavers used by KDE. You can also change attributes relating to how you work with windows and files.

To open the KDE Control Center, select the Fedora menu and choose Control Center (or from the desktop, open a Terminal window and type kcontrol ). The KDE Control Center window appears, as shown in Figure 3-19.

Figure 3-19: Configure your desktop from the KDE Control Center.

Click the plus (+) sign next to topics you want to configure. Then select the particular item you want to configure. The following sections describe some of the features you can configure from the KDE Control Center.

Changing the Display

There are several ways you can change the look-and-feel of your desktop display. Under the Appearance & Themes topic (click the plus sign), you can change Background, Colors, Fonts, Icons, Launch Feedback, Panel, Screen Saver, Style, Theme Manager, and Window Decoration.

Here are a few of the desktop features you may want to change:

Changing Panel Attributes

For most people, the Panel is the place where they select which desktop is active and which applications are run. You can change some of the behavior of the panel from the KDE Control Center. (Select Panels under the Appearance & Themes heading.) However, you can do more to modify the panel from the panel itself.

Right-click any empty space on your panel, and then select Configure Panel. (Or, if your panel is full, you can right-click icons in the panel to see the Panel Menu.) You can change these features from the Settings window that appears:

Adding Application Launchers and MIME Types

You want to be able to quickly access the applications that you use most often. One of the best ways to make that possible is to add icons to the panel or the desktop that can launch the applications you need with a single click. Procedures for adding applications to the panel and desktop are described in the following sections.

Adding Applications to the Panel

You can add any KDE application to the KDE panel quite easily. Here's how:

  1. Right-click an open space on the panel.

  2. Choose Add Application to Panel.

  3. Select one of the categories of applications.

  4. Click any application from the category you selected (or select Add this menu to add the whole menu of applications).

An icon representing the application should immediately appear on the panel. (If the panel seems a bit crowded, you might want to remove some applications you don't use.) At this point, you can change any properties associated with the application by right-clicking the application icon in the panel and then selecting Configure. Here are the properties you can change:

If you decide later that you no longer want this application to be available on the panel, right-click it and click Remove. To move it to a different location on the panel, right-click it, click Move, move it to where you want it on the panel, and click again.

Adding Applications to the Desktop

To add an application to the desktop, you can use the desktop menu. Here's how:

  1. Right-click an open area of the desktop.

  2. Select Create New Link to Application from the menu.

  3. In the Properties window that appears, replace the Program name. (This name will appear under the icon on the desktop.)

  4. Add Permissions, Execute, and Application information for the application as described in the previous section about adding applications to the panel. In this case, much of the information will have to be entered manually. You will at least want to enter the command to run, along with any options, on the Execute tab. You will probably also want to enter the Comment and Name on the Application tab. Click OK to save the application icon to the desktop.

If you decide later that you no longer want this application to be available on the desktop, right-click it and click Delete or Move to Trash.

Категории