Based on the Linux Master 2 exam syllabusReport an error
| Item | What it does | Without it |
|---|---|---|
| Window manager | Window borders, moving, resizing | You can neither move nor close windows |
| Display manager | Graphical login screen | Log in by text, then startx |
| Desktop environment | All of the above + panel, file manager, applications | Only windows appear, with no integrated environment |
The desktop environment contains the window manager. The fact that there is a containment relationship is the key to telling the three apart.
Boot complete (graphical.target)
│
▼
① Display manager starts launches the X server and draws the login screen ← GDM · SDDM · LightDM
│ enter ID and password, choose the session type
▼
② Session starts the desktop environment comes up ← GNOME · KDE · Xfce
│
├── window manager window borders and placement ← Mutter · KWin · Xfwm
├── panel · desktop background
└── file manager etc. programs the user opens ← Nautilus · Dolphin · Thunar
│
▼
③ Logout the session ends and returns to the login screen of ①| Item | When it operates | What the user sees |
|---|---|---|
| Display manager | Before login and after logout | The one login screen |
| Window manager | All the time after login | The title bar, borders, and buttons on each window |
| Desktop environment | All the time after login | The panel, menus, desktop background, and settings windows, all of it |
They handle drawing window borders, moving, resizing, and minimizing.
| Window manager | Belongs to |
|---|---|
| KWin | KDE |
| Mutter | GNOME 3 and later |
| Metacity | GNOME 2 |
| Xfwm | Xfce |
| Openbox | LXDE |
| Marco | MATE |
| Muffin | Cinnamon |
| Windowmaker | Standalone (NeXTSTEP style) |
| Afterstep | Standalone |
| Enlightenment | Standalone |
| Fluxbox, Blackbox | Standalone (lightweight) |
| FVWM, twm | Very old basics |
| Compiz | Dedicated to 3D effects |
twm (Tab Window Manager) is the simplest window manager, included with X by default.| Clue | Names that match | Note |
|---|---|---|
Ends in wm (window manager) | twm, FVWM, Xfwm, IceWM | The surest clue |
Ends in Win | KWin | KDE's window manager |
Ends in box | Openbox, Fluxbox, Blackbox | The lightweight window manager lineage |
| No clue — must be memorized | Mutter, Metacity, Marco, Muffin | All four are window managers of the GNOME lineage |
| No clue — must be memorized | Windowmaker, Afterstep, Enlightenment | Standalone window managers |
| Window manager | One-line history |
|---|---|
| Metacity → Mutter | Mutter in GNOME 3 succeeded GNOME 2's Metacity |
| Marco | The name MATE gave to what it inherited from Metacity |
| Muffin | The name Cinnamon gave to what it inherited from Mutter |
| Windowmaker · Afterstep | Both imitate the look of NeXTSTEP — that is why they appear together |
| Fluxbox | Built on top of Blackbox |
| FVWM | Split off from twm |
MATE is a desktop environment. In a set of choices like Metacity · Mutter · Marco · MATE, the odd one out is MATE.They handle the graphical login screen that appears after boot. When login succeeds, they start the session.
| Display manager | Belongs to |
|---|---|
| XDM | The default of the X Window System. The simplest |
| GDM | GNOME (GNOME Display Manager) |
| KDM | The former KDE |
| SDDM | The current KDE Plasma |
| LightDM | Ubuntu, Xfce — lightweight |
| LXDM | LXDE |
startx.| Name | Full name | Additional notes |
|---|---|---|
| XDM | X Display Manager | The original, shipped with X. Almost no decoration |
| GDM | GNOME Display Manager | The current default Ubuntu edition also uses GNOME, so it is GDM |
| KDM | KDE Display Manager | Up to KDE 4 |
| SDDM | Simple Desktop Display Manager | Took KDM's place from KDE Plasma 5 |
| LightDM | (Light + DM) | A lightweight one not tied to any particular desktop. Common in the Xfce family and was the default of older Ubuntu |
systemctl status display-manager.They bundle a panel, file manager, settings tools, and default applications on top of the window manager and provide one integrated environment.
| Desktop environment | Toolkit | Window manager | File manager |
|---|---|---|---|
| GNOME | GTK+ | Mutter | Nautilus |
| KDE (Plasma) | Qt | KWin | Dolphin |
| Xfce | GTK+ | Xfwm | Thunar |
| LXDE | GTK+ | Openbox | PCManFM |
| LXQt | Qt | Openbox | PCManFM-Qt |
| MATE | GTK+ | Marco | Caja |
| Cinnamon | GTK+ | Muffin | Nemo |
| CDE | Motif | — | — |
| Environment | History · nature |
|---|---|
| KDE | Started in 1996. The name comes from K Desktop Environment, and today's desktop is called KDE Plasma |
| GNOME | Started in 1997. It is the desktop of the GNU project |
| Xfce | Aims to be light. It was first built with XForms and then moved to GTK+ |
| LXDE | Lightweight X11 Desktop Environment — "lightweight" right in the name |
| LXQt | LXDE rebuilt with Qt |
| MATE | Split off to carry on GNOME 2 |
| Cinnamon | Split off from GNOME 3. Made by Linux Mint |
| CDE | A standard jointly set by commercial Unix companies in the 1990s. Its window manager is dtwm |
A desktop environment has a set of default programs beyond the file manager. Questions that give a purpose and ask you to pick the program come from this area.
| Purpose | GNOME side | KDE side |
|---|---|---|
| File manager | Nautilus | Dolphin (formerly Konqueror) |
| Terminal | GNOME Terminal | Konsole |
| Text editor | gedit | Kate, KWrite |
| Document (PDF) viewing | Evince | Okular |
| Image viewing | eog (Eye of GNOME) | Gwenview |
| Video playback | Totem | Dragon Player |
| Music playback | Rhythmbox | Amarok |
| Purpose | Widely used programs not tied to a desktop |
|---|---|
| Image editing | GIMP (photo editing) |
| Office | LibreOffice — Writer (documents) · Calc (spreadsheets) · Impress (presentations) · Draw (drawing) |
| Web browser | Firefox, Chromium |
| Video playback | VLC |
"Which of the following is of a different kind from the other three?"
KWin · Xfce · Windowmaker · Afterstep→ It is Xfce. The other three are window managers, and only Xfce is a desktop environment.
| When mixed, sort them like this | |
|---|---|
| KWin, Mutter, Xfwm, Windowmaker, Afterstep, Fluxbox | Window managers |
| XDM, GDM, KDM, SDDM, LightDM | Display managers (end in DM) |
| GNOME, KDE, Xfce, LXDE, MATE, CDE | Desktop environments |
| Nautilus, Dolphin, Thunar, PCManFM | File managers |
DM is a display manager is the easiest clue.When you get four names, sift them in the order below.
① Does it end in DM? → display manager (XDM · GDM · KDM · SDDM · LightDM · LXDM)
② Does it end in wm · Win · box? → window manager (twm · FVWM · Xfwm · KWin · Openbox · Fluxbox)
③ Is it GNOME · KDE · Xfce · LXDE · LXQt · MATE · Cinnamon · CDE? → desktop environment
④ Among the rest, Mutter · Metacity · Marco · Muffin · Windowmaker · Afterstep · Enlightenment · Compiz
→ window manager (names without a clue)
⑤ Nautilus · Dolphin · Thunar · PCManFM · Caja · Nemo → file manager| Choices | The odd one | Reason |
|---|---|---|
GDM · SDDM · LXDE · LightDM | LXDE | Does not end in DM — a desktop environment |
Mutter · Metacity · Marco · MATE | MATE | The rest are window managers |
Nautilus · Dolphin · Thunar · Mutter | Mutter | The rest are file managers |
GNOME · Xfce · LXDE · KDE (by toolkit) | KDE | Alone is Qt, the rest are GTK+ |
Fluxbox · Openbox · Enlightenment · LXQt | LXQt | The rest are window managers |
The window manager among KDE · KDM · KWin · Konsole | KWin | KDE is the environment, KDM is the login, and Konsole is the terminal |
Tomorrow we cover how to actually run X and bring up a remote screen.
Click a choice to reveal the answer and explanation.
Question 1
Which of the following is of a different kind from the other three?
Question 2
Which of the following is a display manager that provides the graphical login screen?
Question 3
Which of the following is the window manager used in the KDE desktop environment?
Question 4
Which of the following draws window borders and handles moving and resizing windows?
Question 5
Which of the following is the file manager used in the GNOME desktop environment?