首页 > 系统 > Linux > 正文

给你推荐个Ubuntu下一款不错的截图软件scrot

2020-06-07 13:10:36
字体:
来源:转载
供稿:网友
无论是撰写技术教程,还是展示桌面或应用,恐怕 scrot 都是必不可少的工具。scrot 是屏幕抓图工具中的皎皎者,它小巧而不失为强大,精练而不缺少灵活。

  scrot 主要用在命令行下,它使用 imlib2 库来抓取并保存图像。在 Ubuntu 中,可以使用

  sudo apt-get install scrot 指令来安装 scrot。
  scrot 的使用格式为:
  scrot [options] [file]。

  一般用法
  就一般而言,使用 scrot 可以抓取整个桌面、某个指定的窗口、以及选择的矩形区域。

  抓取桌面:scrot desktop.png,该命令将当前的整个桌面抓取下来,并保存为 desktop.png 文件。可以在当前的目录中找到此图像文件。

  抓取窗口:scrot -bs window.png,选项 b 使 scrot 在抓取窗口时一同将外边框抓取下来,而 s 选项则让用户选择所要抓取的是何窗口。

  抓取区域:scrot -s rectangle.png,在执行此命令后,使用鼠标拖曳的矩形区域将被 scrot 抓取下来。
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表