歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 給你推薦個Ubuntu下一款不錯的截圖軟件scrot

給你推薦個Ubuntu下一款不錯的截圖軟件scrot

日期:2017/2/28 17:38:07   编辑:Linux教程
無論是撰寫技術教程,還是展示桌面或應用,恐怕 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 抓取下來。
Copyright © Linux教程網 All Rights Reserved