The Desktop Environment
The Desktop Environment#
Concepts#
What Is a Desktop Environment?#
A desktop environment (DE) is the graphical interface that lets you interact with Linux using a mouse, windows, icons, and menus — similar to what you are used to on Windows or macOS. Unlike those systems, Linux lets you choose your desktop environment. The most common ones are:
| Desktop Environment | Style | Resource Usage | Used By Default In |
|---|---|---|---|
| GNOME | Modern, minimal, activity-based | Medium-high | Ubuntu, Debian (default option), Fedora |
| KDE Plasma | Feature-rich, Windows-like | Medium | Kubuntu, KDE Neon, Fedora KDE |
| XFCE | Lightweight, traditional | Low | Xubuntu, MX Linux |
| Cinnamon | Traditional, Windows-like | Medium | Linux Mint |
Both Ubuntu 24.04 and Debian 12 use GNOME as the default desktop. Ubuntu ships a slightly customized version (orange theme, a dock on the left side). Debian ships a more “vanilla” GNOME.
This lesson covers GNOME, since that is what you will see after a fresh install of either distro.
The GNOME Desktop — Key Components#
When you log in, you see the desktop. Here is what is on screen:
-
Top Bar — Spans the full width at the top.
- Activities button (top-left corner) — opens the Activities Overview.
- Clock and calendar (center) — click to see a calendar and notifications.
- System menu (top-right) — Wi-Fi, Bluetooth, volume, power, settings, lock, log out.
-
Activities Overview — Press the
Superkey (Windows key) or click “Activities” to open it.- Search — Start typing to search for applications, files, and settings.
- Application grid — Click the grid icon (bottom of the dash) to see all installed applications.
- Workspaces — Virtual desktops shown on the right side. You can drag windows between them.
-
Dash / Dock — A strip of favorite application icons.
- Ubuntu: A dock on the left side, always visible by default.
- Debian: The dash only appears in the Activities Overview (unless you install an extension).
-
File Manager — Called Nautilus (or “Files”). Works like Windows Explorer or macOS Finder.
-
Settings — Accessed from the system menu (top-right gear icon) or by searching “Settings.”
Essential Keyboard Shortcuts#
| Shortcut | Action |
|---|---|
Super |
Open Activities Overview / search |
Super + A |
Show all applications |
Alt + Tab |
Switch between open applications |
Super + Arrow Left/Right |
Snap window to left/right half of screen |
Super + Arrow Up |
Maximize window |
Super + Arrow Down |
Restore/minimize window |
Ctrl + Alt + T |
Open a terminal (Ubuntu default) |
Super + L |
Lock the screen |
Super + D |
Show desktop (minimize all windows) |
Debian note:
Ctrl + Alt + Tmay not open a terminal by default on Debian’s GNOME. You can set it up in Settings → Keyboard → Keyboard Shortcuts → Custom Shortcuts, or open a terminal from the Activities Overview by searching “Terminal.”
File Manager Basics#
The Files application (Nautilus) provides a graphical way to browse your files:
- Home folder — Your personal directory (
/home/yourusername/). This is where your documents, downloads, and configuration files live. - Sidebar — Quick access to Home, Desktop, Documents, Downloads, Music, Pictures, Videos, Trash, and mounted drives.
- Hidden files — Files and folders starting with
.are hidden by default. PressCtrl + Hto toggle visibility. - Path bar — Click the breadcrumb path at the top to navigate. Press
Ctrl + Lto type a path directly.
Installing Additional Software (GUI)#
Both Ubuntu and Debian provide a graphical software center:
- Ubuntu: “Ubuntu Software” (actually the Snap Store, backed by
snap) - Debian: “GNOME Software” (backed by
aptand optionally Flatpak)
You can browse categories, search for applications, and install them with a click. Behind the scenes, these tools use the same package managers you will learn to use from the command line in Module 04.
Lab#
Exercise 1: Explore the Desktop#
- Log into your Ubuntu or Debian VM.
- Press the
Superkey to open the Activities Overview. - Type “Files” and press Enter to open the file manager.
- Navigate to your Home folder. Note the standard folders: Desktop, Documents, Downloads, Music, Pictures, Videos.
- Press
Ctrl + Hto show hidden files. You should see files like.bashrc,.profile, and folders like.config/. PressCtrl + Hagain to hide them.
Exercise 2: Workspaces#
- Press
Superto open Activities. - On the right side, you should see your current workspace and an empty workspace below it.
- Open the file manager on workspace 1.
- Drag it to workspace 2 in the overview, or press
Super + Shift + Page Downto move the current window to the next workspace. - Click workspace 1 (now empty) and open a different application (e.g., search for “Text Editor”).
- Use
Super + Page Up/Super + Page Downto switch between workspaces.
Exercise 3: Window Snapping#
- Open the file manager.
- Press
Super + Left Arrow— the window snaps to the left half of the screen. - Press
Super + Right Arrow— it snaps to the right half. - Press
Super + Up Arrow— it maximizes. - Press
Super + Down Arrow— it restores to the original size.
Exercise 4: Open a Terminal#
- Press
Ctrl + Alt + T(Ubuntu) or pressSuper, type “Terminal”, and press Enter (both distros). - A terminal window opens. You will spend most of this course here.
- Type
echo "Hello, Linux!"and press Enter. The text appears below. - Type
exitand press Enter to close the terminal.
Exercise 5: Change a Setting#
- Open Settings (click the system menu in the top-right → gear icon, or search “Settings”).
- Go to Appearance:
- Ubuntu: Try switching between Light and Dark style.
- Debian: Try changing the background wallpaper.
- Go to Displays and check your screen resolution. If using VirtualBox with Guest Additions, try resizing the VM window — the resolution should adapt automatically.
Review#
1. What is a desktop environment, and how does it differ from the Linux kernel?
A desktop environment is the graphical interface (windows, menus, icons) that lets you interact with the system visually. The kernel manages hardware resources underneath. The DE is an application that runs on top of the kernel and other system software.
2. What desktop environment do both Ubuntu 24.04 and Debian 12 use by default?
GNOME. Ubuntu ships a customized version with a visible dock, while Debian ships a more standard (“vanilla”) GNOME.
3. How do you open the Activities Overview?
Press the Super key (Windows key), or click “Activities” in the top-left corner of the screen.
4. What keyboard shortcut opens a terminal on Ubuntu?
Ctrl + Alt + T. On Debian, this may not be configured by default — you can open a terminal by pressing Super, typing “Terminal”, and pressing Enter.
5. How do you show hidden files in the GNOME file manager?
Press Ctrl + H. Hidden files and folders are those whose names start with a dot (.).
6. What is the difference between the software center on Ubuntu and Debian?
Ubuntu’s “Ubuntu Software” is primarily the Snap Store (uses snap). Debian’s “GNOME Software” is backed by apt (and optionally Flatpak). Both provide a graphical way to install applications.
Previous: Installing Linux | Next: The Terminal