Lxde

Debian Türkiye sitesinden

6630 (Mesaj | katkılar) tarafından oluşturulmuş 16:45, 9 Şubat 2009 tarihli sürüm (Yeniden başlatma, Kapatma ve Dinlenme Yapılandırması)

Lxde logo.jpg

Hazırda çalışan bir sisteme kurulum

LXDE, Debian testing (Lenny) veya Debian kararsız'a (Sid) libc6 bağımlılığı nedeniyle ihtiyaç duyar.

aptitude update
aptitude install lxde

Alternatif olarak eğer en küçük lxde kurulumunu tavsiye edilen yazılımlar olmadan yapmak istiyorsanız:

aptitude install --without-recommends lxde

Yeniden başlatma, Kapatma ve Dinlenme Yapılandırması

Debian'da normal kullanıcılar öntanımlı olarak HAL güç yöneticisine erişemezler. Bu nedenle kendinizi "powerdev" grubuna eklemelisiniz. Aksi taktirde LXDE'den çıkarken kapat, dinlenme, uyku ve yeniden başlat modları size sunulmayacaktır.

Bunu root (yetkili kullanıcı) olarak komut satırına şu komutu vererek yapabilirsiniz:

gpasswd -a user powerdev

Configuring 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

WDM

Anyone know how to use it please edit this.

XDM

XDM reads a file called .xsession in the user's home directory to determine which window manager (resp. desktop environment) to start. As it is usually not present on a fresh Debian installation, we have to create it and put LXDE's startup command there. As an example, this is a minimal working .xsession:

#!/bin/sh
exec startlxde

No display manager, use startx

Run the following command with root access:

update-alternatives --config x-session-manager

Then choose startlxde. The next time you run startx, LXDE will be started.

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

Install to a new system

i386 or amd64

Debian uses codes for system architectures, at the official install images noted as amd64 and i386 the user can select LXDE in the menu marked "Advanced options". Use the following install images (NOTE! only the eekly and daily updated images can be used as this, the image marked RC1 does not include LXDE)

Read more in the install notes (this is for i386).

Other systems

For other architectures you have to issue a boot parameter to install LXDE as your desktop environment.

  1. Download a install image (the netinst is recomended)
  2. Issue the boot parameterdesktop=lxde
  3. Continue the install process as usual.

Read more in the install notes (this is for i386).

Lightweight systems CD

For simpler systems there is a special CD with XFCE (default) and LXDE as desktop environments, download the one for your system architecture

Before the installation starts put desktop=lxde as boot parameter to install lxde instead of xfce.

eee PC

dd if=debian-eeepc.img of=/dev/<USB-DEVICE>

Note: <USB-DEVICE> = the device, not a partition. (/dev/sdX NOT /dev/sdX1)

See also

  • At debian.org more information about the various disc images can be found.
  • Changes to the CD/DVD/Blue ray-images of Debian as of 7th of January 2009 is documented in the Debian mailing list archive
  • Sidux - a Debian Unstable based distribution with LXDE.


Kaynak