* 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>

+

* Check that you have enabled the USE flags necessary for a XFCE desktop environment. [[Funtoo_Linux_First_Steps#Changing_profile|Set your profile to "xfce" via mix-ins]], as follows:

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>.

+

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> combined with <tt>ck-launch-session</tt>.

+

<console>

<console>

$ ##i##echo "exec ck-launch-session startxfce4" > ~/.xinitrc

$ ##i##echo "exec ck-launch-session startxfce4" > ~/.xinitrc

Line 47:

Line 43:

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:

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>

<console>

# ##i##rc-update add consolekit default

# ##i##rc-update add consolekit default

</console>

</console>

−

Finally, to start the graphical environment:

+

Finally, to start the graphical environment, run <tt>startx</tt> from a login shell:

<console>

<console>

$ ##i##startx

$ ##i##startx

</console>

</console>

−

== Display manager ==

+

== 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:

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:

Line 66:

Line 64:

Any of these would make a fine choice. After you've chosen which display manager to use, install it:

Any of these would make a fine choice. After you've chosen which display manager to use, install it:

+

<console>

<console>

# ##i##emerge lightdm

# ##i##emerge lightdm

Line 83:

Line 82:

[[Category:Desktop]]

[[Category:Desktop]]

[[Category:First Steps]]

[[Category:First Steps]]

+

[[Category:Official Documentation]]

Revision as of 01:52, March 21, 2014

About Xfce

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.

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.

.xinitrc

The most common way to start the environment is to configure ~/.xinitrc to launch an Xfce session. The proper way to launch Xfce from the terminal is by using startxfce4 combined with ck-launch-session.

$ echo "exec ck-launch-session startxfce4" > ~/.xinitrc

Note that ck-launch-session (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 default runlevel, executing the following command as root:

# rc-update add consolekit default

Finally, to start the graphical environment, run startx from a login shell:

$ startx

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: