Difference between pages "User:Akiress" and "Xfce"

(Difference between pages)
m
 
(Installation)
 
Line 1: Line 1:
{{Person
+
== About Xfce ==
|Full name=Benjamin K Guitreau
+
|Email=benjaminkguitreau@gmail.com
+
|Nick=akiress
+
|Geoloc=30.3058611, -90.9723583
+
|Location name=Prairieville, Louisiana, United States of America
+
|Roles={{Role
+
|Role type=User
+
|Role desc=User
+
|Start date=2010/11/01
+
}}
+
|Maintains=
+
|Blogs=
+
}}
+
== Biography ==
+
36 years old, spending 16 years of that life as a construction worker. Back in school now, junior at university studying Computer Science, Psychology, and Digital Media. Main interests lie in Human-Computer Interaction and Artificial Intelligence. Plan to stay in academia and earn a PhD.
+
  
== Linux ==
+
''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.
I began attempting to install Gentoo on my desktop around 2003.  Unfortunately, after several days of compiling, I would always have a mistake somewhere and could never get Gentoo installed.  I then moved on to Archlinux and Vector Linux, both of which hated my computer and refused to even install (mostly due to my lack of knowledge of Linux at the time).  I ended up installing Ubuntu and began learning Linux.  Over the years I would constantly switch between Ubuntu and any other distro that I could get installed.  Around 2007 or so, I installed Sabayon and used it as my primary OS for quite a few months. In 2008, I made the switch to Archlinux.  I also installed Gentoo and ran a triple boot system with XP, Arch, and Gentoo.  Over the last couple of years I have switched from Funtoo to Archlinux and back to Funtoo several times.  I like both distros, but I finally settled on Funtoo in the last year and use it as my main OS.
+
  
== Programming ==
+
''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.
C/C++
+
Java
+
Python
+
  
== Website ==
+
''Another priority of Xfce is adhereance to standards, specifically those defined at [http://freedesktop.org/ freedesktop.org]. <ref>http://www.xfce.org/about/</ref>
akiress.org
+
  
[[https://github.com/akiress My Github]]
+
== Installation ==
 +
 
 +
Before emerging Xfce you need to:
 +
 
 +
* Check that you have enabled the USE flags necessary for a desktop environment. You can either [[Funtoo_Linux_First_Steps#Changing_profile|set your profile to "desktop"]] or you can edit your <tt>make.conf</tt>:
 +
 
 +
{{File
 +
|/etc/portage/make.conf|<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:
 +
<console>
 +
# ##i##nano -w /etc/conf.d/xdm
 +
DISPLAYMANAGER="lightdm"
 +
 
 +
# ##i##rc-update add xdm default
 +
# ##i##/etc/init.d/xdm start
 +
</console>
 +
 
 +
[[Category:Desktop]]

Revision as of 00:29, February 6, 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.

Another priority of Xfce is adhereance to standards, specifically those defined at freedesktop.org. <ref>http://www.xfce.org/about/</ref>

Installation

Before emerging Xfce you need to:

  • Check that you have enabled the USE flags necessary for a desktop environment. You can either set your profile to "desktop" or you can edit your make.conf:
{{{name}}}
{{{body}}}


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:

#  emerge xfce4-meta

Running Xfce

There are several different ways to start Xfce:

  • Typing the command startxfce4 at the console.
  • Editing the .xinitrc 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 ~/.xinitrc to launch an Xfce session. The proper way to launch Xfce from the terminal is by using startxfce4.

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

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

  • XDM (x11-apps/xdm): X.Org's standard display manager.
  • LightDM (x11-misc/lightdm): A lightweight, but highly configurable display manager.
  • SLiM (x11-misc/slim): 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:

# emerge lightdm

All that's left to do now is to add the name of the display manager to /etc/conf.d/xdm, add the xdm service to the default runlevel, and start the service:

# nano -w /etc/conf.d/xdm
DISPLAYMANAGER="lightdm"

# rc-update add xdm default
# /etc/init.d/xdm start