Linux 終端介面下的截圖工具 fbgrab

目前會在終端機介面下使用截圖的情況真的不會很多,除非那台主機沒有安裝視窗介面。
如果真的要在沒有視窗介面的終端機下截圖,可以使用 「fbgrab」 這小工具來完成。

安裝:sudo apt-get install fbgrab
使用方法:sudo fbgrab -s 5 temp.png > /dev/null
使用說明:

FBGRAB(1)                                        fbgrab manual                                       FBGRAB(1)

NAME
       fbgrab - takes a screenshot using the framebuffer device

SYNOPSIS
       fbgrab [option...] png-file

       fbgrab -?

DESCRIPTION
       fbgrab is a wrapper around fbcat which emulates the behaviour of Gunnar Monell's fbgrab utility.

OPTIONS
       fbgrab accepts the following options:

       -c N
           Grab the /dev/ttyN virtual terminal.

       -C N
           Switch to the /dev/ttyN virtual terminal, then wait a few seconds before grabbing it.

       -d fb-device
           Use the fb-device framebuffer device.

           By default, the device name is taken from the FRAMEBUFFER environment variable. If it is unset or
           empty, the default is /dev/fb0.

       -i
           Enable PNG interlacing.

       -s N
           Sleep N seconds before making the screenshot or switching virtual terminals.

       -?
           Display help and exit.

UNSUPPORTED OPTIONS
       The following options of Gunnar Monell's fbgrab are recognized but not supported:

       -f fb-dump-file

       -b N

       -w N

       -h N

SEE ALSO
       png(5), fbcat(1)

COPYRIGHT
       Copyright © 2009 Jakub Wilk

fbgrab 0.2                                        01/18/2010                                         FBGRAB(1)

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s