0078-0080.html
来自「linux-unix130.linux.and.unix.ebooks130 l」· HTML 代码 · 共 271 行
HTML
271 行
<HTML>
<HEAD>
<TITLE>Developer.com - Online Reference Library - 0672311739:RED HAT LINUX 2ND EDITION:Common Desktop Environment</TITLE>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!-- ISBN=0672311739 //-->
<!-- TITLE=RED HAT LINUX 2ND EDITION //-->
<!-- AUTHOR=DAVID PITTS ET AL //-->
<!-- PUBLISHER=MACMILLAN //-->
<!-- IMPRINT=SAMS PUBLISHING //-->
<!-- PUBLICATION DATE=1998 //-->
<!-- CHAPTER=06 //-->
<!-- PAGES=0075-0096 //-->
<!-- UNASSIGNED1 //-->
<!-- UNASSIGNED2 //-->
<P><CENTER>
<a href="0075-0077.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0081-0083.html">Next</A>
</CENTER></P>
<A NAME="PAGENUM-78"><P>Page 78</P></A>
<UL>
<LI> Regular—The full-featured CDE session.
<LI> FVWM-95-2—The
fvwm window manager with the familiar Linux 95 style menu.
<LI> FVWM—A minimally configured
fvwm environment.
<LI> Fail-safe—A single X terminal, with no window manager. This session is designed
for addressing configuration problems.
</UL>
<P>These options, as well as dtlogin's appearance,
can be extensively modified. See the dtlogin(1X) manual page and the CDE documentation for details and examples.
</P>
<P>In addition to the Fail-safe session, the Linux virtual terminal feature is still available. In
order to change from the CDE to a virtual console, press Ctrl+Alt and F1+F6. In order to
return, press Alt+F7.
</P>
<P>When a regular session is started from the
dtlogin screen, the CDE session manager (Xsession) takes over. Xsession executes the programs necessary to start the required desktop session,
depending on the workstation and the user's individual configuration options. By modifying
the scripts and configuration files processed by Xsession, a user or system administrator can
customize CDE's appearance and specify what applications start at login and are available for
use during the session. I will cover these options later in the chapter in the section
"Customizing Your Session."
</P>
<P>After the session is started, the user interacts with the Front Panel, Workspace Manager,
Application Manager, and other CDE tools.
</P>
<H4><A NAME="ch06_ 5">
The Desktop Environment
</A></H4>
<P>When the desktop is finished loading, the first thing a new CDE user probably notices is
the Front Panel, which is shown in Figure 6.1. Whereas the Motif and Open Look window
managers offer only menus and the FVWM offers menus and simple icons, CDE provides a
Front Panel with pop-up and breakaway icon panels, a virtual screen manager, a trash bin similar
to that of the Macintosh, and predefined buttons for operations such as logging out, locking
the screen, reading mail, and launching several desktop tools.
</P>
<BR>
Figure 6.1.<BR>
The Front Panel.<BR>
<a href="8brhu01.html"><img src="images/tn_8brhu01_jpg.jpg"></a><BR>
<BR>
<P>After a close inspection of the Front Panel, a new user sees that the CDE offers a lot more
than a program launch pad because it supplies its own set of desktop applications and context-
sensitive help.
<A NAME="PAGENUM-79"><P>Page 79</P></A>
<P>On the far left side of the default panel, the CDE supplies an analog clock, which displays
the system time, and a calendar, which has an icon that displays the current date. The calendar
is actually a sophisticated scheduling application that provides an appointment manager
capable of notifying the user of appointments via sound, blinking video, pop-up windows, and
e-mail. It also provides a To Do list manager and a wide variety of calendar views that should
satisfy most users. But the real power of the desktop Calendar
Manager lies in its network options. By taking advantage of the desktop's networking capabilities, it allows users to share their
schedules with any other user of the CDE, regardless of whether they are using the same
workstation and without having to copy or share any files. These sharing capabilities are completely
configured from the application: No additional administrative work is required.
</P>
<P>The next icon on the Front Panel is for the File Manager. This should look familiar to
any Macintosh, Windows 95, or xfm user. Files can be viewed as icons or names and moved,
copied, or deleted with the mouse. As with other file managers, files are moved when they are
dragged with the mouse, copied when they are dragged with Shift or Ctrl pressed, and deleted
when they are dragged to the Trash icon, which is located in the Control Panel. (All desktop
applications share this Trash icon.)
</P>
<P>The CDE also supports file associations, much like the Macintosh and Windows
operating systems. These associations are governed by desktop
actions, which are defined through the Application Manager and can be
used in the File Manager. (I'll cover actions in more
detail later in the chapter in the section "Customizing Your Session.") These actions enable a user
to double-click a file and run the proper application, depending on how that type of file has
been defined. The default set of actions provided with the CDE is already very powerful. For
example, when a tar archive is double-clicked, a window pops up with a table of contents for
the archive (a right-click provides an option to actually extract the contents), compressed files
are decompressed, and text files are already associated with the desktop GUI editor (but can
be reassociated with your favorite editor, such as
vi or xemacs).
</P>
<P>The next two icons launch the Text Editor and the Mailer, which are two more desktop
tools supplied with the CDE. The Text Editor resembles most GUI text editors, with the
addition of the CDE's ever-present help system and some nice little extras like word wrap and an
integrated spell-checker. The Mailer uses the same spell-checker and offers a lot of other
features, such as the ability to create mail templates and excellent mail folder features.
</P>
<P>Above the editor icon is a small arrow that produces a subpanel when clicked (see Figure
6.2). Subpanels are one of the more advanced features of the CDE and also provide an easy
method for users to customize their environment. Subpanels can be "torn off" and placed anywhere
on the desktop, effectively extending the Front Panel and eliminating the need for the root
menu. I'll cover how subpanels can be created in the "Customizing Your Session" section of this chapter.
</P>
<A NAME="PAGENUM-80"><P>Page 80</P></A>
<BR>
Figure 6.2.<BR>
A sample subpanel.<BR>
<a href="8brhu02.html"><img src="images/tn_8brhu02_jpg.jpg"></a><BR>
<BR>
<P>The subpanel located over the Text Editor has an icon for starting a Desktop
Terminal (dtterm). It is a terminal that very closely resembles an
Xterm but has menus for operations such as
changing the font size and cutting and pasting text, making it easier for new users to perform
otherwise advanced operations at the shell prompt.
</P>
<P>In the middle of the Front Panel, you see the Graphical Workspace Manager (GWM) and
some smaller icons that are installed by default. The lock control locks the screen, the exit
control logs you out, the green light indicates when the CDE is busy saving a configuration or
launching a new application, and the fourth control brings up a separate Workspace Manager
window.
</P>
<P>The Workspace Manager has a virtual screen manager provided by TriTeal. TriTeal's
version of the CDE has some features above and beyond those offered by the CDE. Although the
CDE-specified desktop has buttons corresponding to virtual screens (the number of virtual
screens defaults to four but can be easily altered; see the "Customizing Your Session" section),
the Workspace Manager presents a graphical representation of each screen and
its contents and allows windows to be manipulated from within the screen manager.
</P>
<CENTER>
<TABLE BGCOLOR="#FFFF99">
<TR><TD><B>
TIP
</B></TD></TR>
<TR><TD>
<BLOCKQUOTE>
Another useful Workspace Manager tool is the application list. To display it, click
the Workspace background (also referred to as the
root window). This will activate the root menu. Select Application list. If you click an application name in this list, it will appear
in front. If the application is running in another virtual workspace, it will also appear in
front and you will be brought to that virtual screen.
</BLOCKQUOTE></TD></TR>
</TABLE></CENTER>
</P>
<P>Immediately to the right of the screen manager is
the Printer Control, where you can view printers and manage documents. You can also drag documents to the Printer Control to
be processed if the appropriate action has been configured for the application that created it.
</P>
<P>The next three icons represent the heart of the CDE: the Style Manager, covered in the
section "Customizing Your Session"; the Application Manager, also
covered in "Customizing Your Session"; and the Help Viewer, explained in detail in "The Help Viewer."
</P>
<P><CENTER>
<a href="0075-0077.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0081-0083.html">Next</A>
</CENTER></P>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?