原文链接:https://linux.cn/article-3197-1.html

本文介绍用scrot来截图 os:ubuntu

安装

$ apt-get install scrot

截下整个桌面

$ scrot
制定保存目标文件夹和截图文件名
$ scrot ~/Document/mypic.png

截取特定窗口

$ scrot -s

延迟截屏

$ scrot -s -d 5
设置延时5秒

调整截屏质量

$ scrot -q 50
默认设置为75

调整截屏尺寸

$ scrot -t 10
可以在1到100之间调整,代码为减少截屏尺寸到原图的10%

将截取的截屏传递给其他命令

$ scrot -e 'mv $f ~/screenshots

相关文章:

  • 2021-07-13
  • 2021-08-01
  • 2021-12-29
  • 2021-12-27
  • 2022-01-11
  • 2021-07-06
  • 2021-10-19
猜你喜欢
  • 2022-12-23
  • 2021-11-11
  • 2021-09-25
  • 2022-12-23
  • 2021-08-26
  • 2022-12-23
  • 2022-02-10
相关资源
相似解决方案