#### Beyond Linux® From Scratch (systemd Edition) - Version 10.1

### Chapter 37. LXDE Desktop

- Prev

  LXSession-0.5.5

- Next

  LXDE Applications

- Up
- Home

# lxde-common-0.99.2

## Introduction to LXDE Common

The LXDE Common package provides a set of default configuration for LXDE.

This package is known to build and work properly using an LFS-10.1 platform.

### Package Information

- Download (HTTP): https://downloads.sourceforge.net/lxde/lxde-common-0.99.2.tar.xz

- Download MD5 sum: 14a9d19c4576dc15d985453ccb8ca9f6

- Download size: 869 KB

- Estimated disk space required: 2.7 MB

- Estimated build time: less than 0.1 SBU

### LXDE Common Dependencies

#### Required

lxde-icon-theme-0.5.1, LXPanel-0.10.1, LXSession-0.5.5, openbox-3.6.1 (runtime), and PCManFM-1.3.2

#### Recommended

desktop-file-utils-0.26, hicolor-icon-theme-0.17, and shared-mime-info-2.1

#### Optional Runtime Dependencies

A notification daemon such as notification-daemon-3.20.0 or xfce4-notifyd-0.6.2, and a display manager such as lxdm-0.5.3 or lightdm-1.30.0

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/lxde-common

## Installation of LXDE Common

Install LXDE Common by running the following commands:

    ./configure --prefix=/usr --sysconfdir=/etc &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    make install

If you have installed recommended dependencies, run the following commands as the `root` user:

    update-mime-database /usr/share/mime &&
    gtk-update-icon-cache -qf /usr/share/icons/hicolor &&
    update-desktop-database -q

## Starting LXDE

You can start LXDE from runlevel 3, using xinit-1.4.1, or from runlevel 5, using a Display Manager, such as lxdm-0.5.3.

To start LXDE using xinit-1.4.1, run the following commands:

    cat > ~/.xinitrc << "EOF"
    # No need to run dbus-launch, since it is run by startlxde
    startlxde
    EOF

    startx

The X session starts on the first unused virtual terminal, normally vt7. You can switch to another vtn simultaneously pressing the keys Ctrl-Alt-Fn (n=1, 2, ...). To switch back to the X session, normally started at vt7, use Ctrl-Alt-F7. The vt where the command startx was executed will display many messages, including X starting messages, applications automatically started with the session, and eventually, some warning and error messages. You may prefer to redirect those messages to a log file, which not only will keep the initial vt uncluttered, but can also be used for debug purposes. This can be done starting X with:

    startx &> ~/.x-session-errors

When shutting down or rebooting, the shutdown messages appear on the vt where X was running. If you wish to see those messages, simultaneously press keys Alt-F7 (assuming that X was running on vt7).

## Contents

Installed Programs: lxde-logout, openbox-lxde and startlxde
Installed Libraries: None
Installed Directories: /etc/xdg/{lxpanel,lxsession,openbox,pcmanfm}/LXDE and /usr/share/lxde

### Short Descriptions

lxde-logout | is used to quit the desktop session for LXDE
openbox-lxde | is a wrapper script which runs Openbox with LXDE specific config file
startlxde | is used to start the desktop session for LXDE

Last updated on 2021-02-22 22:41:44 -0800

- Prev

  LXSession-0.5.5

- Next

  LXDE Applications

- Up
- Home