© David Both 2020
D. BothUsing and Administering Linux: Volume 1https://doi.org/10.1007/978-1-4842-5049-5_6

6. Using the Xfce Desktop

David Both1 
(1)
Raleigh, NC, USA
 

Objectives

In this chapter you will learn
  • Why Xfce is a good desktop to use for this course as well as for regular use

  • The basic usage and navigation of the Xfce desktop

  • How to launch programs

  • The basic usage of the xfce4-terminal emulator

  • How to install all current updates as well as some new software

  • How to use the Settings Manager

  • How to add program launchers to the bottom panel

  • How to configure the Xfce desktop

Why Xfce

Xfce seems like an unusual choice for the desktop to use in a Linux course rather than the more common GNOME or KDE desktops. I started using Xfce a few months ago, and I find that I like it a lot and am enjoying its speed and lightness. The Xfce desktop is thin and fast with an overall elegance that makes it easy to figure out how to do things. Its lightweight construction conserves both memory and CPU cycles. This makes it ideal for older hosts with few resources to spare for a desktop and resource-constrained virtual machines. However, Xfce is flexible and powerful enough to satisfy my needs as a power user.

The desktop

Xfce is a lightweight desktop that has a very small memory footprint and CPU usage compared to some of the other desktops such as KDE and GNOME. On my system the programs that make up the Xfce desktop take a tiny amount of memory for such a powerful desktop. Very low CPU usage is also a hallmark of the Xfce desktop. With such a small memory footprint, I am not especially surprised that Xfce is also very sparing of CPU cycles.

The Xfce desktop, as seen in Figure 6-1, is simple and uncluttered with fluff. The basic desktop has two panels and a vertical line of icons on the left side. Panel 0 is at the bottom and consists of some basic application launchers, as well as the “Applications” icon which provides access to all of the applications on the system. The panels can be modified with additional items such as new launchers or altering their height and width.

Panel 1 is at the top and has an Applications launcher as well as a “Workspace Switcher” that allows the user to switch between multiple workspaces. A workspace is an organizational entity like a desktop, and having multiple workspaces is like having multiple desktops on which to work with different projects on each.
../images/473415_1_En_6_Chapter/473415_1_En_6_Fig1_HTML.jpg
Figure 6-1

The Xfce desktop with the Thunar file manager and the xfce4-terminal open

The icons down the left side of the desktop consist of home directory and Trash icons. It can also display icons for the complete filesystem directory tree and any connected pluggable USB storage devices. These icons can be used to mount and unmount the device, as well as to open the default file manager. They can also be hidden, if you prefer, with the filesystem, Trash, and home directory icons being separately controllable. The removable drives can be hidden or displayed as a group.

The file manager

Thunar is the default file manager for Xfce. It is simple, easy to use and configure, and very easy to learn. While not as full featured as file managers like Konqueror or Dolphin, it is quite capable and very fast. Thunar does not have the ability to create multiple panes in its window, but it does provide tabs so that multiple directories can be open at the same time. Thunar also has a very nice sidebar that, like the desktop, shows the same icons for the complete filesystem directory tree and any connected USB storage devices. Devices can be mounted or unmounted, and removable media such as CDs can be ejected. Thunar can also use helper applications such as ark to open archive files when they are clicked on. Archives such as zip, tar, and rpm files can be viewed, and individual files can be copied out of them.

Having used a number of different file managers, I must say that I like Thunar for its simplicity and ease of use. It is easy to navigate the filesystem using the sidebar.

Stability

The Xfce desktop is very stable. New releases seem to be on a three-year cycle although updates are provided as necessary. The current version is 4.12 which was released in February of 2015. The rock solid nature of the Xfce desktop is very reassuring after having issues with KDE. The Xfce desktop has never crashed for me, and it has never spawned daemons that gobbled up system resources. It just sits there and works which is what I want.

Xfce is simply elegant. Simplicity is one of the hallmarks of elegance. Clearly the programmers who write and maintain Xfce and its component applications are great fans of simplicity. This simplicity is very likely the reason that Xfce is so stable, but it also results in a clean look, a responsive interface, an easily navigable structure that feels natural, and an overall elegance that makes it a pleasure to use.

xfce4-terminal emulator

The xfce4-terminal emulator is a powerful emulator that uses tabs to allow multiple terminals in a single window, like many other terminal emulators. This terminal emulator is simple compared to other emulators like Tilix, Terminator, and Konsole, but it does get the job done. The tab names can be changed, and the tabs can be rearranged by drag and drop, by using the arrow icons on the toolbar, or the options on the menu bar. One thing I especially like about the tabs on the Xfce terminal emulator is that they display the name of the host to which they are connected regardless of how many other hosts are connected through to make that connection, that is, host1 → host2 → host3 → host4 properly shows host4 in the tab. Other emulators show host2 at best.

Many aspects of its function and appearance can be easily configured to suit your needs. Like other Xfce components, this terminal emulator uses very little in the way of system resources.

Configurability

Within its limits, Xfce is very configurable. While not offering as much configurability as a desktop like KDE, it is far more configurable and more easily so than GNOME, for example. I found that the Settings Manager is the doorway to everything that is needed to configure Xfce. The individual configuration apps are separately available, but the Settings Manager collects them all into one window for ease of access. All of the important aspects of the desktop can be configured to meet my own personal needs and preferences.

Getting started

Before we log in for the first time, let’s take a quick look at the GUI login screen shown in Figure 6-2. There are some interesting things to explore here. The login screen, that is, the greeter, is displayed and controlled by the display manager, lightdm,1 which is only one of several graphical login managers called display managers.2 Each display manager also has one or more greeters – graphical interfaces – which can be changed by the user.

In the center of the screen is the login dialog. The user student is already selected because there are no other users who can log in at the GUI. The root user is not allowed to log in using the GUI. Like everything else in Linux, this behavior is configurable, but I recommend against changing that. If there were other users created for this host, they would be selectable using the selection bar.

The panel across the top of the login screen contains information and controls. Starting from the left, we see first the name of the host. Many of the display managers I have used – and there are several – do not display the hostname. In the center of the control panel is the current date and time.

On the right side of the panel, we first find – again from left to right – a circle that contains “XF,” which stands for Xfce. This control allows you to select any one of multiple desktops if you have more than Xfce installed. Linux has many desktops available, such as KDE, GNOME, Xfce, LXDE, Mate, and many more. You can install any or all of these and switch between them whenever you log in. You would need to select the desired desktop before you log in.
../images/473415_1_En_6_Chapter/473415_1_En_6_Fig2_HTML.jpg
Figure 6-2

Type in the password, and click the Log In button

The next item we encounter is language selection. This control allows you to select any one of hundreds of languages to use on the desktop.

Next we have a human person with arms and legs spread wide. This allows accessibility choices for large font and high-contrast color selections for the desktop.

Last and furthest to the right is the virtual power button. Click this and you get a submenu that allows you to suspend, hibernate, restart (reboot), and shut down (power off) the system.

Login

Before we can use the Xfce desktop, we need to log in. The StudentVM1 virtual machine should already be up and running and waiting for you to log in as shown in Figure 6-2; however if you closed it at the end of the previous chapter, start it now. Click the VM screen, then type in the password you chose for the student user, and click the Log In button.

The first time you log in to Xfce, you are given a choice for the panel configuration. The panel(s) can contain application launchers, a time and date calendar, a system tray with icons to allow access to things like network, updates, the clipboard, and more. I strongly suggest using the default configuration rather than an empty panel. You can make changes to the panel later, but starting with an empty one creates a lot of work to start with that we don’t need right now.
../images/473415_1_En_6_Chapter/473415_1_En_6_Fig3_HTML.jpg
Figure 6-3

Select the default panel configuration

Just click Use default config to continue to the Xfce desktop which now has a panel at the top and one at the bottom as shown in Figure 6-4. The top panel contains several components that provide access and control over some important functions.

On the far left of the top panel is the Applications menu. Click this to see a menu and several submenus that allow you to select and launch programs and utilities. Just click the desired application to launch it.

Next is some currently empty space where the icons for running applications will be displayed. Then we have four squares, one of which is dark gray and the other three are lighter gray. This is the desktop selector, and the darker one is the currently selected desktop. The purpose of having more than one desktop is to enable placing windows for different projects on different desktops to help keep things organized. Application windows and icons are displayed in the desktop selector if any are running. Just click the desired desktop to switch to it. Applications can be moved from one desktop to another. Drag the application from one desktop in the switcher to another, or right-click the application title bar to raise a menu that provides a desktop switching option.
../images/473415_1_En_6_Chapter/473415_1_En_6_Fig4_HTML.jpg
Figure 6-4

The Xfce desktop

To the immediate right of the desktop switcher is the clock. You can right-click the clock to configure it to display the date as well as the time in different formats. Next is the system tray which contains icons to install software updates; connect, disconnect, and check the status of the network; and check the battery status. The network is connected by default at boot time, but you can also find information about the current connection. On a laptop, you would also have wireless information.

Soon after you log in, and at regular intervals thereafter, the dnf-dragora program – the orange and blue icon that is hard to see – will check for updates and notify you if there are any. There will very likely be a large number after the installation and first boot. For now just ignore this. Do not try to install updates now; we will do that from the command line later in this chapter.

The bottom panel contains launchers for some basic applications. Be sure to note the second icon from the left which will launch the xfce4-terminal emulator. We will look at the rest of these launchers in more detail soon.

Exploring the Xfce desktop

Let’s spend some time exploring the Xfce desktop itself. This includes reducing the annoyance level of the screensaver, doing some configuration to set default applications, adding launchers to Panel 2 – the bottom panel – to make them more easily accessible, and using multiple desktops.

As we proceed through this exploration of the Xfce desktop, you should take time to do a bit of exploration on your own. I find that is the way I learn best. I like to fiddle with things to try to get them the way I want them – or until they break – whichever comes first. When they break, I get to figure out what went wrong and fix them.

Like all decent desktops, Xfce has a screensaver that also locks the screen. This can get annoying – as it has for me while I write this – so we are going to reconfigure the screensaver first. Figure 6-5 shows us how to get started.
../images/473415_1_En_6_Chapter/473415_1_En_6_Fig5_HTML.jpg
Figure 6-5

Launching the screensaver configuration application

Experiment 6-1

Do this experiment as the student user. In this experiment we explore the screensaver and then turn it off so it won’t interfere with our work.
  1. 1.

    To launch the screensaver application, use Panel 1 (the top one) and select ApplicationsSettingsScreensaver.

     
  2. 2.

    Figure 6-6 shows the Screensaver Preferences dialog. The Mode is currently set to Random Screen Saver which selects savers from the checked ones in the list. Scroll down and select some of them to see what they look like in the preview box on the right. I selected the XanalogTV for this screen shot because it is interesting and it does bring back memories. Go ahead and “experiment” – all right – play with this because it is fun.

     
../images/473415_1_En_6_Chapter/473415_1_En_6_Fig6_HTML.jpg
Figure 6-6

Experimenting with the screensaver application

This page also allows you to select timeouts for screen blanking and how often to cycle to a new random saver.
  1. 3.

    Click the Advanced tab. This dialog allows configuration of text and image manipulation. It also provides power management configuration for the display.

     
  2. 4.

    To disable the screensaver, return to the Display Modes tab, click the Mode button, and select Disable Screen Saver.

     
  3. 5.

    Close the Screensaver Preferences dialog.

     

For my physical hosts, I usually select the blank screen for my screensaver and set the time long enough that it won’t blank while I am still working at my desk but not touching the mouse or keyboard. I set the screen to lock a few minutes after that. My tolerance levels change over time, so I do reset these occasionally. You should set them to your own needs.

Settings Manager

Let’s look at how we can access the various desktop settings to Xfce. There are two ways to do so, and one is to use the Applications button on Panel 1, select Settings, and then select the specific setting item you want to view of change. The other option is to open the Settings Manager at the top of the Settings menu. The Settings Manager has all of the other settings in one window for easy access. Figure 6-7 shows both options. On the left, you can see the Applications menu selection, and on the right is the Settings Manager.
../images/473415_1_En_6_Chapter/473415_1_En_6_Fig7_HTML.jpg
Figure 6-7

There are two ways of accessing the various Xfce desktop settings. Notice that I have resized the window of the StudentVM1 virtual machine so that there would be enough vertical space to show all of the settings in the Settings Manager

Adding launchers to Panel 2

I prefer to use the Settings Manager. I also like to make it easier for myself to access the Settings Manager itself. Not that three clicks to go through the menu tree every time I want to access a settings tool, but one click is always better than three. This is part of being the lazy SysAdmin, less typing and fewer mouse clicks are always more efficient. So let’s take a side trip to add the Settings Manager icon to Panel 2, the bottom panel, as a launcher.

Experiment 6-2

In this experiment we will add the Settings Manager to Panel 2 on the Xfce desktop.

  1. 1.

    Open the Applications menu as shown in Figure 6-7, and locate the Settings Manager at the top of the Settings menu.

     
  2. 2.
    Click the Settings Manager as if you were going to open it, but hold the mouse button down, and drag it to the left side of Panel 2 like I have in Figure 6-8. Hover over the small space at the end of the panel until the vertical red bar appears. This bar shows where the new launcher will be added.
    ../images/473415_1_En_6_Chapter/473415_1_En_6_Fig8_HTML.jpg
    Figure 6-8

    Adding the Settings Manager to Panel 2

     
  1. 3.

    When the red bar is in the desired location on the panel, release the mouse button to drop it there.

     
  2. 4.
    An interrogatory dialog will open that asks if you want to “Create new launcher from 1 desktop file.” Click the Create Launcher button. The new launcher now appears on Panel 2 as shown in Figure 6-9.
    ../images/473415_1_En_6_Chapter/473415_1_En_6_Fig9_HTML.jpg
    Figure 6-9

    The new Settings Manager launcher on Panel 2

     

You can now launch the Settings Manager from the panel. You could have placed the launcher anywhere on the panel or on the desktop.

Note that only one click is required to launch applications from the panel. I add all of my most used applications to Panel 2 which prevents me from having to search for them in the menus every time I want to use one of them. As we work our way through this course, you can add more launchers to the panel to enhance your own efficiency.

Preferred applications

We can now return to setting our preferred applications. Default applications are choices like which terminal emulator or web browser that you want all other applications to launch when one of those is needed. For example, you might want your word processor to launch Chrome when you click a URL embedded in the text. Xfce calls these preferred applications.

The preferred terminal emulator is already configured as the xfce4-terminal, which you have had an opportunity to use. We will go into much more detail about the xfce4-terminal in Chapter 7.

The icons at the bottom of the Xfce desktop, in Panel 2, include a couple for which we should choose default applications, the web browser and the file manager. If you were to click the web browser icon, the Earth with a mouse pointer on it, you would be given a choice of which of the installed web browsers you want to use as the default. At the moment, only the Firefox web browser is installed, so there aren’t any real choices available.

There is also a better way, and that is to make all of the preferred application selections at one time.

Experiment 6-3

In this experiment we will set the preferred applications for the student user.
  1. 1.

    If the Settings Manager is not already open, open it now.

     
  2. 2.

    Locate the Preferred Applications icon in the Settings dialog, and click it once to open it. This dialog opens to its Internet tab which allows selection of the browser and e-mail application. Neither has a preferred application at this time, so we need to set one for the browser.

     
  3. 3.

    To set Firefox as the default browser, click the selection bar that says “No application selected” for the web browser. The only option at this time is Firefox so select that.

     
  4. 4.

    Switch to the Utilities tab of the Preferred Applications dialog shown in Figure 6-10. Notice that both items here already have selections made. Thunar is the only option available as the file manager, and the Xfce terminal is the only option for the terminal emulator.

     
  5. 5.

    The fact that there are no other options available for any of these applications is due to the extremely basic installation that is performed by the desktop installers.

     
  6. 6.

    Click the All Settings button shown in Figure 6-10 to return to the main Settings Manager.

     
../images/473415_1_En_6_Chapter/473415_1_En_6_Fig10_HTML.jpg
Figure 6-10

The Utilities tab of the Preferred Applications dialog allows selection of the default GUI file manager and the default terminal emulator

The Thunar file manager is one of the best ones I have used. There are many and several of them are available for Fedora Linux. The same is true of the Xfce terminal – it is one of the best of many very good ones. In my opinion, even if there were other choices available to be made here, these are excellent ones, and I would not change them. We will cover file managers in more detail in Chapter 2 of Volume 2.

Desktop appearance

Changing the appearance of the desktop is managed by more than one of the settings tools in the Settings Manager. I like to play – ...er...experiment – with these as my moods change. Well, not that often, but every few weeks. I like to try different things, and this is one harmless way of making changes that can be fun.

Appearance

We start with the Appearance tools which allows us to select various aspects of the look of the user interface. Although Xfce does not have the vast number of configuration that KDE does, it has more than some other desktops. I like a lot of flexibility in changing the look of my desktop, and I am quite satisfied with the amount of flexibility I get with the Xfce desktop. It is flexible enough for me without being overly complex.

The Appearance tool has four tabs that provide controls to adjust different parts of the Xfce desktop. The Appearance dialog opens to the Style tab. This tab is mostly about color schemes, but it also has some effect on the rendering of buttons and sliders. For example, controls may have a flat or 3D appearance in different styles.

The second tab, Icons, allows selection of an icon theme from among several available ones. Others can be downloaded and installed as well.

The third tab, Fonts, allows the user to select a font theme for the desktop. A default variable width font can be selected as well as a default monospace font.

The fourth tab, Settings, allows selection of whether the icons have text or not and where it is located. It also provides the ability to determine whether some buttons and menu items have images on them. You can also turn sounds for events on or off on this tab.

Experiment 6-4

This experiment will provide you with an opportunity to try making changes to the look and feel of your desktop. Experimenting with these changes can suck up a lot of time, so try not to get too distracted by it. The main idea here is to allow you to familiarize yourself with changing the appearance of the Xfce desktop.

To begin, open the Settings Manager using the icon you added to Panel 2 in Experiment 6-2. Then click the Appearance icon which is in the upper left of the Settings Manager window. Figure 6-11 shows the Style tab. This tab allows you to choose the basic color scheme and some of the visual aspects of the Xfce desktop.

Click some of the different schemes to see how they look in your VM. I have noticed (at the time of this writing) that the Xfce selections look good with respect to the colors, but that the menu bars, on windows that have them, seem to jam the menu items together, so they become difficult to read. For your new style, you should consider one of the others. I like the Adwaita-dark, Arc-Dark-solid, and Crux styles.
../images/473415_1_En_6_Chapter/473415_1_En_6_Fig11_HTML.jpg
Figure 6-11

Setting the style elements of the Xfce desktop

Now go to the Icons tab, and select some different icon schemes to see how they look. This is not the mouse pointer icon, but the application icons. I like the Fedora icon set.

Notice that all changes take place almost as soon as you select them.

When you have finished setting the appearance of your desktop, click the All Settings button to return to the main settings dialog. Then click window manager. These settings enable you to change the look of the window decorations – things like the title bar, the icons on the title bar, and the size and look of the window borders. In Figure 6-12 I have chosen the B6 window decorations. Try some of the other themes in this menu.

The Keyboard tab allows you to change some of the keyboard shortcuts, but I seldom make any changes here. The Focus tab gives you the ability to determine when a window gets the focus so that it is the active window. The Advanced tab determines whether windows snap to invisible grid lines when moves and the granularity of the grid. It also allows you to configure how windows dragged to the edge of the screen act.

Leave the Settings Manager open for now.
../images/473415_1_En_6_Chapter/473415_1_En_6_Fig12_HTML.jpg
Figure 6-12

The Window Manager settings allow you to change the look of the window decorations

You should also take a little time to explore the other dialogs found in the Settings Manager.

Don’t forget that you can return to the Settings Manager at any time to change the appearance of your desktop. So if you don’t like tomorrow what you selected today, you can choose another look and feel for your desktop.

Configuring the look and feel of the desktop may seem a bit frivolous, but I find that having a desktop that looks good to me and that has launchers for the applications I use most frequently and that can be easily modified goes a long way to making my work pleasant and easy. Besides, it is fun to play with these settings, and SysAdmins just want to have fun.

Multiple desktops

Another feature of the Xfce desktop, and all except the simplest of the others I have used, is the ability to use multiple desktops, or workspaces as they are called in Xfce. I use this feature often, and many people find it useful to organize their work by placing the windows belonging to each project on which they are working on different desktops. For example, I have four workspaces on my Xfce desktop. I have my e-mail, an instance of the Chromium web browser, and a terminal session on my main workspace. I have VirtualBox and all of my running VMs in a second workspace along with another terminal session. I have my writing tools on a third workspace, including various documents that are open in LibreOffice, another instance of Chromium for research, a file manager to open and manage the documents that comprise this book, and another terminal emulator session with multiple tabs each of which are logged in via SSH to one of the VMs I have running.

Experiment 6-5

This experiment is designed to give you practice with using multiple desktops. Your desktop should look very similar to that in Figure 6-13, with the Settings Manager and Thunar file manager open.
../images/473415_1_En_6_Chapter/473415_1_En_6_Fig13_HTML.jpg
Figure 6-13

Move the Thunar file manager to another workspace using the System menu

To start, click the filing cabinet icon in the center of Panel 2 (the bottom panel). If you hover the mouse pointer over this folder, the tool tip will pop up showing the title “File Manager.” The default file manager is Thunar, and it can be used to explore the files and directories in your home directory as well as other system directories to which you have access, such as /tmp.

But we want to move this file manager to a different desktop. There are two different ways to do this. First, right-click anywhere on the file manager’s Title bar at the top of the window. Then select Move to Another Workspace as in Figure 6-13, and then click Workspace 3. You could also access the same menu with a right-click on the button for the running application in the top panel, Panel 1.

The Workspace Switcher now shows the window for the file manager in workspace 3, while the Settings Manager is still in workspace 1, as shown in Figure 6-14. You can click any workspace in the switcher to go immediately to that workspace. So click workspace three to go there.
../images/473415_1_En_6_Chapter/473415_1_En_6_Fig14_HTML.jpg
Figure 6-14

The Workspace Switcher shows windows in workspaces 1 and 3

Notice that the windows in the switcher are a reasonable approximation of their relative size on the workspaces that the switcher represents. The windows in the switcher also have icons that represent the application running in the window. This makes it fairly easy for us to use the switcher to move windows from one workplace to another.

However, if the panel size is too small, the windows may not be replicated in the desktop switcher, or just the outline of the window will be present without an icon. If there are no windows in the desktop switcher, you should skip the next paragraph.

Drag the file manager icon from workspace 3 to workspace 4 and drop it there. The file manager window disappears from the workspace, and the icon for the file manager is now in workspace 4. Click workspace 4 to go there.

As with all things Linux, there are multiple ways to manage these workspaces and the application windows in each. I find that there are times when placing windows that belong to a specific project on a workspace by themselves is a good way to simplify the clutter on my primary workspace.

Installing updates

It is important to ensure that the Linux operating system and software are always up to date. Although it is possible to install updates using the dnfdragora software management tool that is found in the system tray on the desktop, SysAdmins are more likely to perform updates from the command line.

Software updates are installed to fix problems with existing versions or to add some new function. Updates do not install a complete new release version of Fedora. The last experiment in this chapter will explore using a terminal session on the desktop as root to install software updates.

Experiment 6-6

On the bottom Panel, Panel 2, click the Terminal Emulator icon once, the third from the left in Figure 6-15. You can hover the mouse pointer over the icon to view a terse description of the program represented by the icon.
../images/473415_1_En_6_Chapter/473415_1_En_6_Fig15_HTML.jpg
Figure 6-15

Use Panel 2 to open a terminal session

  1. 1.
    Updates can only be installed by root. Even if we used the graphical dnfdragora software management tool on the desktop, we would need to use the root password. We need to switch user to root in the terminal session:
    [student@studentvm1 ~]$ su -
    Password: <Enter the root password>
    [root@studentvm1 ~]#

    You may have already noticed that we always add a dash after the su command, like so: su -. We will go into more detail about this in a later chapter, but for now it is sufficient to say that the dash ensures that root is working in the correct environment. The root user has its own home directory, environment variables like the path ($PATH), and some command-line tools that are a bit different for root than for other users.

     
  2. 2.

    Now we install all of the available updates. This is very important because it is always a best practice to ensure that things are working as they should by having the latest updates installed. The latest updates will contain the most recent security patches as well as functional fixes.

    This is easy, but it will require waiting while the process completes. The nice thing is that Linux updates, even when they do require a reboot, don’t reboot automatically, and you can continue working until you are ready to do the reboot.

    Enter the following command:

    [root@studentvm1 ~]# dnf -y update

    On my VM this installed over 375 updates. This number may vary greatly depending upon how recent the ISO image you installed Linux from is and how many updates there are. I have not shown the lengthy output produced from this command, but you should pay some attention to it as the dnf command does its work. This will give you an idea of what to expect when you do updates later.

    The installation of some updates, especially some kernel packages, may appear to stop for a period of time or be hung. Don’t worry; this is normal.

     
  3. 3.

    Because the kernel was updated, we will do a reboot so that the new kernel is loaded. There are some ways to do this in the GUI, but I prefer rebooting from the command line. After the updates have been installed and the message, “Complete!” is displayed, we will do the reboot – but not before:

    [root@studentvm1 ~]# reboot
     
  4. 4.

    During the reboot, be sure to look at the GRUB menu. Note that there are multiple kernels shown, two, for now. You can use the up and down arrow keys on your keyboard to select a different kernel than the default, which is always the most recent. We will talk more about this later, but having multiple kernels from which to boot can be very helpful at times. Don’t change this for now.

     
  5. 5.
    Log in to the desktop and open a terminal session. There is something else that needs to be done after an update to ensure that the man(ual) pages – the help facility – are up to date. I have had times when the database was not properly updated and the man command did not display the man page for a command. This command ensures that all of the man pages are up to date:
    [root@studentvm1 ~]# mandb
    <snip>
    Purging old database entries in /usr/share/man/ko...
    Processing manual pages under /usr/share/man/ko...
    Purging old database entries in /usr/local/share/man...
    Processing manual pages under /usr/local/share/man...
    0 man subdirectories contained newer manual pages.
    0 manual pages were added.
    0 stray cats were added.
    2 old database entries were purged.
     

Not very much resulted from this on my system, but two old manual database items were purged.

Chapter summary

You have logged in using the GUI greeter for the Xfce desktop and familiarized yourself with the desktop. You launched and learned very basic usage of the xfce4-terminal emulator. You installed all current updates.

You have explored the Xfce desktop and learned a number of ways to configure it to create a different look and feel. You have also explored some ways to make the desktop work a bit more efficiently for you, such as adding launchers to the panel and using multiple desktops.

I did an online search to try to discover what Xfce means, and there is a historical reference to XForms Common Environment, but Xfce no longer uses the Xforms tools. Some years ago I found a reference to “Xtra fine computing environment,” and I like that a lot and will use that despite not being able to find the page reference again.

Exercises

Perform the following exercises to complete this chapter:
  1. 1.

    What does the term “lightweight” mean when applied to the Xfce desktop?

     
  2. 2.

    Do you think that using multiple workspaces will be beneficial to you and the way you like to work?

     
  3. 3.

    How many options are there for the terminal emulator in the Preferred Applications configuration dialog?

     
  4. 4.

    Can you change the number of available workspaces?

     
  5. 5.

    What is the name of the default file manager for the Xfce desktop?

     
  6. 6.

    How does this file manager compare to others you have used?

     
  7. 7.

    How do you obtain a terminal login as the root user?

     
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.48.78