linux-screenshot

v2026.09.25

Capture screenshots on Linux using scrot or gnome-screenshot.

GitHub
Install command
npx skhub add malue-ai/linux-screenshot
Markdown
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/ 目录
  • 截图完成后告知用户保存路径
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.25

Published

Sep 25, 2026

Category

Uncategorized

License

MIT

Source path

instances/xiaodazi/skills/linux-screenshot

Default branch

main

Latest commit

7aa03f5

Tree SHA

fd24535