Core LXDE not recommended for laptops. In my case, LXDE is installed on a work station with fixed displays. Network is local on eth0
via the TRENDnet TEW-647GA wireless adapter.
Even though Lean LXDE and Lean GNOME both install a basic, minimal desktop, keep in mind that LXDE is much lighter than GNOME. Choose LXDE if you want a super lean desktop, if you don’t mind manually installing and setting up additional packages on top of LXDE (which can be challenging), and if you don’t care much about the visual appeal. On the other hand, GNOME provides many of the packages such as pulse audio, a display manager, a wireless network manager, a PDF viewer right out of the box. You will find that most of them will be needed at some point and need to be installed anyways.
Before you start, make sure you don’t already have a desktop installed. Follow instructions on Manual Install. There, when you choose “Expert Install”, you will have the option to not to install any default desktop environment. This allows us to install a bare minimum desktop based on LXDE here.
sudo apt-get install lightdm
sudo apt-get install lightdm
to install the light-weight display manager. This installs 166 new packages including the X server drivers, acl, dbus, lightdm, lightdm-gtk-greeter.tty1
to install LXDE (see blow).sudo apt-get install lxde-core lxtask
tty1
.sudo apt-get install lxde-core
.sudo reboot
and now should be able to login to the desktop.lxtask
. I have to manually install it sudo apt-get install lxtask
.sudo apt-get install lxrandr
A very simple desktop GUI for managing multiple displays. Helpful if the external monitors are not fixed (e.g. on a laptop).
Fix the keyring configurations by appending LXDE
.
/etc/xdg/autostart/gnome-keyring-*.desktop
OnlyShowIn=GNOME;Unity;
append LXDE;
sudo reboot
and make sure the daemon runs ps aux | grep keyring
~/.config/lxterminal/lxterminal.conf
.sudo vi /usr/share/applications/lxterminal.desktop
.Exec=lxterminal
to Exec=lxterminal --geometry=155x50
.Environment
LXTerminal is a non-login shell. The start-up script is ~/.bashrc
, not ~/.bash_profile
. For example, the PATH
variable should be modified in ~/.bashrc
(see the java page for examples). However, to be consistent with the login shells, include ~/.bashrc
in ~/.bash_profile
. There is also ~/.profile
, which is for the generic shell sh
(bash
is a specific implementation of sh
). Its documentation says “~/.profile: executed by the command interpreter for login shells. This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login exists.” Also include ~/.profile
in ~/.bash_profile
. Here is what ~/.bash_profile
looks like:
if [ -r "${HOME}/.profile" ]; then
. "${HOME}/.profile"
fi
if [ -r "${HOME}/.bashrc" ]; then
. "${HOME}/.bashrc"
fi
sudo apt-get install pulseaudio pavucontrol
ALSA is deprecated. Use PulseAudio instead in Debian Stretch.