歡迎您光臨本站 註冊首頁

Linux 截圖工具Scrot介紹

←手機掃碼閱讀     火星人 @ 2014-03-09 , reply:0

安裝方法:

federo下啟用虛擬終端,以root身份執行以下命令 yum install scrot -y (註: -y, --assumeyes 回答所有的問題為是).

使用方法:

NAME
scrot - Screen capture using imlib2

SYNOPSIS
scrot [options] [file] (選項指截圖過程的操作,file指截圖存放的目錄,默認存放在當前目錄下)

詳細內容請在虛擬終端下輸入man scrot查看.本文介紹比較常用的幾種方法.

1.全屏截圖

[tiger506@localhost ~]$ scrot fullscreen.png
[tiger506@localhost ~]$ ls
2010-06-20-062947_657x163_scrot.png fullscreen.png 公共的 視頻 文檔 音樂
amsn_received o.png 模板 圖片 下載 桌面
2.選擇性截圖 -s(代邊框加 -b)
[tiger506@localhost ~]$ scrot -s noborder.png

[tiger506@localhost ~]$ scrot -bs border.png

3.延時截圖

(1)延時5秒並計時進行全屏抓圖,將文件保存在/tmp目錄下,命名為j.png:

[tiger506@localhost tmp]$ scrot -cd '5' /tmp/j.png

(2)選定窗體,延時5描抓圖,存放在/tmp文件夾中,命名為g.png.

[tiger506@localhost tmp]$ scrot -csd '5' /tmp/g.png

就寫這麼多吧.還想挖掘功能的就去man一下吧.


[火星人 ] Linux 截圖工具Scrot介紹已經有753次圍觀

http://coctec.com/docs/linux/show-post-50933.html