1PDFPCRC(5) File Formats Manual PDFPCRC(5)
2
3
4
6 pdfpcrc - pdfpc configuration file
7
8
10 pdfpc(1) first reads its system-wide configuration file, followed by
11 the user-specific one if it exists.
12
13
14 Keybindings
15 The following commands are accepted:
16
17 bind <key> <func> [<arg>]
18 Bind a key to a function, passing a specified argument for func‐
19 tions which require one
20
21 unbind <key>
22 Unbind the given key
23
24 unbind_all
25 Clear all the key bindings
26
27 mouse <button> <func>
28 Bind a mouse button to a function
29
30 unmouse <button>
31 Unbind a mouse button
32
33 unmouse_all
34 Clear all the mouse bindings
35
36
37 A list of all possible functions can be obtained via the -L command
38 line option of pdfpc(1).
39
40
41 Options
42 Some permanent changes can be configured via the config file. The syn‐
43 tax is:
44
45 option <option_name> <option_value>
46
47
48 The following option_name's are recognized:
49
50
51 black-on-end
52 Add an additional black slide at the end of the presentation
53 (bool, Default is false).
54
55 current-height
56 Percentage of the height of the presenter screen to be used for
57 the current slide (int, Default is 80).
58
59 current-size
60 Percentage of the presenter screen to be used for the current
61 slide (int, Default is 60).
62
63 disable-caching
64 see pdfpc(1)
65
66 disable-compression
67 see pdfpc(1)
68
69 disable-input-autodetection
70 Do not automatically detect type (pen or eraser) of tablet input
71 devices (bool, Default is false).
72
73 disable-scrolling
74 Disable scrolling events on the presenter window (bool, Default
75 is false).
76
77 enable-auto-srt-load
78 Try loading video subtitle files automatically. For each video
79 media, pdfpc will append ".srt" to the media URI and attempt to
80 load a subtitle file (in the SRT format) from that location
81 (bool, Default is false).
82
83 move-on-mapped
84 Dual-monitor full-screen window placement is a tricky business.
85 Some window managers (e.g., FVWM) ignore the placement if made
86 before the window is shown. This option enables a workaround
87 (bool, Default is false).
88
89 next-height
90 Percentage of the height of the presenter screen to be used for
91 the next slide (int, Default is 70).
92
93 overview-min-size
94 Minimum width for the overview miniatures, in pixels (int,
95 Default is 150).
96
97 pointer-color
98 Set the pointer color. Can be a literal color name or a #rrggbb
99 representation (default is red).
100
101 pointer-opacity
102 Set the pointer opacity in percent (int, default is 50).
103
104 pointer-size
105 Set the initial pointer size, in pixels (int, default is 10).
106
107 presentation-screen
108 Screen to be used for the presentation (output name, see e.g.
109 "xrandr --listmonitors").
110
111 presenter-screen
112 Screen to be used for the presenter (output name).
113
114 switch-screens
115 Switch the presentation and the presenter screen (bool, Default
116 is false).
117
118 time-of-day
119 Display the current time instead of the timer
120
121 timer-pace-color
122 Enable color hints of the timer, continuously indicating whether
123 the presentation is progressing according to the expected pace
124 (bool, Default is true). See the timer operation description in
125 pdfpc(1).
126
127 toolbox
128 Show the toolbox on startup (bool, Default is false).
129
130 toolbox-direction
131 Set the toolbox direction. LtoR, RtoL, TtoB, or BtoT for the
132 left-to-right, right-to-left, top-to-bottom, or botton-to-top,
133 respectively (Default is LtoR).
134
135 toolbox-minimized
136 Set the initial toolbox state minimized (bool, Default is
137 false).
138
139
141 Key names can be obtained with the help of the xev utility. Note that
142 names are case sensitive. Modifiers can be specified in the form
143 <mod>+<key> where <mod> is one of S (for shift), C (for control) and
144 A/M (for Alt/Meta). E.g.
145
146 bind S+Next next10
147
148
149 A shorthand for specifying key combinations constituting shift and an
150 alphabetic character is to simply give the uppercase version of the
151 alphabetic character. For example, to bind <shift>+r to the 'reset'
152 function, use
153
154 bind R reset
155
156
157 To always activate the black-on-end option, one could add the following
158 to the config file
159
160 option black-on-end true
161
162
164 /etc/pdfpcrc
165 System-wide configuration file
166
167 $XDG_CONFIG_DIR/pdfpc/pdfpcrc
168 User configuration file (if $XDG_CONFIG_DIR is not set, $HOME/.con‐
169 fig will be used).
170
171
172
174 pdfpc(1)
175
176
177
178 PDFPCRC(5)