Hello Norman
Thanks for the inspiring Talk about the new Sculpt version. During this talk, you switched between the leitzentrale, runtime and slides layers.
I tried to do the same, but failed. I can show a PDF using pkg/pdf_view by routing it - for example - to "themed wm" or "background". How can I use the "slides" layer and how do I can make sure the PDF is shown with "optimal" zoom level (page with/height)? How can I toggle the slides layer on and off?
Thanks, Roman
Hi Roman,
thanks for the feedback!
I tried to do the same, but failed. I can show a PDF using pkg/pdf_view by routing it - for example - to "themed wm" or "background". How can I use the "slides" layer and how do I can make sure the PDF is shown with "optimal" zoom level (page with/height)? How can I toggle the slides layer on and off?
I'm using the attached patch.
It integrates the slides along with the PDF viewer into the boot image. This way, I am able to show the slides at any time, even without selecting any Sculpt partition.
The slides are picked up as 'bin/slides.pdf' from the Genode build directory when executing the sculpt.run script.
For toggling the visibility of the slides, the patch configures the pseudo key KEY_PRESENTATION as global key in the nitpicker GUI server. This key code is generated via the input-filter remap rule for F11.
Cheers Norman
Hi Norman,
It integrates the slides along with the PDF viewer into the boot image. This way, I am able to show the slides at any time, even without selecting any Sculpt partition.
I have a slightly different use case: I need to be able to update the PDF without building the sculpt image. But it is not required to show slides without selecting any Sculpt partition. But thanks to your patch it was straight forward to add this feature and works like a charm!
For toggling the visibility of the slides, the patch configures the pseudo key KEY_PRESENTATION as global key in the nitpicker GUI server. This key code is generated via the input-filter remap rule for F11.
I like that solution as it allows show/hide the slides in combination with either the Leitzentrale or the runtime ;)
Cheers Roman