There's just been an update for my #Librem5. The new #phosh version offers an experimental plugin called phosh-ticket-box.

It allows the user to show PDFs from the lockscreen without unlocking the phone.

Show the QR for the parcel you want to send without unlocking.
Show your train ticket without unlocking
Show whatever PDF you like without unlocking.

It can be enabled in phosh-mobile-settings in the Lockscreen menu.

gsettings get sm.puri.phosh.plugins.ticket-box folder shows the path inside the home directory the plugin looks for PDFs in. The default is /home/purism/phosh-ticket-box.

Make the directory, put a PDF inside, enable the plugin and lock the phone. Enable the screen, swipe from the left border of the screen towards the right, select by swiping left and right the Tickets pane (if you have enabled more then one plugin) and click on the PDF to show.

Resizing and scrolling works with the known gestures.

Thanks @agx@librem.one !

Follow

@me Gotta thank the devs as well since most of this stands on the shoulders of libevince.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml