LXDE

This guide introduces the user to LXDE, explains its components, and leads the user through the installation.

What is LXDE?
After installing a base Gentoo system, and the X server, there are many choices to consider regarding which graphical environment will be best to use. There are many options available, ranging from minimalistic window managers like Openbox, to full-featured desktop environments like KDE, and GNOME.

Some users might like having a lightweight graphical environment, but do not wish to install and configure every component individually like with Openbox. For quite some time users in this position would install Xfce because it fit the description of a lightweight environment and came with a suite of lightweight applications. While Xfce provides a full-featured environment without the extensive resource usage of KDE or GNOME, it has the potential to lean towards the heavy side. At last an alternative to Xfce has been created: the Lightweight X11 Desktop Environment, or LXDE for short.

Components of LXDE
LXDE, being a desktop environment, is comprised of several components. Each program offers a certain functionality; together they form a complete desktop environment. Currently there are eleven core components and several other programs necessary to make a complete LXDE installation. These programs are the ones pulled in by the package, discussed in the following installation section.

Additional applications LXDE can use

 * Text Editors:
 * LXDE Display Manager:

Installation
After the X server has been emerged and configured, LXDE is ready to be installed. While each component can be installed individually, the more efficient and typically preferred method is to emerge the meta package set:

Upon review of the emerge command's output (if the current set of USE flags looks good, etc.) enter "yes" when prompted to emerge the packages. Just like with other desktop environments, the X Server must be told to load LXDE automatically. This is done by adding it to user's file.

This will automatically start a LXDE session when the startx command is typed at the console.

GTK icon warning
Now that the X server knows to start LXDE type in  to fire up LXDE. The first thing that may appear is a warning about an improper GTK icon set. To fix this minor hangup change the icon theme. Click on the LXDE application menu (in the lower left-hand corner of the panel), and navigate to -->. In the menu, click on the  tab, and choose nuoveXT.2.2. Click and then click. The next time a user logs in to LXDE the error message will not appear. Users are not limited to using the nuoveXT.2.2 icon theme. They may install any other icon theme through LXappearance. When other icon themes are selected the GTK icon warning will no longer appear when starting PCManFM.

Right-click menu
In LXDE, every appearance option is not handled through LXappearance as one might believe. Rather, there are some common options that are handled through a right-click menu on the desktop. At the bottom of that menu is the "Desktop Settings" menu. Here users can find icon sizes, single-click and double-click behavior, maximum thumbnail size, and desktop wallpaper settings. It may behoove one to look through the these tabs for additional appearance settings. It can be quite confusing.

Taking screenshots with xwd
There are many ways to take screenshots in LXDE, but all methods require some work in order for them to operate as desired. The solution below uses xwd to capture screenshots, imagemagick convert to save them to png, and notify-send to send a notification to desktop.

See, ,.

It will place the screenshots in

First create key bindings:

Then create and make executable the following simple script:

lxpanel crashes when trying to "run" command
If lxpanel crashes when using (Alt+F2) or selecting "Run..." from the menu, you need to upgrade some components.

1. Add the following keywords:

2. Remove the old libfm as it will cause circular dependency errors

3. Update lxpanel, menu-cache and libfm-extra

External resources
Though this guide will help users get LXDE installed the documentation does not stop here. There are many resources available regarding the various facets of the Lightweight X11 Desktop Environment. Some additional resources are listed below:


 * On the Official LXDE website information can be found regarding the LXDE developmental progress, a community of support, and recommend system specifications.
 * The LXDE wiki contains instructions on customizing the LXDE installation, including keyboard layouts, autostarting applications, changing the default window manager, and much more.