Langsung ke konten utama

LXDE, Desktop Linux Yang Ringan

 

Installing to a running system

LXDE requires Debian Lenny or later editions to satisfy dependencies to libc6.

aptitude update
aptitude install lxde
Alternatively, if you want a minimal lxde without its recommended applications:


aptitude install --without-recommends lxde-core

Configuration for Reboot, Shutdown, and Suspend

On Debian, normal users by default do not have access to HAL power management. So, you need to add yourself to the group "powerdev". Otherwise, "shutdown", "suspend", "hibernate", and "reboot" won't be available when you log out LXDE.
You can do that by using the following command as root:

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

Please edit this section if you are knowledgeable about WDM.

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
http://wiki.lxde.org/en/Debian

Komentar

Postingan populer dari blog ini

Kode-Kode Tersembunyi Pada Opera Mini

Ternyata opera mini yang kita kenal ini memiliki kode-kode rahasia. Mungkin tidak banyak yang mengetahui ini (mungkin lho). Untuk menggunakannya kita tinggal memasukan kode rahasia opera mini ke dalam url lalu klik Go to. Tanpa basa-basi langsung saja intip kode-kodenya. 1. about :config Disini kita bisa mengatur : * Large placeholder for images * Fit text to screen * Loading timeout * Site patches * Keep styling in RSS feeds * Show feedindex * Fold linklist * Phonenumber detection * Minimum phone number leght * Use bitmap fonts for complex script Setelah mengubah pengaturannya jangan lupa untuk menyimpannya (Save) 2. server:version Untuk melihat info: * Server status * Cookies and state * Serverside preferences * Client info * Request headers 3. opera:about Menampilkan informasi tentang opera mini, seperti pihak ketiga. 4. opera:blank Menampilkan layar kosong. 5. opera:cache Melihat semua cache pada opera mini. 6. server:reset Menghapus cache

Membuat Game Java Snake HQ Dengan Netbeans

Bagi anda yang suka java atau iseng-iseng ingin membuat game ini ada game sederhana yang patut anda coba. Oke, kita mulai. Pertama-tama, kita tentukan sampai mana target rancangan ini diselesaikan. Kebetulan karena ini iseng-iseng, saya cuma berniat sampai animasi sederhana dan deteksi tepi area agar kalau ular tersebut sampai di tepi, bisa tembus di sisi lain. Ini belum sampai deteksi dabrakan dengan dinding, makanan (apel), maupun tabrakan antara kepala dan badan ular tersebut. Karena itu, class utama yang kita butuhkan hanya 2, yaitu untuk panel utama game dan ular yang akan berjalan. Class tambahan lain, akan dibahas kemudian. Kita mulai dari class ular. Sementara ini, attribut yang kita butuhkan hanya koordinat ular, arah ular menghadap, dan panjang maksimal (bisa fleksibel nantinya). Sedangkan behaviour yang bisa dilakukan ular antara lain adalah mengubah arah menghadap, mengupdate koordinat seluruh anggota badan setiap berjalan, termasuk untuk tembus ke sisi lai

Logo Lambang Kementerian Lingkungan Hidup dan Kehutanan

 Logo KLHK Download Logo KLHK Google Drive dan Mega