forked from dreamer/scrot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scrot.1
130 lines (130 loc) · 3.76 KB
/
scrot.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
.TH scrot 1 "Oct 26, 2000"
.SH NAME
scrot - capture a screenshot using imlib2
.SH SYNOPSIS
scrot [options] [file]
.SH DESCRIPTION
.B scrot
is a screen capture utility using the
.B imlib2
library to aquire and save images.
.B scrot
has a few options, detailed below. Specify [file] as the filename to save
the screenshot to.
If [file] is not specified, a date-stamped file will be dropped in the
current directory.
.SH OPTIONS
.TP 5
.B -h, --help
display help output and exit.
.TP 5
.B -v, --version
output version information and exit.
.TP 5
.B -c, --count
Display a countdown when used with delay.
.TP 5
.B -d, --delay NUM
Wait NUM seconds before taking a shot.
.TP 5
.B -e, --exec APP
Exec APP on the saved image.
.TP 5
.B -q, --quality NUM
Image quality (1-100) high value means high size, low compression. Default:
75. (Effect differs depending on file format chosen).
.TP 5
.B -m, --multidisp
For multiple heads, grab shot from each and join them together.
.TP 5
.B -s, --select
Interactively select a window or rectangle with the mouse.
.TP 5
.B -a, --alpha
When selecting a window, create semi-transparent screenshot that includes
window shadows.
.TP 5
.B -n, --no-decorations, --no-border
When selecting a window, don't grab window decorations (border, titlebar, etc).
.TP 5
.B -b, --border
When selecting a window, grab wm border too. It's enabled by default with -s.
.TP 5
.B -u, --focused
Use the currently focused window.
.TP 5
.B -t, --thumb NUM
generate thumbnail too. NUM is the percentage of the original size for the
thumbnail to be.
.SH SPECIAL STRINGS
Both the
.B --exec
and
.B filename
parameters can take format specifiers
that are expanded by scrot when encountered.
There are two types of format specifier. Characters preceded by a '%'
are interpretted by strftime(2). See man strftime for examples.
These options may be used to refer to the current date and time.
The second kind are internal to scrot and are prefixed by '$'
The following specifiers are recognised:
.PP
.B $f
image path/filename (ignored when used in the filename)
.br
.B $n
image name (ignored when used in the filename)
.br
.B $s
image size (bytes) (ignored when used in the filename)
.br
.B $p
image pixel size
.br
.B $w
image width
.br
.B $h
image height
.br
.B $t
image format
.br
.B $$
prints a literal '$'
.br
.nf
\\n prints a newline (ignored when used in the filename)
.fi
.SH EXAMPLE
scrot '%Y\-%m\-%d_$wx$h.png' \-e 'mv $f ~/shots/'
.br
This would create a file called something like
2000-10-30_2560x1024.png and move it to your shots directory.
.SH BUGS
None known.
.SH LICENSE
Copyright Tom Gilbert 2000
.PP
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.PP
The above copyright notice and this permission notice shall be included in
all copies of the Software, its documentation and marketing & publicity
materials, and acknowledgment shall be given in the documentation, materials
and software packages that this Software was used.
.PP
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
.PP
Email bugs and feature requests to
.br
.B <[email protected]>