How to Screen Record on Linux in 2026 (Ubuntu, Fedora, Debian, Arch)
Recording video on desktop Linux has evolved significantly over recent distribution releases. Where users previously contended with broken X11 screen scrapers and unstable PulseAudio loopbacks, modern Linux distributions have standardized on Wayland display servers and the PipeWire multimedia subsystem.
However, Wayland's security architecture restricts applications from reading screen contents belonging to other processes without explicit compositor permission. This guide breaks down the underlying display architecture, details the best utilities for both Wayland and X11, and demonstrates how to configure hardware acceleration and audio routing on Ubuntu, Fedora, Debian, and Arch Linux.
Technical Overview: Wayland, X11, and PipeWire
Before selecting a recording application, it is important to identify your session display server by running:
echo $XDG_SESSION_TYPE
The Wayland Capture Pipeline
Under X11, any client application could query the X root window and capture all desktop pixels. While simple, this presented major security risks (any background process could record passwords or banking sessions).
Wayland isolates every window into a separate memory buffer managed by the compositor (Mutter on GNOME, KWin on KDE Plasma). To enable screen capture under Wayland, distributions rely on:
- XDG Desktop Portal (
xdg-desktop-portal): A D-Bus interface that requests screen recording permissions from the user via a native OS modal. - PipeWire: A low-latency multimedia routing framework that delivers video streams from the compositor to the recording application via shared memory (
shm) or DMA buffers (dma-buf).
If you encounter black screens or capture dialogs that refuse to open, verify that the appropriate portal backend is active for your desktop:
# Verify portal processes
systemctl --user status xdg-desktop-portal
Screen Recording Tools Comparison
| Utility | Display Server | Audio Capture Capabilities | Default Video Container | Recommended Use Case |
|---|---|---|---|---|
| GNOME Native Recorder | Wayland / X11 | Microphone / Desktop (Distro dependent) | WebM (VP8/VP9) | Instant screen grabs, zero configuration |
| OBS Studio | Wayland (PipeWire) / X11 | Full Multi-Track (Desktop + Mic) | MKV / MP4 (Remuxable) | Tutorials, gaming, streaming, multi-source |
| Kooha | Native Wayland (GTK4) | Microphone + Desktop Audio | WebM, MP4, MKV, GIF | Clean desktop capture with custom FPS |
| SimpleScreenRecorder | X11 Only | System Audio + Mic (PulseAudio/ALSA) | MP4, MKV | Older machines, lightweight X11 desktops |
1. Built-in GNOME Screen Recorder (Zero-Install Solution)
If you are running Ubuntu 22.04+, Fedora Workstation, or any modern distribution with GNOME 42 or newer, a native recording tool is integrated directly into the desktop shell.
How to Trigger the Capture UI:
- Press the Print Screen (
PrtSc) key on your keyboard, or pressCtrl+Alt+Shift+R. - Toggle the camera icon at the bottom of the screen from Photo to Video.
- Choose your capture scope:
- Selection: Drag a custom bounding box around a specific screen region.
- Screen: Record an entire monitor.
- Window: Record a specific application window.
- Click the orange circular Record button to start capturing.
- A red recording pill icon appears in the top system bar. Click this pill to stop the recording.
Storage Location & Codecs
Recordings are automatically saved to your ~/Videos/Screencasts folder as high-efficiency WebM files. The GNOME shell uses GStreamer pipelines under the hood. Note that the native GNOME recorder is intended for rapid documentation and does not provide audio mixing filters, webcam overlays, or pause/resume functionality.
2. OBS Studio (Best for Advanced Video, Audio & Gaming)
For multi-source video capture, long-form webinars, and gaming sessions, OBS Studio is the most powerful tool available on Linux.
Installation Across Distributions
Ubuntu / Debian via Official PPA
sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt update
sudo apt install obs-studio
Fedora Workstation via DNF
sudo dnf install obs-studio
Arch Linux / Manjaro via Pacman
sudo pacman -S obs-studio
Universal Flatpak via Flathub (Recommended for Distro Isolation)
flatpak install flathub com.obsproject.Studio
Configuring PipeWire Capture on Wayland
- Launch OBS Studio.
- In the Sources dock, click the
+icon. - Select Screen Capture (PipeWire) or Window Capture (PipeWire).
- When prompted by the system desktop portal, select the display or window you want to share and click Allow.
- To capture internal desktop audio, add an Audio Output Capture (PulseAudio/PipeWire) source and select your primary output device.
Hardware Acceleration (VA-API and NVENC)
To prevent dropped frames during high-bitrate recording, configure GPU hardware encoding in OBS:
- Navigate to Settings > Output and change Output Mode to Advanced.
- Under the Recording tab, set Video Encoder to:
- FFmpeg VAAPI (for Intel QuickSync and AMD Radeon GPUs).
- NVENC (AV1 or H.264) (for Nvidia GPUs with proprietary drivers).
- If VA-API fails to initialize, ensure your Linux user account has permissions for the GPU rendering nodes:
sudo usermod -aG render,video $USER
(Log out and log back in for group changes to take effect).
For an in-depth review of OBS Studio's encoding pipelines, consult our OBS Studio Review 2026.
3. Kooha (Best Modern GTK4 Wayland Recorder)
Kooha is a sleek, minimalistic screen recording application designed specifically for the modern Linux desktop using GTK4 and Libadwaita. It bridges the gap between the simple GNOME recorder and the complex OBS Studio interface.
Features
- Native Wayland desktop portal integration.
- Ability to record to MP4, WebM, MKV, or animated GIF.
- Easy toggles for capturing desktop audio, microphone audio, and mouse pointer visibility.
- Configurable delay timer (e.g., 3-second countdown before recording begins).
Installing Kooha via Flatpak
flatpak install flathub io.github.seadve.Kooha
4. SimpleScreenRecorder (Best for Legacy X11 Systems)
If you are running an older distribution, a lightweight window manager (XFCE, Openbox, i3, bspwm), or an X11-based workflow, SimpleScreenRecorder (SSR) provides exceptional performance with minimal CPU footprint.
Important Compatibility Notice
SimpleScreenRecorder relies on direct X11 shared memory (XShm) and does not work natively on Wayland. Running it under XWayland will only record applications running inside the XWayland compatibility layer.
Installation
# Ubuntu / Debian
sudo apt install simplescreenrecorder
# Fedora
sudo dnf install simplescreenrecorder
Recommended Settings for Low-End Hardware
- Video Input: Record a fixed rectangle or full screen.
- Frame Rate: 30 FPS for standard desktop software, 60 FPS for gameplay.
- Video Codec: H.264 using the
ultrafastorveryfastpreset with a Constant Rate Factor (CRF) of 23. - Audio Codec: AAC or uncompressed PCM.
Audio Routing: Solving Silent Desktop Recording
A common issue on Linux is capturing microphone audio while desktop sound remains absent. Modern distributions use PipeWire with the WirePlumber session manager to route audio streams.
Inspecting PipeWire Audio Nodes
To inspect active audio endpoints and verify that your recording software is receiving an audio stream, install pavucontrol (PulseAudio Volume Control):
sudo apt install pavucontrol # Debian/Ubuntu
sudo dnf install pavucontrol # Fedora
- Open PulseAudio Volume Control (
pavucontrol). - Start your recording session in OBS or your chosen capture utility.
- Open the Recording tab in
pavucontrol. - Locate your recording application and verify that its input stream is mapped to Monitor of [Your Output Device] (for internal system audio) rather than a muted hardware channel.
Summary & Recommendations
- For instantaneous screen captures without installing extra software: Use the GNOME Built-in Recorder (
PrtScorCtrl+Alt+Shift+R). - For clean UI, custom framerates, and easy GIF creation on Wayland: Install Kooha via Flathub.
- For multi-track audio, game capture, webinars, and streaming: Install OBS Studio and configure the PipeWire capture source.
- For legacy hardware running an X11 desktop environment: Run SimpleScreenRecorder.
For complete setup instructions specifically for configuring OBS Studio on Linux, see our OBS Studio Linux Setup Guide. To compare OBS against Windows alternatives, see our OBS Studio vs ShareX comparison.
Frequently Asked Questions
Why does OBS Studio show a black screen on Wayland?
A black screen in OBS on Wayland typically occurs when users attempt to add a legacy "Screen Capture (X11)" source instead of a Screen Capture (PipeWire) source. Always use the PipeWire source on Wayland sessions.
Where does Ubuntu save built-in screen recordings?
The built-in GNOME desktop recorder automatically saves completed recordings to your user directory at ~/Videos/Screencasts.
Can I record 60fps video on Linux without a dedicated GPU?
Yes. Using modern integrated Intel (Iris Xe / UHD) or AMD (Radeon Vega / RDNA) graphics, hardware-accelerated VA-API encoding offloads video compression from the CPU, allowing smooth 1080p 60fps recording even on lightweight laptops.