linux-screenshot

star 32

Capture screenshots on Linux using scrot or gnome-screenshot.

malue-ai By malue-ai schedule Updated 2/12/2026

name: linux-screenshot description: Capture screenshots on Linux using scrot or gnome-screenshot. metadata: xiaodazi: dependency_level: builtin os: [linux] backend_type: local user_facing: true


Linux 截图

使用 scrot 或 gnome-screenshot 截取屏幕。

命令参考

使用 scrot(通用)

# 全屏截图
scrot "/tmp/screenshot_$(date +%Y%m%d_%H%M%S).png"

# 选区截图
scrot -s "/tmp/region_$(date +%Y%m%d_%H%M%S).png"

# 延时截图
scrot -d 3 "/tmp/delayed_$(date +%Y%m%d_%H%M%S).png"

使用 gnome-screenshot(GNOME 桌面)

gnome-screenshot -f "/tmp/screenshot_$(date +%Y%m%d_%H%M%S).png"

安装

# Debian/Ubuntu
sudo apt install scrot

# Fedora
sudo dnf install scrot

输出规范

  • 默认保存到 /tmp/ 目录
  • 截图完成后告知用户保存路径
Install via CLI
npx skills add https://github.com/malue-ai/dazee-small --skill linux-screenshot
Repository Details
star Stars 32
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator