Difference between revisions of "Configuring the CentOS Desktop Panels"

From Techotopia
Jump to: navigation, search
m (Text replacement - "<hr> <table border=" to "<htmlet>ezoicbottom</htmlet> <hr> <table border=")
m (Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">")
 
Line 1: Line 1:
<table border="0" cellspacing="0">
+
<table border="0" cellspacing="0" width="100%">
 
<tr>
 
<tr>
 
<td width="20%">[[Configuring CentOS Desktop Fonts|Previous]]<td align="center">[[CentOS Essentials|Table of Contents]]<td width="20%" align="right">[[Configuring the CentOS Desktop Menu System|Next]]</td>
 
<td width="20%">[[Configuring CentOS Desktop Fonts|Previous]]<td align="center">[[CentOS Essentials|Table of Contents]]<td width="20%" align="right">[[Configuring the CentOS Desktop Menu System|Next]]</td>
Line 134: Line 134:
 
<htmlet>ezoicbottom</htmlet>
 
<htmlet>ezoicbottom</htmlet>
 
<hr>
 
<hr>
<table border="0" cellspacing="0">
+
<table border="0" cellspacing="0" width="100%">
 
<tr>
 
<tr>
 
<td width="20%">[[Configuring CentOS Desktop Fonts|Previous]]<td align="center">[[CentOS Essentials|Table of Contents]]<td width="20%" align="right">[[Configuring the CentOS Desktop Menu System|Next]]</td>
 
<td width="20%">[[Configuring CentOS Desktop Fonts|Previous]]<td align="center">[[CentOS Essentials|Table of Contents]]<td width="20%" align="right">[[Configuring the CentOS Desktop Menu System|Next]]</td>

Latest revision as of 20:02, 27 October 2016

PreviousTable of ContentsNext
Configuring CentOS Desktop FontsConfiguring the CentOS Desktop Menu System


You are reading a sample chapter from the CentOS 5 Essentials Essentials book.

Purchase a copy of the fully updated CentOS 8 edition in eBook ($24.99) or Print ($36.99) format

CentOS 8 Essentials Print and eBook (ePub/PDF/Kindle) editions contain 31 chapters and over 260 pages. Learn more...

Buy Print Preview Book


The CentOS GNOME Desktop Panels are one of the most useful aspects of the desktop in terms of providing information, ease of use and convenience to the user. As with just about every other aspect of the GNOME desktop, these panels are accompanied by extensive configuration options. In this chapter we will look at each of these configuration options in detail.


Contents


What are Desktop Panels

On a newly installed CentOS system there are two panels configured by default. These appear at the top and bottom of the desktop respectively. The top panel contains the main desktop menus and a number of status areas with information such as the system time and audio settings:


The CentOS desktop top panel


The bottom panel contains a button to hide and show all windows on the screen, the trash can, access to the various virtual workspaces and also has a button representing each application currently running in the current workspace.


The CentOS desktop bottom panel


These panels can be configured in a variety of ways including:

  • Adding additional panels to the desktop
  • Moving the panels to different locations on the desktop
  • Adding mini applications (such as stock ticker or weather applet) to a panel
  • Size, background, visibility and transparency of panels

In the remainder of this chapter we will look at each of these customization options in detail.

Changing the Position of a Panel

A panel can be placed in one of four different locations on the desktop: the top, bottom, far left or far right of the desktop. There are two ways to change the position of a CentOS GNOME Desktop panel. By far the easiest method is to simply click with the left hand mouse button on the panel you wish to relocate and drag it to the new location.

Alternatively, the location of the panel can be adjusted using the Properties dialog of the panel. This dialog is accessed by clicking with the right hand mouse button on any blank area of the panel and selecting Properties from the popup menu:


The CentOS Panle Properties dialog


From the Panel Properties dialog, change the Orientation setting to the desired value to position the panel as required.


Adding and Deleting Desktop Panels

New panels may be added to the desktop by right clicking on any existing panel and selecting New Panel from the resulting menu. The new panel will be placed in an orientation where no panel currently exists. If you already have panels on all four sides of your desktop, the new panel will be placed next to a pre-existing panel. It is possible to fill your entire desktop with panels if you wish, though it is hard to imagine a situation where this would be desirable.

An existing panel may be removed from the desktop by right clicking on the panel and selecting Delete This Panel from the popup menu.

Changing the Appearance of a Desktop Panel

A number of configuration options are available for changing the appearance of each desktop panel. These changes are implemented using the Panel Properties dialog (accessed by right clicking on the panel to be changed and selecting Properties from the popup menu).

The Size property controls the height (when the panel is in a horizontal orientation) or width (when in vertical orientation). It is not possible to reduce the size to the extent where items will no longer be visible (the minimum value is typically around 23 pixels).

A different color or even an image may be specified for the panel background. These settings are available from the Background page of the panel properties dialog:

Configuring CentOS deskop panel background settings


The level of transparency can be specified by selecting the Solid color option and adjusting the Style slider.

The panel may be further configured so that it remains hidden until the mouse pointer moves to the side of the desktop where the panel is located. To activate this feature, select the Autohide option on the General panel of the properties window.

Finally, if you do not wish to have the panel occupy the full width or height of the desktop (depending on the orientation of the selected panel), unset the Expand option. The panel will then only appear as wide or as tall as it needs to be to accommodate the items it is configured to display.

Adding Items to a GNOME Desktop Panel

When CentOS is first installed, a number of items are added by default to the two panels. Additional items, however, may easily be added to any panel. There are a couple of ways to add items to the panel.

If there is an application you frequently launch from the Applications menu there is a quick way to add a launch icon to the panel. Simply open the Applications menu and navigate to the menu option for the desired application. Rather than clicking on this menu item with the left mouse button as you normally would, click instead with the right mouse button and select the Add this launcher to panel option. An icon representing the application will subsequently appear on the panel which, when clicked, will launch the corresponding application.

Alternatively, launch the Add to Panel dialog by right clicking on a blank area of the desired panel and selecting Add to Panel… from the resulting menu. In the resulting dialog select Application Launcher… and click Forward. The dialog will list each menu item and all sub-menu items. If, for example, you wanted to be able to launch the OpenOffice Writer word processor from the panel simply click on the arrow next to Office in the Add to Panel dialog to unfold the list of Office applications. Select Word Processor and click on the Add button:


The CentOS GNOME Dekstop Add to Panel dialog


In addition to applications from the menu, it is also possible to add a range of items specifically designed to appear on panels. To add such items to a panel click with the right mouse button over the panel to be configured and select the Add to Panel menu option from the resulting popup menu. The Add to Panel dialog will then appear as follows:


The CentOS GNOME Dekstop Add to Panel dialog


To add an item to the panel, simply scroll through the list provided, select the required item and press the Add button. The following CentOS desktop panel includes the System Monitor and Weather Report items:


The CentOS top panel with system monitor and weather gadgets added


To edit the properties or preferences for a panel item, move the mouse pointer over the item in the panel and click the right mouse button. Select either Properties or Preferences from the menu and the appropriate dialog will appear. For example, the Preferences panel for the Weather Report item allows various settings to be changed, such as the geographical location and units for displaying temperature (Celsius or Fahrenheit). The system monitor can similarly be configured to also display metrics such as system load, memory and network usage.

To delete an item from a panel right click with the mouse on the item and select Remove from Panel.

To move an item to a different location in a panel right click with the mouse on the item and select Move. Then use the mouse to drag and drop the item to a new location. Alternatively, click with either the middle mouse button, or the left and right mouse buttons simultaneously and drag and drop the panel item to the new location.

To add an application not currently available from the desktop menus simply select the Custom Application Launcher, click Add and specify the path to the application executable and provide a name. Click on the No icon button to select an icon to represent the item on the panel.

Adding Menus to a Panel

Any of the sub-menus in the Applications, Places or System menus may be added as icons to the main panel. To add, for example, an icon to access the Application -> Accessories menu to the panel, open the Applications menu and right click on any item in the Accessories menu item. From the popup menu, select the Entire menu... followed by Add this as menu to panel. An icon will then appear on the panel which, when clicked, drops down the Accessories menu:


The CentOS GNOME Accessories menu added as a menu to the top panel


Alternatively, the menu may be added to the panel as a Drawer by selecting Add this as drawer to panel. A drawer is similar to the menu with the exception that only the icons are displayed and an Up arrow button is used to close the drawer:


The CentOS GNOME Accessories menu added as a drawer to the top panel

Changing the Number of CentOS Desktop Workspaces

The CentOS GNOME desktop supports multiple desktop workspaces (these are essentially individual screens which the user can switch between to avoid having to have all applications cluttered onto one screen). Switching between workspaces is achieved by clicking on the workspaces in the bottom desktop panel. The image below shows the panel from a desktop with four workspaces:


The CentOS GNOME desktop workspace gadget


By default, CentOS configures four workspaces. To increase the number of available workspaces, right click with the mouse on the workspace control (as shown above) in the panel and select Preferences. Simply increase the Number of workspaces value to the desired number. The name of each workspace may be changed by double clicking on the default name in the list (Workspace 1, Workspace 2 etc) and typing in a new name.


You are reading a sample chapter from the CentOS 5 Essentials Essentials book.

Purchase a copy of the fully updated CentOS 8 edition in eBook ($24.99) or Print ($36.99) format

CentOS 8 Essentials Print and eBook (ePub/PDF/Kindle) editions contain 31 chapters and over 260 pages. Learn more...

Buy Print Preview Book



PreviousTable of ContentsNext
Configuring CentOS Desktop FontsConfiguring the CentOS Desktop Menu System