← 返回命令列表

Linux command

spectacle 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Take screenshot

spectacle

Capture full screen

spectacle -f

Capture active window

spectacle -a

Capture rectangular region

spectacle -r

Capture window under cursor

spectacle -u

Capture after delay

spectacle -d [5]

Save to file

spectacle -b -o [screenshot.png]

Copy to clipboard

spectacle -b -c

说明

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.

参数

-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

FAQ

What is the spectacle command used for?

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.

How do I run a basic spectacle example?

Run `spectacle` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -f, --fullscreen do in spectacle?

Full screen capture.