How to copy a screenshot to the clipboard on Linux
On GNOME, press Ctrl + Print Screen for the whole screen or Ctrl + Shift + Print Screen for an area, then paste with Ctrl+V. Other desktops need a small setting or a tool, covered below.
Linux has no single screenshot tool, so the steps depend on your desktop. Pick the section that matches yours.
GNOME (Ubuntu, Fedora)
GNOME has clipboard shortcuts built in. Hold Ctrl together with the usual screenshot key:
- Ctrl + Print Screen: copy the whole screen
- Ctrl + Alt + Print Screen: copy the current window
- Ctrl + Shift + Print Screen: drag to select an area and copy it
Then click into your app and press Ctrl+V. Plain Print Screen opens the capture tool and saves a file instead. Shortcuts can differ slightly between versions, so check Settings, Keyboard, Shortcuts if one does not work.
KDE Plasma (Spectacle)
Spectacle can copy to the clipboard automatically.
- Open Spectacle and go to its settings.
- In the options for saving, turn on copying the image to the clipboard after capture.
- Press Print Screen, take your capture, and paste with Ctrl+V.
You can also copy from the editor window after capturing.
Flameshot (works on many desktops)
Flameshot is a free, open source tool that is especially popular on Linux. It lets you annotate and pixelate right on the selection.
- Run flameshot gui or bind it to a shortcut.
- Drag over the area you want.
- Add arrows, boxes or pixelation if needed.
- Press Ctrl+C to copy the result.
It does not do scrolling capture or screen recording.
Command line
If you prefer a terminal or want a custom shortcut, pipe a capture into a clipboard tool. The right pair depends on whether you use X11 or Wayland:
- X11: maim -s | xclip -selection clipboard -t image/png
- Wayland: grim -g "$(slurp)" - | wl-copy
Bind one of these to a key in your desktop settings and you have a one-press copy. You may need to install the tools from your package manager first.
Blur and share with ShotBox
Once the image is on the clipboard, ShotBox is a quick way to clean it up and share it. It runs in any browser, with nothing to install.
- Open ShotBox and press Ctrl+V.
- Use pixelate blur on private details. Crop, arrow, box, pen, highlighter and text are also there.
- Upload to get a long random private link, copied automatically. It is not listed and not indexed.
- Set it to expire after 1 hour, 1 day, 7 days or 30 days, or delete it whenever you like.
Camera and GPS (EXIF) data are removed from every image, and there are no ads or tracking cookies. You can also copy the image, use a QR code, or grab Markdown, HTML or BBCode embed codes.
To keep a local copy of everything, ShotBox offers "Save all screenshots to a folder" in Chrome and Edge, or a small sync script for Windows, Mac and Linux.
What ShotBox does not do
ShotBox is a web app, so it cannot capture with a desktop hotkey. Use your system shortcut first, then paste. It also cannot capture scrolling pages, record the screen or read text from images. For recording, try the built-in GNOME screencast tool or OBS Studio. For scrolling capture, try a browser extension.
Frequently asked questions
What is the shortcut to copy a screenshot on Ubuntu?
On GNOME, Ctrl + Print Screen copies the full screen, Ctrl + Shift + Print Screen copies a selected area, and Ctrl + Alt + Print Screen copies the current window.
How do I copy a screenshot on KDE?
Open Spectacle's settings and enable copying to the clipboard after capture. You can also copy from its editor after taking the shot.
Can I copy a screenshot from the terminal?
Yes. On X11 use maim with xclip, and on Wayland use grim with slurp and wl-copy. Install them from your package manager if needed.
Which tool lets me blur on Linux?
Flameshot can pixelate right on the selection. You can also paste the image into ShotBox in your browser and use its pixelate blur.
Can ShotBox capture with a hotkey on Linux?
No. It is a web app. Capture with your system shortcut, then paste into ShotBox with Ctrl+V.