Changeset View
Changeset View
Standalone View
Standalone View
head/en_US.ISO8859-1/books/handbook/x11/chapter.xml
Show First 20 Lines • Show All 1,501 Lines • ▼ Show 20 Lines | hald_enable="YES"</programlisting> | ||||
file does not exist, create it with this command:</para> | file does not exist, create it with this command:</para> | ||||
<screen>&prompt.user; <userinput>echo "exec /usr/local/bin/gnome-session" > ~/.xinitrc</userinput></screen> | <screen>&prompt.user; <userinput>echo "exec /usr/local/bin/gnome-session" > ~/.xinitrc</userinput></screen> | ||||
<para>A third method is to use <application>XDM</application> as | <para>A third method is to use <application>XDM</application> as | ||||
the display manager. In this case, create an executable | the display manager. In this case, create an executable | ||||
<filename>~/.xsession</filename>:</para> | <filename>~/.xsession</filename>:</para> | ||||
<screen>&prompt.user; <userinput>echo "#!/bin/sh" > ~/.xsession</userinput> | <screen>&prompt.user; <userinput>echo "exec /usr/local/bin/gnome-session" > ~/.xsession</userinput></screen> | ||||
&prompt.user; <userinput>echo "exec /usr/local/bin/gnome-session" >> ~/.xsession</userinput> | |||||
&prompt.user; <userinput>chmod +x ~/.xsession</userinput></screen> | |||||
</sect2> | </sect2> | ||||
<sect2 xml:id="x11-wm-kde"> | <sect2 xml:id="x11-wm-kde"> | ||||
<title>KDE</title> | <title>KDE</title> | ||||
<indexterm><primary>KDE</primary></indexterm> | <indexterm><primary>KDE</primary></indexterm> | ||||
<para><application>KDE</application> is another easy-to-use | <para><application>KDE</application> is another easy-to-use | ||||
▲ Show 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | <filename>~/.xinitrc</filename>:</para> | ||||
<programlisting>exec /usr/local/bin/startkde</programlisting> | <programlisting>exec /usr/local/bin/startkde</programlisting> | ||||
<para>A third method for starting <application>KDE</application> | <para>A third method for starting <application>KDE</application> | ||||
is through <application>XDM</application>. To do so, create | is through <application>XDM</application>. To do so, create | ||||
an executable <filename>~/.xsession</filename> as | an executable <filename>~/.xsession</filename> as | ||||
follows:</para> | follows:</para> | ||||
<screen>&prompt.user; <userinput>echo "#!/bin/sh" > ~/.xsession</userinput> | <screen>&prompt.user; <userinput>echo "exec /usr/local/bin/startkde" > ~/.xsession</userinput></screen> | ||||
&prompt.user; <userinput>echo "exec /usr/local/bin/startkde" >> ~/.xsession</userinput> | |||||
&prompt.user; <userinput>chmod +x ~/.xsession</userinput></screen> | |||||
<para>Once <application>KDE</application> is started, refer to | <para>Once <application>KDE</application> is started, refer to | ||||
its built-in help system for more information on how to use | its built-in help system for more information on how to use | ||||
its various menus and applications.</para> | its various menus and applications.</para> | ||||
</sect2> | </sect2> | ||||
<sect2 xml:id="x11-wm-xfce"> | <sect2 xml:id="x11-wm-xfce"> | ||||
<title>Xfce</title> | <title>Xfce</title> | ||||
Show All 15 Lines | package:</para> | ||||
<screen>&prompt.root; <userinput>pkg install xfce</userinput></screen> | <screen>&prompt.root; <userinput>pkg install xfce</userinput></screen> | ||||
<para>Alternatively, to build the port:</para> | <para>Alternatively, to build the port:</para> | ||||
<screen>&prompt.root; <userinput>cd /usr/ports/x11-wm/xfce4</userinput> | <screen>&prompt.root; <userinput>cd /usr/ports/x11-wm/xfce4</userinput> | ||||
&prompt.root; <userinput>make install clean</userinput></screen> | &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 | <para>Unlike <application>GNOME</application> or | ||||
<application>KDE</application>, | <application>KDE</application>, | ||||
<application>Xfce</application> does not provide its own login | <application>Xfce</application> does not provide its own login | ||||
manager. In order to start <application>Xfce</application> | manager. In order to start <application>Xfce</application> | ||||
from the command line by typing <command>startx</command>, | 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 | <para>An alternate method is to use | ||||
<application>XDM</application>. To configure this method, | <application>XDM</application>. To configure this method, | ||||
create an executable <filename>~/.xsession</filename>:</para> | create an executable <filename>~/.xsession</filename>:</para> | ||||
<screen>&prompt.user; <userinput>echo "#!/bin/sh" > ~/.xsession</userinput> | <screen>&prompt.user; <userinput>echo ". /usr/local/etc/xdg/xfce4/xinitrc" > ~/.xsession</userinput></screen> | ||||
&prompt.user; <userinput>echo "exec /usr/local/bin/startxfce4 --with-ck-launch" >> ~/.xsession</userinput> | |||||
&prompt.user; <userinput>chmod +x ~/.xsession</userinput></screen> | |||||
</sect2> | </sect2> | ||||
</sect1> | </sect1> | ||||
<sect1 xml:id="x-compiz-fusion"> | <sect1 xml:id="x-compiz-fusion"> | ||||
<title>Installing Compiz Fusion</title> | <title>Installing Compiz Fusion</title> | ||||
<para>One way to make using a desktop | <para>One way to make using a desktop | ||||
computer more pleasant is with nice 3D effects.</para> | computer more pleasant is with nice 3D effects.</para> | ||||
▲ Show 20 Lines • Show All 523 Lines • Show Last 20 Lines |