Arch Linux

From LXDE.org
(Redirected from ArchLinux)
Jump to: navigation, search
 See the LXDE page @ Archlinux wiki for updated information 

Install LXDE with pacman

Most of the latest LXDE packages are already in extra repo of Arch Linux. The rest might be found in community/AUR.

You can add the community repo to your /etc/pacman.conf. If you have problems, read the ArchWiki. There are nice articles for pacman. For file managers to work, gamin daemon is needed.

After adding community repository, execute the following commands with root access.

pacman -S gamin lxde

If some latest packages are not available, search them in AUR with "yaourt".

Configuration for Login Managers

GDM or KDM

No manual configuration is needed. Just select LXDE from the available sessions listed by the display manager. If you don't see LXDE, restart your gdm or kdm, or reboot.

SLIM

With this display manager, some manual configuration is needed. Please refer to their official document and write your /etc/slim.conf and ~/.xinitrc. The command you should put in your ~/.xinitrc to start LXDE is:

exec startlxde

XDM

Put this line at the end of "~/.xinitrc".

exec startlxde

Be sure to comment all other entries.

No display manager, use startx

Put this line at the end of "~/.xinitrc" or "/etc/X11/Xsession".

exec startlxde

Configuration for locales and input method

  • GDM or KDM: Setting locale is not needed.
  • 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 XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
scim -d

Minimal Arch + LXDE Installation

  • Install Arch base system with Arch core installer cd.
  • Then, turn on the community repository, and do this:
pacman -S ttf-dejavu ttf-liberation ttf-bitstream-vera lxde xorg xorg-video-drivers xorg-input-drivers gamin\
gnome-icon-theme tango-icon-theme gtk-engines pm-utils udisks