Från LXDE.org
Version från den 6 januari 2009 kl. 15.51 av Brother (Diskussion | bidrag) (Configuration for Login Managers)
Hoppa till: navigering, sök

Ubuntu variants with LXDE pre-installed

If you are installing Ubuntu + LXDE on a new machine. There are some existing Ubuntu-based distros using LXDE. Maybe you can try them first.

Install from APT repository

    • Special note:

LXDE desktop has been added to Ubuntu intredpid repositories. No editing of sources are needed. Simply install the cli-only from the server, alt, or net installer, then sudo apt-get install lxde will install with GDM

We provide packages for LXDE in our own Launchpad PPA repository maintained by michael-r and paulliu. Please add those lines to your /etc/apt/sources.list, or using Synaptic, and add this repository.

 deb http://ppa.launchpad.net/lxde/ubuntu hardy main
 deb-src http://ppa.launchpad.net/lxde/ubuntu hardy main  

Packages for Ubuntu Gutsy are also provided. Just replace "hardy" with "gutsy". For Intrepid try using the hardy repositories.

After adding our repository, execute the following commands.

sudo aptitude update
sudo aptitude install lxde


Hanterare för inlogging


Kräver inga särskilda inställningar, LXDE ska finnas som val i lista över fönsterhanterare. Saknas LXDE kan det krävas att du startar om gdm eller kdm.


Denna inloggningshanterare kräver en del manuellt hanterade inställningar. Läs mer i deras dokumentation (på engelska) och skapa din /etc/slim.conf och ~/.xinitrc. I ~/.xinitrc ska LXDE startas med:

exec startlxde

Utan inloggningshanterare, använd startx

Kör följande kommando med administrationsrätt:

sudo update-alternatives --config x-session-manager

Välj sedan startlxde för att nästa gång starta LXDE med kommandot startx.

Configuration for locales and input method

  • GDM or KDM: Setting locale is not needed. Input method can be specified by im-switch.
  • SLIM: put this in your ~/.xinitrc before "exec startlxde" to set locales.

zh_TW.UTF-8 (traditional Chinese, Taiwan) is my locale, please replace it with yours.

export LC_ALL=zh_TW.UTF-8
export LANGUAGE=zh_TW.UTF-8
export LANG=zh_TW.UTF-8

If you need to use input method, add those lines, too. Please refer to the document of your input method. Here I use scim for example. (FIXME: Maybe we can use some im-switch compatible way here. Anyone know how to do it please fix this)

export GTK_IM_MODULE=scim
export QT_IM_MODULE=xim
scim -d

Minimal Ubuntu + LXDE Installation

  • Install Ubuntu base system with Ubuntu Alternate installer CD, and only install a command line-based system (Server without all the internet services). Some user suggested that you can install xubuntu and remove xfce after installing LXDE. However, install from base system is recommended. Ask on Ubuntuforms if you got problems regarding to this. There are some related articles on the forum.

Only install the base system. Then, add our preceding repository, and do this:

sudo aptitude update
sudo aptitude install lxde