Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142849618
D16687.id46579.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D16687.id46579.diff
View Options
Index: en_US.ISO8859-1/books/handbook/x11/chapter.xml
===================================================================
--- en_US.ISO8859-1/books/handbook/x11/chapter.xml
+++ en_US.ISO8859-1/books/handbook/x11/chapter.xml
@@ -1507,9 +1507,7 @@
the display manager. In this case, create an executable
<filename>~/.xsession</filename>:</para>
- <screen>&prompt.user; <userinput>echo "#!/bin/sh" > ~/.xsession</userinput>
-&prompt.user; <userinput>echo "exec /usr/local/bin/gnome-session" >> ~/.xsession</userinput>
-&prompt.user; <userinput>chmod +x ~/.xsession</userinput></screen>
+ <screen>&prompt.user; <userinput>echo "exec /usr/local/bin/gnome-session" > ~/.xsession</userinput></screen>
</sect2>
<sect2 xml:id="x11-wm-kde">
@@ -1586,9 +1584,7 @@
an executable <filename>~/.xsession</filename> as
follows:</para>
- <screen>&prompt.user; <userinput>echo "#!/bin/sh" > ~/.xsession</userinput>
-&prompt.user; <userinput>echo "exec /usr/local/bin/startkde" >> ~/.xsession</userinput>
-&prompt.user; <userinput>chmod +x ~/.xsession</userinput></screen>
+ <screen>&prompt.user; <userinput>echo "exec /usr/local/bin/startkde" > ~/.xsession</userinput></screen>
<para>Once <application>KDE</application> is started, refer to
its built-in help system for more information on how to use
@@ -1620,22 +1616,30 @@
<screen>&prompt.root; <userinput>cd /usr/ports/x11-wm/xfce4</userinput>
&prompt.root; <userinput>make install clean</userinput></screen>
+ <para><application>Xfce</application> uses
+ <application>D-Bus</application> for a message bus. This
+ application is automatically installed as dependency of
+ <application>Xfce</application>. Enable it in
+ <filename>/etc/rc.conf</filename> so it will be started when
+ the system boots:</para>
+
+ <programlisting>dbus_enable="YES"</programlisting>
+
<para>Unlike <application>GNOME</application> or
<application>KDE</application>,
<application>Xfce</application> does not provide its own login
manager. In order to start <application>Xfce</application>
from the command line by typing <command>startx</command>,
- first add its entry to <filename>~/.xinitrc</filename>:</para>
+ first create <filename>~/.xinitrc</filename> with this
+ command:</para>
- <screen>&prompt.user; <userinput>echo "exec /usr/local/bin/startxfce4 --with-ck-launch" > ~/.xinitrc</userinput></screen>
+ <screen>&prompt.user; <userinput>echo ". /usr/local/etc/xdg/xfce4/xinitrc" > ~/.xinitrc</userinput></screen>
<para>An alternate method is to use
<application>XDM</application>. To configure this method,
create an executable <filename>~/.xsession</filename>:</para>
- <screen>&prompt.user; <userinput>echo "#!/bin/sh" > ~/.xsession</userinput>
-&prompt.user; <userinput>echo "exec /usr/local/bin/startxfce4 --with-ck-launch" >> ~/.xsession</userinput>
-&prompt.user; <userinput>chmod +x ~/.xsession</userinput></screen>
+ <screen>&prompt.user; <userinput>echo ". /usr/local/etc/xdg/xfce4/xinitrc" > ~/.xsession</userinput></screen>
</sect2>
</sect1>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 25, 4:03 AM (2 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27924456
Default Alt Text
D16687.id46579.diff (3 KB)
Attached To
Mode
D16687: Update xinit & xsession snippets in X11 section of handbook.
Attached
Detach File
Event Timeline
Log In to Comment