pdfpc
pdfpc copied to clipboard
Configuration of Dual-Screen
It is not clear to me how to set Xorg.conf/Xrandr such that pdfpc will detect the two displays properly and render the two different outputs to the according monitor.
I suggest updating the README appropriately
pdfpc detects the primary monitor and shows there the presenter window (as stated in the man page). A justification can be found in the documentation of gdk_screen_get_primary_monitor():
"The primary monitor is considered the monitor where the 'main desktop' lives. While normal application windows typically allow the window manager to place the windows, specialized desktop applications such as panels should place themselves on the primary monitor."
You can select the primary monitor in xrandr via the --primary option. E.g. for my laptop I use "xrandr --output LVDS1 --auto --primary --output VGA1 --auto --above LVDS1".
If this method doesn't fit you, you can always use the -s option to switch the monitors in pdfpc.
for me, in debian wheezy both screens are displayed at the external monitor regardless of the -s option or the xrandr command line stated above.
any ideas on how to make pdfpc behave correctly?
I have the same problem, I think. Even with two screens configured correctly only the presenter window is shown. Would it be possible to override the autodetection with options like "--primary VGA1 --presenter LVDS1"? An alternative for me would two non-fullscreen windows (I use i3wm, so placing a borderless window on the output of my choosing is easy)...
And then, going through the code you realize there is a develop option "-w" that does exactly that.