pdfpc icon indicating copy to clipboard operation
pdfpc copied to clipboard

Configuration of Dual-Screen

Open ghost opened this issue 13 years ago • 4 comments

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

ghost avatar Nov 27 '12 15:11 ghost

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.

davvil avatar Nov 28 '12 16:11 davvil

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?

pickedusername avatar Oct 11 '13 10:10 pickedusername

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)...

ghost avatar Nov 05 '14 17:11 ghost

And then, going through the code you realize there is a develop option "-w" that does exactly that.

ghost avatar Nov 05 '14 17:11 ghost