Lxde

From campisano.org
Jump to navigation Jump to search

LXDE as desktop environment

Install LXDE

sudo apt-get install tasksel consolekit slim lxde lxtask lxlauncher system-config-printer

Configure LXDE as default env

  • A graphic login managers like slim (or xdm, lightdm, etc) can be used. They will start your session as defined in ~/.xsession file.

So, to start lxde as default desktop environment:

echo "exec startlxde" > ~/.xsession
chmod 750 ~/.xsession

LXDE keyboard layout and autostart programs

For example: (need sudo apt-get install xcompmgr gkrellm cairo-dock)

add the follow lines on top of ~/.xsession

setxkbmap br,it # for BR and IT
# nice -10 gkrellm  -w &
# nice -5 xcompmgr -n -C &
# cairo-dock &
# wicd-client -t &
# blueman-applet &
# fbpanel &
# /home/shared/opt/bin/dropbox.sh & # run dropbox

Configure PCManFm as default file manager (ex for dropbox)

xdg-mime default pcmanfm.desktop inode/directory

Power button suspend

See PowerManager

Dual monitor

See DualMonitor

Setup at startup

echo "@.screenlayout/dual.sh" >> ~/.config/lxsession/LXDE/autostart

LXDE lock screen

xscreensaver-command -lock

NOTE: can be configured as cairo-dock 'Log Out' add-on

References