0094-0096.html
来自「linux-unix130.linux.and.unix.ebooks130 l」· HTML 代码 · 共 247 行
HTML
247 行
<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="0091-0093.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="../ch07/0097-0100.html">Next</A>
</CENTER></P>
<A NAME="PAGENUM-94"><P>Page 94</P></A>
<BR>
Figure 6.6.<BR>
A help window.<BR>
<a href="8brhu06.html"><img src="images/tn_8brhu06_jpg.jpg"></a><BR>
<BR>
<H4><A NAME="ch06_ 26">
Adding Help to Icons
</A></H4>
<P>Modify the control you created earlier in
Spider.fp to read as follows (you are adding a
HELP_STRING configuration property):
</P>
<!-- CODE //-->
<PRE>
CONTROL Spider
{
CONTAINER_NAME Games
CONTAINER_TYPE SUBPANEL
LABEL Spider
ICON redhat_folder
PUSH_ACTION Spider
PUSH_RECALL true
HELP_STRING Linux: What to drive.
}
</PRE>
<!-- END CODE //-->
<P>Restart the desktop, go to the Spider control, and bring up the menu by right-clicking it.
Select the Help option. The Help Viewer will appear, displaying the text you supplied in
the control definition.
</P>
<A NAME="PAGENUM-95"><P>Page 95</P></A>
<P>The Help Viewer can also be passed directives on what topic to bring up in an existing
help file. If you take another look at the
FrontPanel definition in the main.fp file you created
earlier, you can see an example:
</P>
<!-- CODE //-->
<PRE>
PANEL FrontPanel
{
DISPLAY_HANDLES True
DISPLAY_MENU True
DISPLAY_MINIMIZE True
CONTROL_BEHAVIOR single_click
DISPLAY_CONTROL_LABELS False
HELP_TOPIC FPOnItemFrontPanel
HELP_VOLUME FPanel
SUBPANEL_UNPOST False
}
</PRE>
<!-- END CODE //-->
<P>The two help directives, HELP_TOPIC and
HELP_VOLUME, tell the desktop the name of the
topic and the file that contains it in
$CDEROOT/appconfig/help/C. This is good to know when you
are modifying default icons. Again, for more information, see the manual pages included in
the TEDman RPM.
</P>
<H4><A NAME="ch06_ 27">
Help Topics
</A></H4>
<P>The 18 help volumes included with the CDE contain a wealth of information useful for
novice and advanced users and remove the need for anything more than the most basic of
hard-copy manuals. They can be broken down into the following categories:
</P>
<UL>
<LI> Novice Help—Volumes such as "Introducing the Desktop," "Desktop Help
System," and "File Manager" introduce the desktop to beginning users. They include
basic topics such as how to use the mouse to more advanced operations such as
managing files.
<LI> Advanced Help—These volumes cover advanced topics such as creating and
deleting actions, configuring the desktop for a network, customizing the Graphical
Workspace Manager, and customizing the Front Panel, among many others.
<LI> Application Help—Each desktop application, such as the Calendar, the
Application Manager, DT Terminal, and the Style Manager, has a help volume.
</UL>
<P>Almost all the help volumes have a reference section that displays the volume's contents in
the format of a keyword and topic index, so you can quickly navigate within a topic without
using the index window.
</P>
<A NAME="PAGENUM-96"><P>Page 96</P></A>
<H3><A NAME="ch06_ 28">
Summary
</A></H3>
<P>This chapter presents an overview to the TriTeal Network Desktop for Linux that is
distributed by Red Hat Software. The desktop is an implementation of the Common Desktop
Environment.
</P>
<P>The CDE environment provides users with an easy-to-use, consistent, and stable interface,
with all the amenities offered by commercial operating systems, such as drag and drop for files
and printing, online context-sensitive help, and graphical desktop tools for reading mail,
editing files, and even managing a schedule.
</P>
<P>This chapter provides information on the following:
</P>
<UL>
<LI> The history of the CDE
<LI> The installation of the CDE, using Red Hat's RPM system
<LI> The initial CDE login process and use of several applications included with
the desktop
<LI> Customizing the CDE environment by using the Style Manager, making
simple changes to the Front Panel, and altering the configuration files to make
advanced changes
<LI> The advanced help system provided with the CDE
</UL>
<P>The CDE, and TriTeal's version in particular, offers a lot more to UNIX systems than any
one chapter can cover. With it, administrators can very easily provide a seamless environment
to users of not only different workstations, but workstations running different versions of
UNIX. They can also apply the sort of configuration changes discussed here to entire networks
by making changes in one location, which not only makes performing the change easier, but
also simplifies the change management process.
</P>
<P>The CDE is one of the many mainstream commercial products available for Linux. This
availability is yet another positive sign that Linux is finally receiving the acceptance that it
deserves in the commercial arena.
</P>
<P><CENTER>
<a href="0091-0093.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="../ch07/0097-0100.html">Next</A>
</CENTER></P>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?