-
Notifications
You must be signed in to change notification settings - Fork 29
/
dspdfviewer.1
339 lines (252 loc) · 10.5 KB
/
dspdfviewer.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
.\" Hey, EMACS: -*- nroff -*-
.\" (C) Copyright 2012 Danny Edel <mail@danny-edel.de>,
.\"
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH DSPDFVIEWER 1 "July 30, 2015"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
dspdfviewer \- Dual-Screen PDF Viewer
.SH SYNOPSIS
.B dspdfviewer
.RI [ options ] " [filename]"
.br
.SH DESCRIPTION
.B dspdfviewer
is intended for presentations created with the
.B latex-beamer
class, specifically documents created with the
.RI "show notes on second screen=right"
option.
Its purpose is to display the left half of a page on the audience's screen
(which will most commonly be a projector) and the right half on your "private"
screen (think: the notebook you carried to the presentation site).
The basic idea is that you will display personal notes and information to
help you with your presentation on your personal screen, while the audience
sees only the PDF they are supposed to see.
On the secondary screen you will see three clocks:
A "wall clock", a "presentation" clock and a "slide" clock.
The wall clock in the bottom left corner that display current time of day,
the presentation clock (labeled "Total") counts the time you spent since
you started the presentation, and the "slide" counter (bottom right)
displays the time you spent on the current slide.
The clocks don't start the second you launch the program, the idea behind that
behaviour is that many people have a "title" slide active long before the audience
even arrives.
Once you use the next/previous slide commands, the clock starts. If you want to
start the clock, but still display the title slide, just press "previous"
(for example, Up Arrow or Right Mouse Button) on the title slide.
If you want to reset the clocks to zero, press the "Home" button on the keybord.
.\" .PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
.\"\fBdspdfviewer\fP is a program that...
.SH OPTIONS
The exact behaviour of \fBdspdfviewer\fR
is configurable using command-line parameters.
Unless otherwise noted, all command-line options can be written
in a configuration file. See the \fIFILES\fR section for the
location.
For the command-line parameters,
this program follows the usual GNU command line syntax, with long
options starting with two dashes ('-').
A summary of options is included below.
If you specify those in a configuration file, write one
option per line, use the
\fIlong version without the two leading dashes\fR,
followed by an equals sign and the desired value.
For example, \fBbottom-pane-height=20\fR is a valid
configuration line.
If an option is specified in \fBboth\fR the configuration file
and the command-line, the command-line value takes precedence.
Note for options of type \fI<bool>\fR: They take
\fBtrue\fR, \fBfalse\fR, \fB0\fR or \fB1\fR as arguments.
For example, \fB\-\-use-second-screen false\fR can be
expressed as \fB\-\-use-second-screen 0\fR or shortened
to \fB\-u0\fR.
.TP
.BR \-h ", " \-\-help
Show summary of options.
.TP
.B \-f, \-\-full-page
Use the presentation program with a normal single-screen PDF,
that is display the full page on both the primary and secondary monitor.
The secondary screen still contains timers and thumbnails
to help you with your presentation, unless you disable them using
the options below.
.TP
.B \-u, \-\-use-second-screen \fI<bool>\fR
Controls whether the program actually works as a dual-screen viewer.
The default is true.
If you only have one screen, but still want to use the cache features, you can set
this option to false. If the window ends up on the wrong display, you can still use
the switch command (see below).
What comes out on the primary screen depends on whether you use the \-f Option: \-u0 \-f
results in a simple full-screen PDF viewer, while \-u0 without \-f still splits the page
in half and outputs only the left frame.
.TP
.B \-l, \-\-hyperlink-support \fI<bool>\fR
Controls whether the program makes PDF Hyperlinks clickable.
The default is true.
While it is normally desired to have clickable hyperlinks, if you cannot
control the position of your pointer (if your remote control has only
left-click and right-click) it might be safer to disable hyperlinks.
.TP
.B \-\-prerender\-previous\-pages \fIn\fR
When jumping to slide m, also pre-render the slides (m-n)..(m-1) (default 3)
Note: If you set this to zero, you will not get a thumbnail for the previous page
rendered before you have visited it.
.TP
.B \-\-prerender\-next\-pages \fIn\fR
When jumping to slide m, also pre-render the slides (m+1)..(m+n) (default 10)
Note: If you set this to zero, you will not get a thumbnail for the next page
rendered before you have visited it.
.TP
.B \-\-cache\-size \fIn\fR (in megabytes / MiB)
This controls how much memory dspdfviewer is allowed to use for caching rendered pages.
The default value is 1024, meaning 1 GiB of RAM.
Note that the memory used for active rendering processes, as well as the currently
displayed images are not included in the accounting, so the total memory usage
of dspdfviewer will be higher than this.
CAVEAT: It is currently not verified that this memory is enough to hold all
prerendered pages.
If you make the cache too small to hold the prerendered pages,
it will start dropping the first rendered (adjacent to the current page),
resulting in very poor performance.
If in doubt, set a larger cache or a lower prerender amount.
.TP
.B \-a, \-\-presenter-area \fI<bool>\fR
Show (true, 1) or hide (false, 0) the presenter's area on the second screen.
If this is set to zero, the following options will have no effect.
.TP
.B \-d, \-\-duplicate \fI<bool>\fR
Duplicate (true, 1) or hide (false, 0) the audience's screen next to the notes on the second screen.
The default is false.
.TP
.B \-t, \-\-thumbnails \fI<bool>\fR
Show (true, 1) or hide (false, 0) the thumbnails on the second screen.
.TP
.B \-T, \-\-thumbnail\-page\-part \fI<pagepart>\fR
Show this part of the page for thumbnails, valid values are "left", "right" or "both".
.TP
.B \-w, \-\-wall\-clock \fI<bool>\fR
Show (true, 1) or hide (false, 0) the wall clock on the second screen.
.TP
.B \-p, \-\-presentation\-clock \fI<bool>\fR
Show (true, 1) or hide (false, 0) the presentation clock on the second screen.
.TP
.B \-s, \-\-slide\-clock \fI<bool>\fR
Show (true, 1) or hide (false, 0) the slide clock on the second screen.
.TP
.B \-b, \-\-bottom\-pane\-height \fIn\fR
Configure how large the presenter area on the second screen will be,
unit is \fIpercent of second screen's total height\fR.
Default value 20.
.TP
.B \-\-i3\-workaround \fI<bool>\fR
This tries to ask the i3 window manager (by calling the i3-msg command) to move
the audience window to "the other screen".
This is considered an experimental feature and disabled by default.
Read the runtimeconfiguration.cpp source code for more info.
.SH CONTROLS
You can use the following controls while
.B dspdfviewer
is running.
Note that mouse-clicks are subject to pointer position if the hyperlink
support is enabled. If your mouse cursor changes to a hand, it will follow
the link you are hovering on a click.
.TP
.B Keyboard: ?, F1
Display quick-help (most important key bindings)
.TP
.B Keyboard: Spacebar, Page Down / Mouse: Left-Click, Wheel Down
Go one page forward
Additional keyboard aliases:
Down, Right, Return, Enter, N, F
.TP
.B Keyboard: Backspace, Page Up / Mouse: Right-Click, Wheel Up
Go one page backward
Additional keyboard aliases:
Up, Left, P
.TP
.B Keyboard: B, . (period)
Toggle blanking of the audience screen
.TP
.B Keyboard: G
Go to specific page (a number entry window will pop up)
Note that the this counts PDF pages, so a single slide having
6 unmasking steps will be 7 PDF pages long, including the initial
near-blank page.
.TP
.B Keyboard: Home, H
Go to the first page and reset the clocks to zero.
Use this if you want the clocks to stop at zero, use the
G (goto) function to page 1
if you want to them to keep running.
Note that the Home key may be called "Pos 1" on some keyboards.
.TP
.B Keyboard: Escape, Q
Quit \fBdspdfviewer\fR.
.TP
.B Keyboard: S, F12
Switch primary and secondary screens
Use this if the audience sees your 'note' side with the clocks
and you see the actual presentation on your screen.
If you just want to see the main presentation (for example,
because the projector is behind you), use \fBT\fR.
.TP
.B Keyboard: T
Switch secondary screen's function
Use this if you want to see the audience side on your screen, without
showing the notes to the audience. Pressing the button again will
switch back to normal operation.
.TP
.B Keyboard: D
Switch duplication of the audience's screen
Use this if you want to see the audience side and the notes on your
screen (so the full presentation), leaving the audience's screen
untouched. Pressing the button again will switch back to split mode.
.SH FILES
.TP
.B ~/.config/dspdfviewer.ini
You can specify all long command-line options (without leading \-\-) here,
in a "option=value" format, one per line.
.SH PRESENTER REMOTE CONTROLS
Most (maybe not all) presenter remote controls technically act as a keyboard
sending one of the keystrokes listed either in the main or additional
keybindings. If your remote control does not work as intended, please
file a bug report describing what keystrokes it generates when you
press its buttons. If there is no conflict, a keybinding will be included
in the next release.
.SH BUGS
None currently known.
If you find any bugs, the preferred way to report them
is at the github issue tracker at
https://github.com/dannyedel/dspdfviewer/issues.
As a fallback, you can send e-mail to mail@danny-edel.de
with the word "dspdfviewer" in the subject line.
.SH SEE ALSO
.TP
.BR /usr/share/doc/latex-beamer/beameruserguide.pdf.gz
from the
.B latex-beamer
package on how to create beamer presentations.
Note: Use "show notes on second screen=right" because
.B dspdfviewer
assumes that the right half of the page is the notes.
.TP
.BR http://dspdfviewer.danny-edel.de
for installation instructions and new release announcements.