Linux: How to Switch to LXDE, Xfce

By Xah Lee. Date: . Last updated: .

This page tells you how install and use another desktop environment, such as Xfce, LXDE.


LXDE is the most simple and functional desktop, and uses the least amount of memory and CPU.

LXDE is my favorite.

linux lxde screenshot 2013-06-02
Linux LXDE desk environment
# install lxde desktop
sudo apt-get install lxde lxsession

or, also install all of its light-weight apps. I recommend this:

# install full lxde environment
sudo apt-get install lubuntu-desktop

After install, just re-login. In the login panel, there's a menu to let you choose from installed Window Managers.

Note: “Lubuntu” means Ubuntu with LXDE desktop.

[see Linux: LXDE Keyboard Shortcuts]

[see Linux: LXDE/Openbox, Change Keyboard Shortcuts]


xfce desktop screenshot 2012-10-15
Xfce desktop. [see Xah Linux Box Config]
# install xfce desktop
sudo apt-get install xubuntu-desktop

“Xubuntu” means Ubuntu with Xfce desktop.

[see Linux: Xfce Keyboard Shortcuts]

How to install/switch to a different Linux desktop?

For others, do apt-cache search name to find the package name.

[see Linux: How to Install/Remove Packages]

Ubuntu Unity

Ubuntu Unity 5.12 2012-april 2
Ubuntu's Unity 5.12 interface, as of .

Unity is a new desktop introduced in Ubuntu around 2012.

It made a significant change from the traditional desktop. Many operations has become “smart”. They also use much more memory and CPU. Often have fancy visual effects such as transparency, animation, etc.

The “smart” behavior is great for beginner. But for advanced users, it is unpredicable and annoying. So, switch to xfce or lxde.

thanks to [Casey Webster] for tips.

What is Window Manager, X11, Desktop?

The term Shell, or GUI Shell, is sometimes used to refer to a core part of Desktop Environment. Not to be confused with the command line “shell” (aka terminal, console, bash), which is a older, more widely understood, term.

What is GTK? What's qt?

GTK+ and qt are graphical user interface programing frameworks.

Almost all Linux GUI apps are written using either the GTK+ or Qt.

For most Linux GUI app, you have to check which lib it's from. For example, the apps in Ubuntu are mostly GTK+ based apps. If a GUI app says it's written in GTK+, that means you must have Gnome installed or you have to install the GTK+ lib.

Most apps from Gnome desktop are using GTK. Most apps from KDE desktop are using Qt. When a app is using GTK, it often require other libs from Gnome, but not always. Same for Qt with KDE.

What are the popular {Window Managers, Desktops} for Linux?

If you have a question, put $5 at patreon and message me.

Linux Shell Basics

  1. Get System Info
  2. Shell Basics
  3. grep, cat, awk, uniq
  4. sort
  5. find, xargs
  6. diff Files/Dir
  7. dir size: du
  8. dir tree
  9. tar gzip bzip2 xz 7zip rar zip
  10. wget, curl
  11. rsync
  12. Install Packages

Sys Admin

  1. Job Control
  2. ps
  3. top
  4. htop
  5. RAM stat
  6. Users and Groups
  7. File Permission
  8. Opened Files: lsof
  9. shutdown, sleep


  1. Bash/Terminal Keys
  2. Man Page Keys
  3. Bash Prompt Setup
  4. Bash Color Prompt
  5. .bashrc, .profile, .bash_profile
  6. Virtual Console
  7. Terminal Control Sequence Keys
  8. Ctrl+s Freeze vim
  9. Reset Terminal
  10. tmux
  11. Bash Manual in Chapters
  12. Bash Misc Tips
  13. Log Terminal Session

Linux Desktop

  1. Most Useful GUI Apps
  2. Set Default App
  3. Shell Commands for GUI Apps
  4. Image Viewers
  5. Music Players
  6. Move File to Trash by Command
  7. X11 Selection and Clipboard
  8. How to Switch to LXDE, Xfce
  9. LXDE Keys
  10. LXDE/Openbox, Change Keys
  11. LXDE Set Key Repeat Rate
  12. LXDE/OpenBox, Disable Mouse Scroll Wheel Hide Window
  13. Xfce Keys
  14. Xfce Good Themes
  15. xmonad Keybinding
  16. How to Restart X11
  17. Why Tiling Window Manager Sucks
  18. Standard Fonts
  19. How to Install Font