gnab / remark

A simple, in-browser, markdown-driven slideshow tool.
http://remarkjs.com
MIT License
12.75k stars 857 forks source link

Detect screen mirroring and setup the view accordingly #591

Open peterj opened 5 years ago

peterj commented 5 years ago

When presenting, I like to have one window opened with slides + notes (presenter view) and the second window with the slides only (this is what the audience sees). To do this today you need to disable screen mirroring and then move one window to the projector and another one (with notes) to your laptop). This works, however, sometimes I do demos and like to switch to the terminal or a different window. This means that I need to turn on screen mirroing, do the demo, then switch back to separate displays.

Does anyone know if there's a way in Javascript to detect that screens are being mirrored and set up the presenter view accordingly (i.e. main screen with the presentation only and laptop screen with slides + notes)?

mschilli87 commented 5 years ago

@peterj: Not a solution to your problem but an alternative for demos: You can actually run the demo inside your presentation using something like https://xtermjs.org.

peterj commented 5 years ago

Thanks for this - I'll take a look, it might definitely work for terminal only based demos.

igorsantos07 commented 4 years ago

this request makes no sense, at least not how you're phrasing it. if screens are mirrored, no software can manage to render different stuff in each screen. there's no way to do it either with remark or powerpoint or any other tool, afaik.

peterj commented 4 years ago

Have you read the description where I explain in more detail what I mean?

PowerPoint does exactly what I want - changes/switches the way screens are mirrored/extended and automatically opens and sets up presenter notes on one screen and presentation on the other.