How To Take Screenshot Linux : Using Flameshot Annotation Tool

Capturing your screen on Linux requires knowing whether your desktop environment uses Wayland or X11. If you’ve ever wondered how to take screenshot Linux, you’re in the right place—this guide covers every method, from built-in tools to powerful command-line utilities.

Linux offers many ways to grab screenshots, but the best approach depends on your setup. Wayland and X11 handle screen capture differently, so we’ll cover both. You’ll learn keyboard shortcuts, terminal commands, and GUI tools for every major distro.

Understanding Your Display Server: Wayland Vs X11

Before taking screenshots, check which display server you’re using. This determines which tools work. Open a terminal and run:

echo $XDG_SESSION_TYPE

If it says “wayland,” you’re on Wayland. If “x11,” you’re on X11. Most modern distros like Ubuntu 22.04+ default to Wayland, while older systems use X11.

Wayland has security restrictions that prevent some traditional screenshot tools from working. But don’t worry—we’ll show you solutions for both.

How To Take Screenshot Linux Using Built-In Shortcuts

Most Linux desktop environments include built-in screenshot shortcuts. These work out of the box without installing anything. Here are the most common ones:

Gnome Desktop (Ubuntu, Fedora, Debian)

Gnome provides simple keyboard shortcuts for screenshots:

  • PrtSc – Take a screenshot of the entire screen
  • Alt + PrtSc – Capture the active window only
  • Shift + PrtSc – Select a specific area to capture
  • Ctrl + PrtSc – Copy screenshot to clipboard instead of saving

On Wayland, these shortcuts use Gnome’s built-in screenshot tool. On X11, they might use a different backend. Either way, they work reliably.

Kde Plasma (Kubuntu, Manjaro Kde)

KDE’s Spectacle tool is powerful and customizable:

  • PrtSc – Opens Spectacle for full-screen capture
  • Meta + PrtSc – Capture current window
  • Meta + Shift + PrtSc – Capture rectangular region

Spectacle lets you annotate, save to clipboard, or upload directly. It works on both Wayland and X11.

Xfce (Xubuntu, Linux Mint Xfce)

Xfce uses a simple screenshot app:

  • PrtSc – Opens the screenshot dialog
  • Alt + PrtSc – Capture active window
  • Shift + PrtSc – Capture selected area

The dialog lets you choose save location, delay, and effects like including the mouse cursor.

Command-Line Screenshot Tools For Linux

If you prefer the terminal or need automation, command-line tools are your best friend. They work in scripts and remote sessions.

Using Import (ImageMagick)

ImageMagick’s import command is a classic X11 tool. Install it with:

sudo apt install imagemagick (Debian/Ubuntu)

sudo dnf install imagemagick (Fedora)

Basic usage:

import screenshot.png

Click on a window to capture it, or drag to select an area. For full screen:

import -window root screenshot.png

Note: import only works on X11. On Wayland, it may fail or capture a black screen.

Using Scrot (X11 Only)

Scrot is a lightweight screenshot tool designed for the terminal. Install it:

sudo apt install scrot

Examples:

  • scrot screenshot.png – Full screen capture
  • scrot -s screenshot.png – Select an area
  • scrot -u screenshot.png – Capture active window
  • scrot -d 5 screenshot.png – Delay 5 seconds

Scrot is fast and simple, but again, X11 only.

Using Gnome-Screenshot (Wayland Compatible)

Gnome-screenshot works on both Wayland and X11. Install it:

sudo apt install gnome-screenshot

Commands:

  • gnome-screenshot – Opens the GUI tool
  • gnome-screenshot -f screenshot.png – Save full screen
  • gnome-screenshot -w -f window.png – Capture window
  • gnome-screenshot -a -f area.png – Select area

Add -c to copy to clipboard instead of saving.

Using Flameshot (Wayland & X11)

Flameshot is a feature-rich screenshot tool with annotation capabilities. Install it:

sudo apt install flameshot

Run it:

flameshot gui – Opens the GUI for area selection

flameshot full -p ~/Pictures – Full screen save to folder

Flameshot works on Wayland if launched with QT_QPA_PLATFORM=wayland flameshot gui. It supports drawing, blurring, and uploading.

How To Take Screenshot Linux On Wayland Specifically

Wayland’s security model blocks traditional X11 tools. Here are Wayland-native solutions:

Using Wl-Screenshooter (Sway, Hyprland)

For Wayland compositors like Sway, install wl-screenshooter:

sudo apt install wl-screenshooter

Usage:

wl-screenshooter -f screenshot.png

It captures the entire screen. For area selection, use slurp together:

wl-screenshooter -g "$(slurp)" -f screenshot.png

Using Grim + Slurp (Minimal Wayland)

Grim is a lightweight Wayland screenshot tool. Install:

sudo apt install grim slurp

Commands:

  • grim screenshot.png – Full screen
  • grim -g "$(slurp)" screenshot.png – Select area

Slurp lets you interactively select a region. This combo is popular on tiling window managers.

Using Kde Spectacle (Wayland Native)

KDE’s Spectacle works perfectly on Wayland. Install it:

sudo apt install spectacle

Run:

spectacle -b -f screenshot.png – Background full screen capture

spectacle -r -b -f region.png – Region capture

Spectacle supports annotations and is fully Wayland-compatible.

Gui Screenshot Tools For Linux

If you prefer graphical interfaces, these tools offer point-and-click simplicity.

Flameshot (Best Overall)

Flameshot is our top recommendation. It offers:

  • Area selection with crosshair
  • Drawing tools (arrows, boxes, text)
  • Blur sensitive information
  • Upload to Imgur
  • Save to file or clipboard

Install and launch from your app menu. It runs as a background service for quick access via tray icon.

Shutter (X11 Only)

Shutter is a classic tool with editing features. Install:

sudo apt install shutter

It lets you capture regions, windows, or full screen. You can add arrows, highlights, and crop. Note: Shutter doesn’t work on Wayland.

Ksnip (Wayland & X11)

Ksnip is a modern alternative that supports both display servers. Install:

sudo apt install ksnip

Features include:

  • Region, window, full screen capture
  • Annotation tools
  • Customizable save locations
  • Support for multiple monitors

It works well on Wayland with the --wayland flag.

Taking Screenshots With Delay And Timers

Sometimes you need a delay to capture menus or tooltips. Most tools support this.

Using Gnome-Screenshot With Delay

gnome-screenshot -d 5 -f delayed.png

This waits 5 seconds before capturing. Combine with -w for window capture.

Using Scrot With Delay

scrot -d 10 -c delayed.png

The -c flag shows a countdown. Useful for capturing dropdown menus.

Using Flameshot With Delay

Flameshot doesn’t have a built-in delay, but you can use sleep:

sleep 5 && flameshot gui

This gives you 5 seconds to set up the screen.

Automating Screenshots With Scripts

For repetitive tasks, create a bash script. Here’s a simple example that takes a timestamped screenshot every hour:

#!/bin/bash
while true; do
    filename="screenshot_$(date +%Y%m%d_%H%M%S).png"
    gnome-screenshot -f "$filename"
    sleep 3600
done

Save as autoscreenshot.sh, make executable with chmod +x autoscreenshot.sh, and run it in the background.

For Wayland, use grim instead:

#!/bin/bash
while true; do
    filename="screenshot_$(date +%Y%m%d_%H%M%S).png"
    grim "$filename"
    sleep 3600
done

Screenshots Of Specific Windows Or Regions

Capturing a single window is useful for tutorials. Here’s how:

Using Import (X11)

import -window $(xdotool getactivewindow) window.png

This captures the currently active window. Install xdotool if needed.

Using Gnome-Screenshot

gnome-screenshot -w -f window.png

Click on the window you want after running the command.

Using Spectacle (KDE)

spectacle -b -a -o window.png

The -a flag captures the active window.

Editing Screenshots After Capture

Many tools include basic editing. For advanced editing, use GIMP or Krita.

Using Flameshot Annotations

After capturing with Flameshot, you can:

  • Draw arrows and rectangles
  • Add text with custom fonts
  • Blur areas
  • Highlight with colors
  • Undo/redo changes

Save or copy to clipboard when done.

Using Gimp For Professional Editing

GIMP is a full-featured image editor. Open your screenshot, then:

  • Crop unwanted areas
  • Adjust brightness/contrast
  • Add layers for text
  • Export as PNG or JPEG

Install with sudo apt install gimp.

Troubleshooting Common Screenshot Issues

Sometimes screenshots don’t work as expected. Here are fixes:

Black Screen On Wayland

If you get a black screen, you’re likely using an X11 tool on Wayland. Switch to Wayland-native tools like grim, wl-screenshooter, or gnome-screenshot.

Screenshot Not Saving

Check write permissions in the target folder. Use ls -ld ~/Pictures to see permissions. If needed, change with chmod 755 ~/Pictures.

Shortcut Not Working

Verify your keyboard settings. Go to Settings > Keyboard > Shortcuts and ensure screenshot shortcuts are assigned. Some distros disable them by default.

Multiple Monitors Capturing Wrong Screen

Use area selection to choose the correct monitor. Tools like Flameshot let you drag across the desired screen.

Faq: How To Take Screenshot Linux

What is the easiest way to take a screenshot on Linux?

The easiest way is pressing the PrtSc key. On most desktops, this saves a full-screen screenshot to your Pictures folder. For more control, use Shift+PrtSc for area selection.

Can I take a screenshot on Linux without installing anything?

Yes. All major desktop environments include built-in screenshot tools. Gnome, KDE, Xfce, and Cinnamon all have pre-installed shortcuts and apps.

Why is my screenshot black on Linux?

This usually happens when using an X11 tool on Wayland. Use Wayland-compatible tools like grim, gnome-screenshot, or Flameshot with the Wayland flag.

How do I take a screenshot of a specific window in Linux?

Press Alt+PrtSc to capture the active window. Or use gnome-screenshot -w in the terminal. KDE users can use Meta+PrtSc.

What is the best screenshot tool for Linux?

Flameshot is the best overall due to its annotation features and cross-desktop support. For simplicity, built-in shortcuts work fine. For automation, use scrot or grim.

Final Tips For Screenshot Success

Always check your display server first. This saves time troubleshooting. Keep a few tools installed: one for quick captures (like PrtSc), one for annotations (Flameshot), and one for scripts (grim or scrot).

Remember that keyboard shortcuts can be customized. If the default doesn’t suit you, change it in your system settings. For example, you can set Ctrl+Shift+4 for area capture.

If you need to capture video, consider using kazam or obs-studio. But for still images, the methods above cover everything from basic to advanced needs.

Now you know how to take screenshot linux using built-in tools, terminal commands, and third-party apps. Whether you’re on Wayland or X11, Gnome or KDE, you have a solution that works. Practice with a few methods to find your favorite workflow.