树莓派上如何使用截屏-Scrot帮你忙

  Scrot是Linux中用于截图的工具,其使用的方法简单且能达到的效果诸如全屏截取,区域截取,延时截取等,下面来看看这个工具该怎么使用。

Scrot的安装:

sudo apt-get install scrot

用法
1)全屏截取

scrot

2)区域截取

scrot -s

3)更多使用方法

scrot -h

FYI,更多参数介绍:

参数 介绍 描述
-h –help display this help and exit
-v –version output version information and exit
-a –autoselect non-interactively choose a rectangle of x,y,w,h
-b –border When selecting a window, grab wm border too
-c –count show a countdown before taking the shot
-d –delay NUM wait NUM seconds before taking a shot
-e –exec APP run APP on the resulting screenshot
-q –quality NUM Image quality (1-100) high value means high size, low compression. Default: 75.For lossless compression formats, like png,low quality means high compression.
-m –multidisp For multiple heads, grab shot from each and join them together.
-s –select interactively choose a window or rectangle with the mouse
-u –focused use the currently focused window
-t –thumb NUM generate thumbnail too. NUM is the percentage of the original size for the thumbnail to be, or the geometry in percent, e.g. 50x60 or 80x20.
-z –silent Prevent beeping

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_33475105/article/details/113487662