LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

spectacle

KDE Plasma screenshot capture tool

TLDR

Take screenshot
$ spectacle
copy
Capture full screen
$ spectacle -f
copy
Capture active window
$ spectacle -a
copy
Capture rectangular region
$ spectacle -r
copy
Capture window under cursor
$ spectacle -u
copy
Capture after delay (in seconds)
$ spectacle -d [5]
copy
Save to file in background mode
$ spectacle -b -o [screenshot.png]
copy
Copy to clipboard in background mode
$ spectacle -b -c
copy

SYNOPSIS

spectacle [-f] [-a] [-r] [-d delay] [-o file] [options]

DESCRIPTION

spectacle is KDE's screenshot tool. It captures screen content with various options.Mode selection chooses the capture area: full screen, current monitor, active window, window under cursor, or a rectangular region.The delay option allows time to position windows or open menus before capture. Background mode enables scripted captures without showing the GUI.

PARAMETERS

-f, --fullscreen

Full screen capture.
-a, --activewindow
Active window.
-r, --region
Rectangular region.
-d, --delay SECS
Delay in seconds.
-o, --output FILE
Save to file.
-c, --clipboard
Copy to clipboard.
-b, --background
No GUI.
-u, --windowundercursor
Capture window under cursor (including pop-up parents)
-t, --transientonly
Capture window under cursor (excluding pop-up parents)
-m, --currentmonitor
Capture the current monitor
-p, --pointer
Include pointer in screenshot (background mode)
-w, --nowindow
Launch without taking a screenshot
-n, --nonotify
Suppress notification

CAVEATS

KDE/Plasma application. May not work on other desktops. Wayland has limitations.

HISTORY

Spectacle is the default screenshot application for KDE Plasma. It replaced KSnapshot with a modernized interface.

SEE ALSO

Copied to clipboard
Kai