vain / pdfPres

[Discontinued] Dual head PDF presenter: Current slide with context + current slide in fullscreen (Linux, BSD).
http://www.uninformativ.de/projects/_discontinued/pdfpres/
17 stars 10 forks source link

Support for "Start/Stop Presentation" #34

Closed Flowdalic closed 12 years ago

Flowdalic commented 12 years ago

Logitech presenters (R400/R800) have an Start/Stop Presentation button that alternately sends "F5" and "Escape". This works out of the box with evince. It would be nice to see the feature in pdfPres to.

vain commented 12 years ago

Hi,

try setting in your pdfpres config. Since commit 42b6f38, this makes pdfpres simply quit fullscreen mode on "Escape" if you're currently in fullscreen mode. However, if you press "Escape" while NOT in fullscreen mode, the application will exit.

Furthermore, since commit 93d0f6c, F5 starts "presentation mode".

If I understood correctly, this should do want you want. :)

Flowdalic commented 12 years ago

Comes pretty close. It would be nice if it also pauses the timer when leaving fullscreen if there is one running, since "F5" also starts the timer. A simple call of toggleTimer() should fix that.

vain commented 12 years ago

Hmm, I'm not sure if I really want it that way. For example, I often leave fullscreen mode and open a terminal window on the beamer (= projector, funny german pseudo-anglicisms), so I can show some demos/examples/whatever. In that situation, I don't want the timer to stop.

I could make this a user setting, though.

vain commented 12 years ago

Commit 7cd6a19 added the configuration setting "stop_timer_on_fs". Try setting that option to "1", it'll toggle the timer when you exit fullscreen mode.

Flowdalic commented 12 years ago

Thanks vain. That's perfect. The issue could be closed now :)