skills/malue-ai/dazee-small/linux-screenshot

linux-screenshot

SKILL.md

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/ 目录
  • 截图完成后告知用户保存路径
Weekly Installs
1
GitHub Stars
31
First Seen
10 days ago
Installed on
amp1
cline1
openclaw1
opencode1
cursor1
kimi-cli1