LXDE, Lightweight X11 Desktop Environment, adalah sebuah lingkungan desktop yang ringan dan cepat. LXDE dirancang agar ramah bagi pengguna dan desainnya ramping, ini untuk menjaga agar penggunaan sumber daya tetap rendah. LXDE menggunakan RAM dan CPU berkemampuan rendah namun tetap kaya fitur sistem operasi. Karena penggunaan sumber daya yang rendah inilah yang membuat LXDE hemat energi.
Install input driver, sesuaikan dengan VGA laptop Anda, saya menggunakan VGA Intel :
#pacman -S xf86-video-intel xf86-input-synaptics alsa-plugins alsa-utils pulseaudio mesa mesa-demos dbus consolekit
Install sudo :
#pacman -S sudo #EDITOR=nano visudo
uncomment #%wheel ALL=(ALL) ALL menjadi %wheel ALL=(ALL) ALL
Dan rename file menjadi “sudoers” kemudian simpan.
Create your user and password user :
#useradd -m -g users -G audio,lp,optical,storage,power,video,games,network,wheel,scanner -s /bin/bash casper
Create Password User Casper
#paswwd casper
Install Xorg Server
#pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils xorg-twm xterm xorg-clock
Setelah install X, Anda dapat menjalankan tes untuk melihat X server berhasil di install :
#startx
Type “exit” untuk exit X server
Install LXDE Dekstop
#pacman -S lxde
Setelah install lxde, copy 3 files ke ~/.config/openbox
#mkdir -p ~/.config/openbox #cp /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/autostart ~/.config/openbox
Untuk pcmanfm file manager config :
#mkdir -p /usr/share/lxde/pcmanfm #cp -a /etc/xdg/pcmanfm/default/pcmanfm.conf /usr/share/lxde/pcmanfm/pcmanfm.conf
#pacman -S gamin leafpad obmenu obconf openbox-themes pyxdg epdfview volwheel networkmanager network-manager-applet gvfs gvfs-afc autofs
To see your LXDE dekstop type :
#xinit startlxde
Logout from LXDE dekstop interface. Untuk melihat Openbox Interface jalankan openbox-session
#init /usr/bin/openbox-session
Anda akan melihat blank screen, klik kanan untuk hasilnya, untuk logout pilih logout.
Untuk membuat menu ketik :
#obmenu
Anda dapat menghapus atau menambah menu sesuai dengan keinginan Anda.
Install beberapa plugins untuk DVD MP3 :
#pacman -S alsa-oss xine-lib xine-ui quodlibet
Install font :
#pacman -S ttf-dejavu ttf-ubuntu-font-family
Install Slim Login Manager
#pacman -S slim archlinux-themes-slim slim-themes
Setelah proses install selesai Anda harus melakukan konfigurasi slim, seperti dibawah ini :
1. Edit /etc/rc.conf bagian DAEMONS menjadi:
DAEMONS=(hwclock syslog-ng dbus network networkmanager netfs crond autofs alsa slim lxde)
2. Create ~/.xinitrc :
#
~/.xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
exec ck-launch-session dbus-launch startlxde
exec startlxde
Apabila .xinitrc tidak ada di sistem Anda dapat menggunakan skeleton file :
#cp /etc/skel/.xinitrc ~
Buat ~/.xinitrc excutable :
#chmod +x ~/.xinitrc
3. Edit /etc/inittab :
# # /etc/inittab # # Runlevels: # 0 Halt # 1(S) Single-user # 2 Not used # 3 Multi-user # 4 Not used # 5 X11 # 6 Reboot ## Only one of the following two lines can be uncommented! # Boot to console #id:3:initdefault: # Boot to X11 id:5:initdefault: rc::sysinit:/etc/rc.sysinit rs:S1:wait:/etc/rc.single rm:2345:wait:/etc/rc.multi rh:06:wait:/etc/rc.shutdown su:S:wait:/sbin/sulogin -p # -8 options fixes umlauts problem on login c1:2345:respawn:/sbin/agetty -8 -s 38400 tty1 linux c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux c3:2345:respawn:/sbin/agetty -8 -s 38400 tty3 linux c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux c5:2345:respawn:/sbin/agetty -8 -s 38400 tty5 linux c6:2345:respawn:/sbin/agetty -8 -s 38400 tty6 linux # Serial Virtual Console for KVM and others VMs #s0:2345:respawn:/sbin/agetty -8 -s 9600 ttyS0 linux # Hypervisor Virtual Console for Xen and KVM #h0:2345:respawn:/sbin/agetty -8 -s 38400 hvc0 linux ca::ctrlaltdel:/sbin/shutdown -t3 -r now # Example lines for starting a login manager #x:5:respawn:/usr/bin/xdm -nodaemon #x:5:respawn:/usr/sbin/gdm -nodaemon #x:5:respawn:/usr/bin/kdm -nodaemon #x:5:respawn:/usr/bin/slim >/dev/null 2>&1 x:5:once:/bin/su casper -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1" # End of file
4. Edit /etc/slim.conf :
Path, X server and arguments (if needed) # Note: -xauth $authfile is automatically appended default_path /bin:/usr/bin:/usr/local/bin default_xserver /usr/bin/X xserver_arguments -nolisten tcp vt07 # Commands for halt, login, etc. halt_cmd /sbin/shutdown -h now reboot_cmd /sbin/shutdown -r now console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console logi$ #suspend_cmd /usr/sbin/suspend # Full path to the xauth binary xauth_path /usr/bin/xauth # Xauth file for server authfile /var/run/slim.auth # Activate numlock when slim starts. Valid values: on|off numlock on # Hide the mouse cursor (note: does not work with some WMs). # Valid values: true|false hidecursor false # This command is executed after a succesful login. # you can place the %session and %theme variables # to handle launching of specific commands in .xinitrc # depending of chosen session and slim theme # # NOTE: if your system does not have bash you need # to adjust the command according to your preferred shell, # i.e. for freebsd use: # login_cmd exec /bin/sh - ~/.xinitrc %session #login_cmd exec /bin/bash -login ~/.xinitrc %session login_cmd exec /bin/zsh -l ~/.xinitrc %session # Commands executed when starting and exiting a session. # They can be used for registering a X11 session with # sessreg. You can use the %user variable # # sessionstart_cmd some command # sessionstop_cmd some command # Start in daemon mode. Valid values: yes | no # Note that this can be overriden by the command line # options "-d" and "-nodaemon" # daemon yes # Available sessions (first one is the default). # The current chosen session name is replaced in the login_cmd # above, so your login command can handle different sessions. # see the xinitrc.sample file shipped with slim sources sessions openbox # Executed when pressing F11 (requires imagemagick) screenshot_cmd import -window root /slim.png # welcome message. Available variables: %host, %domain welcome_msg Welcome to %host # Session message. Prepended to the session name when pressing F1 # session_msg Session: # shutdown / reboot messages shutdown_msg The system is halting... reboot_msg The system is rebooting... # default user, leave blank or remove this line # for avoid pre-loading the username. default_user casper # Focus the password field on start when default_user is set # Set to "yes" to enable this feature #focus_password no # Automatically login the default user (without entering # the password. Set to "yes" to enable this feature #auto_login no # current theme, use comma separated list to specify a set to # randomly choose from current_theme archlinux-darch-grey # Lock file lockfile /var/lock/slim.lock # Log file logfile /var/log/slim.log
Finally, restart sistem Anda, mohon maaf bila ada kekurangan, semoga bermanfaat.










