pdfpc

A presenter console with multi-monitor support for PDF files.

Github星跟蹤圖

=====
pdfpc

About

pdfpc is a GTK-based presentation application which uses Keynote-like
multi-monitor output to provide meta information to the speaker during the
presentation. It is able to show a normal presentation window on one screen,
while showing a more sophisticated overview on the other one, providing
information like an image of the next slide, time remaining till the end of
the presentation, etc. The input files processed by pdfpc are PDF documents,
which can be created by most of the present-day presentation software.

More information, including screenshots and demo presentations, can be found
at https://pdfpc.github.io/

Installation

  • On Debian, Ubuntu, and other Debian-based systems::

    sudo apt-get install pdf-presenter-console

  • On Fedora::

    sudo dnf install pdfpc

  • On Arch Linux::

    sudo pacman -S pdfpc

  • On FreeBSD::

    It is available under graphics/pdfpc. A pre-built binary is also available.

  • On macOS with Homebrew::

    Full macOS integration, including video support

    brew install pdfpc

  • On macOS with MacPorts::

    Nice macOS integration, but no video support currently

    sudo port -v install pdfpc +quartz

    Video support, but window placing might not work well

    sudo port -v install pdfpc +x11

  • On Windows 10 (with Windows Subsystem for Linux (WSL))::

    Install:

    1. Windows: Activate WSL: https://msdn.microsoft.com/en-us/commandline/wsl/install_guide
    2. Windows: Open CMD and run: 'bash' in order to start the WSL-bash
    3. WSL-Bash: run: 'sudo apt-get install pdf-presenter-console'

    Run:

    1. Windows: Install a Windows X-Server like VcXsrv: https://sourceforge.net/projects/vcxsrv
    2. Windows: Make the presentation screen your secondary screen and disable the taskbar on that screen
    3. Windows: Start the X-Server with: 'vcxsrv -nodecoration -screen 0 @1 -screen 1 @2 +xinerama'
    4. Windows: Open CMD and run: 'bash' in order to start the WSL-bash
    5. WSL-Bash: run: 'DISPLAY=:0 pdfpc ' to open your presentation with pdfpc

Sample presentations

  • Simple demo <https://github.com/pdfpc/pdfpc/releases/download/v4.3.0/pdfpc-demo.pdf>_
  • Embedded movies <https://github.com/pdfpc/pdfpc/releases/download/v4.3.0/pdfpc-video-example.zip>_

Usage

Try it out::

pdfpc pdfpc-demo.pdf

If you encounter problems while running pdfpc, please consult the FAQ <FAQ.rst>_ first.

Compilation from sources

Requirements

In order to compile and run pdfpc, the following requirements need to be met:

  • cmake >= 3.0
  • vala >= 0.34
  • gtk+ >= 3.22
  • gee >= 0.8
  • poppler with glib bindings
  • pangocairo
  • gstreamer >= 1.0 with gst-plugins-good

E.g., on Ubuntu 18.04 onward, you can install these dependencies with::

sudo apt-get install cmake valac libgee-0.8-dev libpoppler-glib-dev
libgtk-3-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
gstreamer1.0-gtk3

(the latter is a run-time dependence). You should also consider installing all
plugins to support required video formats; chances are they are already present
through dependencies of ubuntu-desktop.

On macOS with Homebrew, the easiest way is to install all dependencies of the
pdfpc package without pdfpc itself::

brew install --only-dependencies pdfpc

On Windows, a Cygwin installation with the following dependencies is needed:

  • cmake
  • automake
  • make
  • gcc
  • gcc-c++
  • libstdc++-4.8-dev
  • x11
  • vala
  • gtk
  • gee
  • libpoppler
  • gstreamer
  • libgstinterfaces1.0-devel

Downloading and compilation

You can download the latest stable release of pdfpc in the release section of
github (https://github.com/pdfpc/pdfpc/releases). Uncompress the tarball (we
use v4.2.1 as an example here)::

tar xvf pdfpc-4.2.1.tar.gz

Change to the extracted directory::

cd pdfpc-4.2.1

Compile and install::

mkdir build/
cd build/
cmake ..
make
sudo make install

If there are no errors in the process, you just installed pdfpc on your system.
Congratulations! If there were errors, they are probably due to missing
dependencies. Please check that you have all the necessary libraries (in some
distributions you may have to install -devel packages).

Note: You may alter the final installation prefix in the cmake call. By default,
the pdfpc files will be installed under /usr/local/. If you want to change
that, for example to be installed under /usr/, you can specify another
installation prefix as follows::

cmake -DCMAKE_INSTALL_PREFIX="/usr" ..

By default, pdfpc includes support for movie playback. This requires several
gstreamer dependencies. The requirement for these packages
can be removed by compiling without support for movie playback by passing
-DMOVIES=OFF to the cmake command.

Compilation troubleshooting

Some distributions do not have a valac executable. Instead they ship with a
version suffix like valac-0.40. If cmake cannot find the Vala compiler, you
can try running cmake with::

cmake -DVALA_EXECUTABLE:NAMES=valac-0.40 ..

Acknowledgements

pdfpc was initially developed as pdfpc-presenter-console by Jakob Westhoff
(https://github.com/jakobwesthoff/Pdf-Presenter-Console)
then further extended by David Vilar (https://github.com/davvil/pdfpc).

主要指標

概覽
名稱與所有者pdfpc/pdfpc
主編程語言Vala
編程語言CMake (語言數: 4)
平台
許可證GNU General Public License v3.0
所有者活动
創建於2015-02-15 21:20:57
推送於2025-05-21 07:44:24
最后一次提交2025-05-21 09:44:20
發布數36
最新版本名稱v4.7.0 (發布於 )
第一版名稱release-1.0 (發布於 )
用户参与
星數1.7k
關注者數33
派生數118
提交數1.4k
已啟用問題?
問題數428
打開的問題數23
拉請求數277
打開的拉請求數5
關閉的拉請求數50
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?