Difference between pages "Xfce" and "Template:GLW"

(Difference between pages)
(Installation)
 
 
Line 1: Line 1:
== About Xfce ==
+
<br style="clear:both;" />
 +
{| align="center"  style="width:95%; background-color:#f8f8f8; border:2px solid #e0e0e0;  padding:5px;"
 +
|-
 +
| align="center" | '''Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States'''
  
''Xfce is a lightweight desktop environment for UNIX-like operating systems. It aims to be fast and low on system resources, while still being visually appealing and user friendly.
+
The content of this page is a derivative of a Gentoo Linux Wiki article. You can redistribute and/or modify it under the terms of the [http://creativecommons.org/licenses/by-nc-sa/3.0/us/legalcode Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License].
  
''Xfce embodies the traditional UNIX philosophy of modularity and re-usability. It consists of a number of components that provide the full functionality one can expect of a modern desktop environment. They are packaged separately and you can pick among the available packages to create the optimal personal working environment.
+
{{ #if: {{{src|}}} |([{{{src}}} Original Article]) }}
 +
|}
  
''Another priority of Xfce is adhereance to standards, specifically those defined at [http://freedesktop.org/ freedesktop.org]. <ref>http://www.xfce.org/about/</ref>
 
  
== Installation ==
+
<noinclude>
 
+
[[Category:License templates|{{PAGENAME}}]]</noinclude>
Before emerging Xfce you need to:
+
 
+
* Check that you have enabled the USE flags necessary for a XFCE desktop environment. You can either [[Funtoo_Linux_First_Steps#Changing_profile|set your profile to "xfce" via mix-ins]] or you can edit your <tt>make.conf</tt>
+
<console>
+
XFCE profile:
+
# ##i## eselect profile add funtoo/1.0/linux-gnu/mix-ins/xfce
+
</console>
+
 
+
<pre>
+
USE="-minimal dbus consolekit jpeg libnotify lock session startup-notification svg thunar udev X"
+
</pre>
+
 
+
 
+
* Verify that you have [[Funtoo_Linux_First_Steps#X.Org|X.Org Server]] configured properly.
+
 
+
 
+
We are now ready to install Xfce. Install the meta-package, which pulls in all of the components you need for a minimal Xfce installation:
+
<console>
+
# ##i## emerge xfce4-meta
+
</console>
+
 
+
== Running Xfce ==
+
 
+
There are several different ways to start Xfce:
+
 
+
* Typing the command <tt>startxfce4</tt> at the console.
+
* Editing the <tt>.xinitrc</tt> file in your user's home directory.
+
* Using a display manager (e.g. SLiM, GDM, and KDM).
+
* Configuring your shell profile to automatically start Xfce upon a successful login.
+
 
+
=== .xinitrc ===
+
 
+
The most common way to start the environment is to configure <tt>~/.xinitrc</tt> to launch an Xfce session. The proper way to launch Xfce from the terminal is by using <tt>startxfce4</tt>.
+
<console>
+
$ ##i##echo "exec ck-launch-session startxfce4" > ~/.xinitrc
+
</console>
+
 
+
Note that <tt>ck-launch-session</tt> (from ConsoleKit) is required by Xfce for important tasks such as shutting down, suspending, and automatically mounting removable storage media. Some applications will not work properly without it. Therefore we need to add ConsoleKit to the <tt>default</tt> runlevel, executing the following command as root:
+
<console>
+
# ##i##rc-update add consolekit default
+
</console>
+
 
+
Finally, to start the graphical environment:
+
<console>
+
$ ##i##startx
+
</console>
+
 
+
== Display manager ==
+
A display manager is a program that manages sessions and acts as a login screen. Here's a short list of a few of the display managers available in Funtoo:
+
 
+
* XDM (<tt>x11-apps/xdm</tt>): X.Org's standard display manager.
+
 
+
* LightDM (<tt>x11-misc/lightdm</tt>): A lightweight, but highly configurable display manager.
+
 
+
* SLiM (<tt>x11-misc/slim</tt>): Simple Login Manager -- a lightweight display manager. Not very configurable.
+
 
+
Any of these would make a fine choice. After you've chosen which display manager to use, install it:
+
<console>
+
# ##i##emerge lightdm
+
</console>
+
 
+
All that's left to do now is to add the name of the display manager to <tt>/etc/conf.d/xdm</tt>, add the <tt>xdm</tt> service to the <tt>default</tt> runlevel, and start the service:
+
 
+
<pre>
+
DISPLAYMANAGER="lightdm"
+
</pre>
+
 
+
<console>
+
# ##i##rc-update add xdm default
+
# ##i##/etc/init.d/xdm start
+
</console>
+
 
+
[[Category:Desktop]]
+
[[Category:First Steps]]
+

Latest revision as of 09:25, January 17, 2012


Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States

The content of this page is a derivative of a Gentoo Linux Wiki article. You can redistribute and/or modify it under the terms of the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.