Feature request: cmd-line option for fullscreen, two-page display

Asked by Wayt Gibbs

I'm hoping to use qpdfview to create a digital music stand to display sheet music on my piano. I'm running the 0.4.11beta1 version of qpdfview on a Raspberry Pi connected to a 24" display (which rests on the piano music stand) and to wireless control pedals (which send PgUp/PgDn keystrokes). qpdfview's ability to precache pages, antialias PDFs, and display two pages side by side in fullscreen mode with fast page-turn transitions make it ideal for this application.

However, I want to avoid having a keyboard and mouse on the piano, so I'm creating a front-end PDF browser that will then open a selected PDF in qpdfview. My request is that you add two command-line options to the program:
--fullscreen to launch the app in fullscreen mode
--two-page to set the display mode to show two pages side by side

It occurs to me that these options would also be very useful for kiosk applications of qpdfview where public users are selecting documents by touchscreen.

Question information

Language:
English Edit question
Status:
Solved
For:
qpdfview Edit question
Assignee:
No assignee Edit question
Solved by:
Adam Reichold
Solved:
Last query:
Last reply:
Revision history for this message
Best Adam Reichold (adamreichold) said :
#1

Hello Wayt,

thanks for sharing that rather interesting use case but I would like to keep the command-line interface as simple as possible. However, all of the current command-line options make use of qpdfview's D-Bus interface. I think the best way to support such remote control resp. auotmation scenarios would be to significantly extend (and document) the D-Bus interface which could then be controlled using any apropriate scripting language.
If you agree with this conclusion, I'd suggest creating a wishlist bug on an extension of D-Bus interface. (The '--fullscreen' command-line option might be general enough, but '--two-pages' is much too specific.)

Best regards, Adam.

Revision history for this message
Wayt Gibbs (waytgibbs) said :
#2

Agreed--I am unfamiliar with D-Bus, but this will be a good excuse for me to learn how to use it. I have created the bug report as suggested.
Many thanks for the speedy and thoughtful response!

Wayt

Revision history for this message
Wayt Gibbs (waytgibbs) said :
#3

Thanks Adam Reichold, that solved my question.