PDFPCRC(5)
πΈ PDFPCRC(5) β the pdfpc config file, bestie edition π
okay so this is the pdfpcrc page from the File Formats Manual (section 5, we're fancy) and it's literally just the β¨ configuration file β¨ for pdfpc. Sit down, grab a strawberry π, and let's get into it.
π NAME π
pdfpcrc β the pdfpc configuration file. that's it, that's the name, iconic.
π¦ DESCRIPTION π¦
So here's the tea: pdfpc(1) reads its system-wide configuration file first, and then it peeks at your user-specific one if that one actually exists. Two files, one order, no cap.
β¨ Keybindings β¨
These are the commands it accepts, bestie:
bind <key> <action> [<arg>]β ties a key to an action, and if that action needs an argument you pass it along too π«Άunbind <key>β frees that key from whatever it was doing. let it go, it's healing eraunbind_allβ wipes every key binding. all of them. clean slate πmouse <button> <action>β binds a mouse button to an action π±οΈunmouse <button>β unbinds a mouse buttonunmouse_allβ clears every single mouse binding
Key names? You can get those with the xev(1) utility. And heads up, names are case sensitive β so don't come crying to me when KP_1 doesn't act like kp_1. π
Key combos with modifiers go in the form <mod>+<key>, where <mod> is one of:
Sβ for shiftCβ for controlA/Mβ for Alt/Meta
Also there's a lil shorthand: if it's shift + an alphabetic character, just give the uppercase version of that character. So S+r and R? literally the same thing. same energy, same result. β¨
Wanna see every possible action? That's the -L command line option on pdfpc(1). Wanna see which bindings you've actually got defined? Use the -B command line option. iykyk π
π Options π
Some changes can be made permanent through the config file. The syntax is:
option <option_name> <option_value>
And here are all the option_name's it recognizes β yes, all of them, I'm not skipping a single one:
black-on-endβ drops an extra black slide at the end of the presentation (bool, Default isfalse). dramatic exit, honestlycache-clean-periodβ how often (in units ofs) to check for expired cached content (int, Default is60)cache-expirationβ how long (in units ofs) to keep (pre)rendered slides in the cache (int, Default is600). Set it to a negative value and cached slides stay forever πcache-max-rtimeβ the max time (in units ofms) it takes to render a slide for its cache to be protected from expiration (int, Default is1000)cache-min-rtimeβ the min time (in units ofms) it takes to render a slide for it to actually get cached (int, Default is10)cache-max-usizeβ the max size (in units ofkB) of a slide image to store it uncompressed in the cache (int, Default is256)current-heightβ percentage of the height of the "main" presenter area used for the current slide (int, Default is80)current-sizeβ percentage of the width of the presenter screen used for the current slide (int, Default is60)cursor-timeoutβ mouse inactivity timeout (in units ofs) after which the cursor gets hidden (int, Default is2). bye cursor πdisable-input-autodetectionβ do NOT automatically detect the type (pen or eraser) of tablet input devices (bool, Default isfalse)disable-input-pressureβ ignore pressure sensitivity of tablet input devices (pen or eraser) even when the hardware supports it (bool, Default isfalse)disable-scrollingβ disables scrolling events on the presenter window (bool, Default isfalse)disable-tooltipsβ disables tooltips for the toolbox (bool, Default isfalse)enable-auto-srt-loadβ tries to load video subtitle files automatically. For each video media, pdfpc appends".srt"to the media URI and attempts to load a subtitle file (in the SRT format) from that location (bool, Default isfalse) π¬final-slideβ show the final slide of an overlay group instead of the next slide. If the user reaches the last slide of the overlay group, the next slide will be shown again.move-on-mappedβ dual-monitor full-screen window placement is a tricky business, fr fr. Some window managers (e.g.,FVWM) ignore the placement if it's made before the window is shown. This option enables a workaround (bool, Default isfalse)next-heightβ percentage of the height of the "main" presenter area used for the next slide (int, Default is70)next-slide-first-overlayβ if the next slide is an overlay group, show the first slide of that group in the next slide view instead of the last slide of that group (bool, Default isfalse)overview-min-sizeβ minimum width for the overview miniatures, in pixels (int, Default is150)pointer-colorβ set the pointer color. Can be a literal color name or a#rrggbbrepresentation (default isred) β€οΈpointer-opacityβ set the pointer opacity in percent (int, default is50)pointer-sizeβ set the initial pointer size, in pixels (int, default is10)prerender-delayβ delay (in seconds) to launch the pre-rendering process after a slide change (int, default is4)prerender-slidesβ number of slides ahead of the current one to pre-render (int, default is2). Set to0to disable pre-rendering; set to a negative number to pre-render all at once π₯presentation-interactiveβ let the presentation window react to user actions, similar to the presenter (bool, default isfalse). Note that if the presentation window is the only pdfpc GUI (i.e., if run with-sS), it will be interactive irrespective of this flag.presentation-screenβ screen to be used for the presentation (output name, see e.g."xrandr --listmonitors")presenter-screenβ screen to be used for the presenter (output name)rest-httpsβ run the REST server in the TLS mode (bool, Default isfalse) πrest-portβ port of the REST server (int, Default is8088)rest-passwdβ password to authenticate against the REST server (string, if not set, a randomly generated one is used) πrest-static-rootβ root path to serve static HTML content. If it begins with"/", it's interpreted as the absolute path; otherwise, relative to/usr/share/pdfpc(string, Default is"www")spotlight-opacityβ set the opacity of the area outside of the spotlight, in percent (int, default is50)spotlight-sizeβ set the initial spotlight size, in pixels (int, default is100)status-heightβ percentage of the height of the presenter screen left for the status area (timer, progress, icons), leaving(100 - status_height)%for the "main" area (int, Default is10)switch-screensβ switch the presentation and the presenter screen (bool, Default isfalse)time-of-dayβ display the current time instead of the timer β°timer-pace-colorβ enable color hints of the timer, continuously indicating whether the presentation is progressing according to the expected pace (bool, Default istrue). See the timer operation description inpdfpc(1).toolboxβ show the toolbox on startup (bool, Default isfalse) π§°toolbox-directionβ set the toolbox direction.LtoR,RtoL,TtoB, orBtoTfor the left-to-right, right-to-left, top-to-bottom, or botton-to-top, respectively (Default isLtoR)toolbox-minimizedβ set the initial toolbox state minimized (bool, Default isfalse)transition-fpsβ frames-per-second for slide transitions (int, Default is25). Set to0to disable all transitions.windowed-modeβ set the initial windowed mode:none,presenter,presentation, orboth(Default ispresenter)
π EXAMPLES π
Wanna change the drawing pen color using the numerical pad keys? say less:
bind S+KP_1 setPenColor red
bind S+KP_2 setPenColor green
bind S+KP_3 setPenColor blue
And if you want the black-on-end option on always, you'd add this to the config file:
option black-on-end true
ate. periodt. π
π FILES π
/etc/pdfpcrcβ System-wide configuration file$XDG_CONFIG_HOME/pdfpc/pdfpcrcβ User configuration file (if$XDG_CONFIG_HOMEis not set,$HOME/.configwill be used).
π§ SEE ALSO π§
that's the whole page, bestie. go forth and configure responsibly π«Ά
okay so this was the pdfpcrc page from the File Formats Manual β footer says PDFPCRC(5) and it's the page that ships with pdfpc, version vibes and date and all. mwah, bye πβ¨
π¦ where this page comes from
- arch rolling: pdfpc 4.7.0-2 Β· GPL
- debian trixie: pdf-presenter-console 4.7.0-1 Β· GPL-3.0-only
- fedora 43: pdfpc 4.7.0-4.fc43 Β· GPL-3.0-or-later
- fedora 44: pdfpc 4.7.0-5.fc44 Β· GPL-3.0-or-later
- ubuntu questing: pdf-presenter-console 4.7.0-1
- ubuntu resolute: pdf-presenter-console 4.7.0-1build1 Β· GPL-3.0-only
- ubuntu stonking: pdf-presenter-console 4.7.0-1build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms