aboutsummaryrefslogtreecommitdiff
path: root/zh_TW.Big5/books/handbook/x11/chapter.xml
diff options
context:
space:
mode:
Diffstat (limited to 'zh_TW.Big5/books/handbook/x11/chapter.xml')
-rw-r--r--zh_TW.Big5/books/handbook/x11/chapter.xml171
1 files changed, 68 insertions, 103 deletions
diff --git a/zh_TW.Big5/books/handbook/x11/chapter.xml b/zh_TW.Big5/books/handbook/x11/chapter.xml
index 1e50725cc1..ada2fb3816 100644
--- a/zh_TW.Big5/books/handbook/x11/chapter.xml
+++ b/zh_TW.Big5/books/handbook/x11/chapter.xml
@@ -5,25 +5,17 @@
$FreeBSD$
Original revision: 1.186
-->
-
-<chapter id="x11">
- <chapterinfo>
+<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="x11">
+ <info><title>X Window 視窗系統</title>
<authorgroup>
- <author>
- <firstname>Ken</firstname>
- <surname>Tom</surname>
- <contrib>Updated for X.Org's X11 server by </contrib>
- </author>
- <author>
- <firstname>Marc</firstname>
- <surname>Fonvieille</surname>
- </author>
+ <author><personname><firstname>Ken</firstname><surname>Tom</surname></personname><contrib>Updated for X.Org's X11 server by </contrib></author>
+ <author><personname><firstname>Marc</firstname><surname>Fonvieille</surname></personname></author>
</authorgroup>
- </chapterinfo>
+ </info>
- <title>X Window 視窗系統</title>
+
- <sect1 id="x11-synopsis">
+ <sect1 xml:id="x11-synopsis">
<title>概述</title>
<para>FreeBSD 使用 X11 來提供使用者相當好用的 GUI 介面。
@@ -41,11 +33,10 @@
&xorg.version; 版部分)的安裝與設定。 若欲瞭解
<application>&xfree86;</application> 的詳細資料(早期的 &os; 內,
<application>&xfree86;</application> 乃是預設的 X11 套件),請參閱舊版的
- &os; Handbook,網址為 <ulink url="http://docs.FreeBSD.org/doc/"></ulink>
+ &os; Handbook,網址為 <uri xlink:href="http://docs.FreeBSD.org/doc/">http://docs.FreeBSD.org/doc/</uri>
。</para>
- <para>欲知 X11 對於顯示方面硬體的支援情況,請參閱 <ulink
- url="http://www.x.org/">&xorg;</ulink> 網站。</para>
+ <para>欲知 X11 對於顯示方面硬體的支援情況,請參閱 <link xlink:href="http://www.x.org/">&xorg;</link> 網站。</para>
<para>讀完這章,您將了解:</para>
@@ -80,7 +71,7 @@
</itemizedlist>
</sect1>
- <sect1 id="x-understanding">
+ <sect1 xml:id="x-understanding">
<title>瞭解 X 的世界</title>
<para>第一次接觸 X 的人,大概都會有些震撼,尤其是熟悉其他 GUI 介面(像是
@@ -270,7 +261,7 @@
</sect2>
</sect1>
- <sect1 id="x-install">
+ <sect1 xml:id="x-install">
<title>安裝 X11</title>
<para><application>&xorg;</application> 是 &os; 預設的 X11 實作。
@@ -308,18 +299,13 @@
以及如何打造高生產力的桌面環境。</para>
</sect1>
- <sect1 id="x-config">
- <sect1info>
+ <sect1 xml:id="x-config">
+ <info><title>設定 X11</title>
<authorgroup>
- <author>
- <firstname>Christopher</firstname>
- <surname>Shumway</surname>
- <contrib>Contributed by </contrib>
- <!-- July 2001 -->
- </author>
+ <author><personname><firstname>Christopher</firstname><surname>Shumway</surname></personname><contrib>Contributed by </contrib></author>
</authorgroup>
- </sect1info>
- <title>設定 X11</title>
+ </info>
+
<indexterm><primary>&xorg;</primary></indexterm>
@@ -508,7 +494,7 @@ EndSection</programlisting>
<indexterm><primary>Intel i810 graphic chipset</primary></indexterm>
<para>Configuration with &intel; i810 integrated chipsets
- requires the <devicename>agpgart</devicename>
+ requires the <filename>agpgart</filename>
AGP programming interface for X11
to drive the card. 詳情請參閱 &man.agp.4; 說明。</para>
@@ -595,19 +581,15 @@ EndSection</programlisting>
</sect2>
</sect1>
- <sect1 id="x-fonts">
- <sect1info>
+ <sect1 xml:id="x-fonts">
+ <info><title>在 X11 中使用字型</title>
<authorgroup>
- <author>
- <firstname>Murray</firstname>
- <surname>Stokely</surname>
- <contrib>Contributed by </contrib>
- </author>
+ <author><personname><firstname>Murray</firstname><surname>Stokely</surname></personname><contrib>Contributed by </contrib></author>
</authorgroup>
- </sect1info>
- <title>在 X11 中使用字型</title>
+ </info>
+
- <sect2 id="type1">
+ <sect2 xml:id="type1">
<title>Type1 規格的字型</title>
<para>The default fonts that ship with
X11 are less than ideal for typical
@@ -617,10 +599,10 @@ EndSection</programlisting>
However, there are several free, high quality Type1 (&postscript;) fonts
available which can be readily used
with X11. For instance, the URW font collection
- (<filename role="package">x11-fonts/urwfonts</filename>) includes
+ (<package>x11-fonts/urwfonts</package>) includes
high quality versions of standard type1 fonts (<trademark class="registered">Times Roman</trademark>,
<trademark class="registered">Helvetica</trademark>, <trademark class="registered">Palatino</trademark> and others). The Freefonts collection
- (<filename role="package">x11-fonts/freefonts</filename>) includes
+ (<package>x11-fonts/freefonts</package>) includes
many more fonts, but most of them are intended for use in
graphics software such as the <application>Gimp</application>, and are not
complete enough to serve as screen fonts. In addition,
@@ -659,7 +641,7 @@ EndSection</programlisting>
</para>
</sect2>
- <sect2 id="truetype">
+ <sect2 xml:id="truetype">
<title>&truetype; 規格的字型</title>
<indexterm><primary>TrueType Fonts</primary></indexterm>
@@ -689,14 +671,13 @@ EndSection</programlisting>
knows that these new files have been installed.
<command>ttmkfdir</command> is available from the FreeBSD
Ports Collection as
- <filename role="package">x11-fonts/ttmkfdir</filename>.</para>
+ <package>x11-fonts/ttmkfdir</package>.</para>
<screen>&prompt.root; <userinput>cd /usr/local/lib/X11/fonts/TrueType</userinput>
&prompt.root; <userinput>ttmkfdir -o fonts.dir</userinput></screen>
<para>Now add the &truetype; directory to the font
- path. This is just the same as described above for <link
- linkend="type1">Type1</link> fonts, that is, use</para>
+ path. This is just the same as described above for <link linkend="type1">Type1</link> fonts, that is, use</para>
<screen>&prompt.user; <userinput>xset fp+ /usr/local/lib/X11/fonts/TrueType</userinput>
&prompt.user; <userinput>xset fp rehash</userinput></screen>
@@ -714,18 +695,13 @@ EndSection</programlisting>
now.</para>
</sect2>
- <sect2 id="antialias">
- <sect2info>
+ <sect2 xml:id="antialias">
+ <info><title>Anti-Aliased 規格的字型</title>
<authorgroup>
- <author>
- <firstname>Joe Marcus</firstname>
- <surname>Clarke</surname>
- <contrib>Updated by </contrib>
- <!-- May 2003 -->
- </author>
+ <author><personname><firstname>Joe Marcus</firstname><surname>Clarke</surname></personname><contrib>Updated by </contrib></author>
</authorgroup>
- </sect2info>
- <title>Anti-Aliased 規格的字型</title>
+ </info>
+
<indexterm><primary>anti-aliased fonts</primary></indexterm>
<indexterm><primary>fonts</primary>
@@ -873,7 +849,7 @@ EndSection</programlisting>
X11 is not very
desirable when it comes to anti-aliasing. A much better
set of default fonts can be found in the
- <filename role="package">x11-fonts/bitstream-vera</filename>
+ <package>x11-fonts/bitstream-vera</package>
port. This port will install a
<filename>/usr/local/etc/fonts/local.conf</filename> file
if one does not exist already. If the file does exist,
@@ -927,26 +903,21 @@ EndSection</programlisting>
use anti-aliased fonts.
GTK+ and
<application>GNOME</application> can also be made to use
- anti-aliasing via the <quote>Font</quote> capplet (see <xref
- linkend="x11-wm-gnome-antialias"/> for details). By default,
+ anti-aliasing via the <quote>Font</quote> capplet (see <xref linkend="x11-wm-gnome-antialias"/> for details). By default,
<application>Mozilla</application> 1.2 and greater will
automatically use anti-aliasing. To disable this, rebuild
<application>Mozilla</application> with the
- <makevar>-DWITHOUT_XFT</makevar> flag.</para>
+ <varname>-DWITHOUT_XFT</varname> flag.</para>
</sect2>
</sect1>
- <sect1 id="x-xdm">
- <sect1info>
+ <sect1 xml:id="x-xdm">
+ <info><title>The X Display Manager</title>
<authorgroup>
- <author>
- <firstname>Seth</firstname>
- <surname>Kingsley</surname>
- <contrib>Contributed by </contrib>
- </author>
+ <author><personname><firstname>Seth</firstname><surname>Kingsley</surname></personname><contrib>Contributed by </contrib></author>
</authorgroup>
- </sect1info>
- <title>The X Display Manager</title>
+ </info>
+
<sect2>
<title>Overview</title>
@@ -982,13 +953,12 @@ EndSection</programlisting>
<para>The <application>XDM</application> daemon program is
located in <filename>/usr/local/bin/xdm</filename>. This program
- can be run at any time as <username>root</username> and it will
+ can be run at any time as <systemitem class="username">root</systemitem> and it will
start managing the X display on the local machine. If
<application>XDM</application> is to be run every
time the machine boots up, a convenient way to do this is by
adding an entry to <filename>/etc/ttys</filename>. For more
- information about the format and usage of this file, see <xref
- linkend="term-etcttys"/>. There is a line in the default
+ information about the format and usage of this file, see <xref linkend="term-etcttys"/>. There is a line in the default
<filename>/etc/ttys</filename> file for running the
<application>XDM</application> daemon on a virtual terminal:</para>
@@ -1184,29 +1154,25 @@ DisplayManager.requestPort: 0</screen>
</sect2>
</sect1>
- <sect1 id="x11-wm">
- <sect1info>
+ <sect1 xml:id="x11-wm">
+ <info><title>桌面環境</title>
<authorgroup>
- <author>
- <firstname>Valentino</firstname>
- <surname>Vaschetto</surname>
- <contrib>Contributed by </contrib>
- </author>
+ <author><personname><firstname>Valentino</firstname><surname>Vaschetto</surname></personname><contrib>Contributed by </contrib></author>
<!-- June 2001 -->
</authorgroup>
- </sect1info>
+ </info>
- <title>桌面環境</title>
+
<para>本章會介紹在 FreeBSD 中的 X 裡頭,有哪些不同的桌面環境。
<quote>桌面環境</quote>範圍很廣,從簡單的 window manager 到
完整的桌面應用程式,例如 <application>KDE</application> 或 <application>GNOME</application>。
</para>
- <sect2 id="x11-wm-gnome">
+ <sect2 xml:id="x11-wm-gnome">
<title>GNOME</title>
- <sect3 id="x11-wm-gnome-about">
+ <sect3 xml:id="x11-wm-gnome-about">
<title>關於 GNOME</title>
<indexterm><primary>GNOME</primary></indexterm>
@@ -1222,14 +1188,13 @@ DisplayManager.requestPort: 0</screen>
using the powerful graphics-driven environment that
<application>GNOME</application> provides. More
information regarding <application>GNOME</application> on
- FreeBSD can be found on the <ulink
- url="http://www.FreeBSD.org/gnome">FreeBSD GNOME
- Project</ulink>'s web site. The web site also contains fairly
+ FreeBSD can be found on the <link xlink:href="http://www.FreeBSD.org/gnome">FreeBSD GNOME
+ Project</link>'s web site. The web site also contains fairly
comprehensive FAQs about installing, configuring, and managing
<application>GNOME</application>.</para>
</sect3>
- <sect3 id="x11-wm-gnome-install">
+ <sect3 xml:id="x11-wm-gnome-install">
<title>Installing GNOME</title>
<para>可透過 package 或 Ports Collection 的方式來輕鬆安裝:</para>
@@ -1292,7 +1257,7 @@ DisplayManager.requestPort: 0</screen>
display manager of <application>KDE</application>.</para>
</sect3>
- <sect3 id="x11-wm-gnome-antialias">
+ <sect3 xml:id="x11-wm-gnome-antialias">
<title>Anti-aliased Fonts with GNOME</title>
<indexterm><primary>GNOME</primary>
@@ -1319,11 +1284,11 @@ DisplayManager.requestPort: 0</screen>
</sect3>
</sect2>
- <sect2 id="x11-wm-kde">
+ <sect2 xml:id="x11-wm-kde">
<title>KDE</title>
<indexterm><primary>KDE</primary></indexterm>
- <sect3 id="x11-wm-kde-about">
+ <sect3 xml:id="x11-wm-kde-about">
<title>About KDE</title>
<para><application>KDE</application> is an easy to use
@@ -1376,14 +1341,14 @@ DisplayManager.requestPort: 0</screen>
<application>Konqueror</application>, which is
a solid competitor to other existing web browsers on &unix;
systems. More information on <application>KDE</application>
- can be found on the <ulink url="http://www.kde.org/">KDE
- website</ulink>. For FreeBSD specific information and
+ can be found on the <link xlink:href="http://www.kde.org/">KDE
+ website</link>. For FreeBSD specific information and
resources on <application>KDE</application>, consult
- the <ulink url="http://freebsd.kde.org/">KDE on FreeBSD
- team</ulink>'s website.</para>
+ the <link xlink:href="http://freebsd.kde.org/">KDE on FreeBSD
+ team</link>'s website.</para>
</sect3>
- <sect3 id="x11-wm-kde-install">
+ <sect3 xml:id="x11-wm-kde-install">
<title>安裝 KDE</title>
<para>如同 <application>GNOME</application> 或其他桌面管理軟體一樣,
@@ -1423,7 +1388,7 @@ DisplayManager.requestPort: 0</screen>
</sect3>
</sect2>
- <sect2 id="x11-wm-kde-details">
+ <sect2 xml:id="x11-wm-kde-details">
<title>More Details on KDE</title>
<para>Now that <application>KDE</application> is installed on
@@ -1439,7 +1404,7 @@ DisplayManager.requestPort: 0</screen>
this section discusses the technical items that are
difficult to learn by random exploration.</para>
- <sect3 id="x11-wm-kde-kdm">
+ <sect3 xml:id="x11-wm-kde-kdm">
<title>The KDE Display Manager</title>
<indexterm><primary>KDE</primary>
@@ -1464,9 +1429,9 @@ DisplayManager.requestPort: 0</screen>
</sect3>
</sect2>
- <sect2 id="x11-wm-xfce">
+ <sect2 xml:id="x11-wm-xfce">
<title>XFce</title>
- <sect3 id="x11-wm-xfce-about">
+ <sect3 xml:id="x11-wm-xfce-about">
<title>About XFce</title>
<para><application>XFce</application> is a desktop environment
@@ -1510,11 +1475,11 @@ DisplayManager.requestPort: 0</screen>
</itemizedlist>
<para>More information on <application>XFce</application>
- can be found on the <ulink url="http://www.xfce.org/">XFce
- website</ulink>.</para>
+ can be found on the <link xlink:href="http://www.xfce.org/">XFce
+ website</link>.</para>
</sect3>
- <sect3 id="x11-wm-xfce-install">
+ <sect3 xml:id="x11-wm-xfce-install">
<title>Installing XFce</title>
<para>A binary package for <application>XFce</application>