pdfpcrc man page
pdfpcrc — pdfpc configuration file
/etc/pdfpcrc / $XDG_CONFIG_DIR/pdfpc/pdfpcrc
pdfpc(1) reads its configuration from /etc/pdfpcrc. It also reads $XDG_CONFIG_DIR/pdfpc/pdfpcrc if this file exists (if $XDG_CONFIG_DIR is not set, $HOME/.config will be used).
The following commands are accepted:
- bind <key> <func> [<arg>]
Bind a key to a function, passing a specified argument for functions which require one
- unbind <key>
Unbind the given key
Clear all the key bindings
- mouse <button> <func>
Bind a mouse button to a function
- unmouse <button>
Unbind a mouse button
Clear all the mouse bindings
A list of all possible functions can be obtained via the -L command line option of pdfpc(1).
Some permanent changes can be configured via the config file. The syntax is:
option <option_name> <option_value>
The following option_name's are recognized:
Add an additional black slide at the end of the presentation (bool, Default false)
Percentage of the height of the presenter screen to be used for the current slide. (int, Default 80)
Percentage of the presenter screen to be used for the current slide. (int, Default 60)
Disable scrolling events on the presenter window (bool, Default false)
Percentage of the height of the presenter screen to be used for the next slide. (int, Default 70)
Minimum width for the overview miniatures, in pixels. (int, Default 150)
Switch the presentation and the presenter screen. (bool, Default false)
Enable color hints of the timer, continuously indicating whether the presentation is progressing according to the expected pace (bool, Default true). See the timer operation description in pdfpc(1).
Key names can be obtained with the help of the xev utility. Note that names are case sensitive. Modifiers can be specified in the form <mod>+<key> where <mod> is one of S (for shift), C (for control) and A/M (for Alt/Meta). E.g.
bind S+Next next10
A shorthand for specifying key combinations constituting shift and an alphabetic character is to simply give the uppercase version of the alphabetic character. For example, to bind <shift>+r to the 'reset' function, use
bind R reset
To always activate the black-on-end option, one could add the following to the config file
option black-on-end true