diff options
author | Xin LI <delphij@FreeBSD.org> | 2007-02-22 06:33:26 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2007-02-22 06:33:26 +0000 |
commit | e060880a20470761328bef5afdbf9f1863bf3b11 (patch) | |
tree | a645f23faf12109f03b843e04519a986cc50df5e /zh_CN.GB2312/books/handbook/x11/chapter.sgml | |
parent | 6514f2d5486ee035f8887d09ad0dc2a7e602cff1 (diff) |
Notes
Diffstat (limited to 'zh_CN.GB2312/books/handbook/x11/chapter.sgml')
-rw-r--r-- | zh_CN.GB2312/books/handbook/x11/chapter.sgml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/zh_CN.GB2312/books/handbook/x11/chapter.sgml b/zh_CN.GB2312/books/handbook/x11/chapter.sgml index cb06ff3381..3a803b7031 100644 --- a/zh_CN.GB2312/books/handbook/x11/chapter.sgml +++ b/zh_CN.GB2312/books/handbook/x11/chapter.sgml @@ -2,7 +2,7 @@ The FreeBSD Documentation Project The FreeBSD Simplified Chinese Project - Original Revision: 1.178 + Original Revision: 1.179 $FreeBSD$ --> @@ -1205,10 +1205,10 @@ DisplayManager.requestPort: 0</screen> <filename>.xinitrc</filename> 的文件来启动。 如果已经有了自定义的 <filename>.xinitrc</filename>, 将启动当前窗口管理器的那一行改为启动 - <application>/usr/X11R6/bin/gnome-session</application> 就可以了。 + <application>/usr/local/bin/gnome-session</application> 就可以了。 如果还没有, 那么只需简单地:</para> - <screen>&prompt.user; <userinput>echo "/usr/X11R6/bin/gnome-session" > ~/.xinitrc</userinput></screen> + <screen>&prompt.user; <userinput>echo "/usr/local/bin/gnome-session" > ~/.xinitrc</userinput></screen> <para>接下来输入 <command>startx</command>, <application>GNOME</application> 桌面环境就启动了。</para> @@ -1217,12 +1217,12 @@ DisplayManager.requestPort: 0</screen> <application>XDM</application>, 则这样做是没用的。 此时应建立一个可执行的 <filename>.xsession</filename> 文件, 其中包含同样的命令。 要完成这项工作, 需要用 - <application>/usr/X11R6/bin/gnome-session</application> + <application>/usr/local/bin/gnome-session</application> 取代现有的窗口管理器: </para></note> <screen>&prompt.user; <userinput>echo "#!/bin/sh" > ~/.xsession</userinput> -&prompt.user; <userinput>echo "/usr/X11R6/bin/gnome-session" >> ~/.xsession</userinput> +&prompt.user; <userinput>echo "/usr/local/bin/gnome-session" >> ~/.xsession</userinput> &prompt.user; <userinput>chmod +x ~/.xsession</userinput></screen> <para>还有一种做法, 是配置显示管理器, @@ -1453,7 +1453,7 @@ DisplayManager.requestPort: 0</screen> <application>XFce</application>。 只要执行下面的命令:</para> - <screen>&prompt.user; <userinput>echo "/usr/X11R6/bin/startxfce4" > ~/.xinitrc</userinput></screen> + <screen>&prompt.user; <userinput>echo "/usr/local/bin/startxfce4" > ~/.xinitrc</userinput></screen> <para>接下来就是启动 X, <application>XFce</application>将成为您的桌面。 @@ -1461,7 +1461,7 @@ DisplayManager.requestPort: 0</screen> <filename>XDM</filename> 这样的显示管理器,需要创建一个 <filename>.xsession</filename>文件,就像有关 <link linkend="x11-wm-gnome">GNOME</link> 的那节描述的, - 使用<filename>/usr/X11R6/bin/startxfce4</filename> + 使用<filename>/usr/local/bin/startxfce4</filename> 命令,或者,配置显示管理器允许在启动时选择一个桌面, 就像有关<link linkend="x11-wm-kde-kdm">kdm</link>的那节描述的。</para> </sect3> |