Lockscreen widgets

New addition to the Phosh Mobile Settings app; it now includes an experimental Ticket/PDF display for the lockscreen:


Will be very useful when traveling.

3 Likes

Yes, it is a great addition, but how do you add a pdf to show in this box? i can not find how…

1 Like

Good question! Maybe @guido.gunther can tell us.

1 Like

Put pdf’s in a folder named ~/phosh-ticket-box and they will be available from the lock screen.

7 Likes

Sweet! Thanks.
I had tried creating a folder named Tickets or Ticket Box, but that obviously didn’t work.
This is a very handy improvement.

Another idea:
Besides train/plane tickets and vaccination records, you could print any old file to .pdf, then have it available on the lockscreen. Example: grocery lists, printed navigation directions, a map image, etc.

4 Likes

I apologize for my ignorance, but I tried putting a folder named “phosh-ticket-box” in my home directory, put a PDF in there, and I get nothing on lockscreen in terms of a the PDF

Any help would be appreciated.

In my case, I think I had to uncheck, then recheck the Ticket box in the Phosh Mobile Settings app. (Also, make sure you spelled “phosh-ticket-box” correctly.)

1 Like

You don’t have to do that every time you add a PDF, do you?

No. Once the link to the folder is in effect, it should display all PDFs in that folder.

I see. If you have multiple files for some reason, does it squeeze them all into the same window?

You can only open one PDF at a time, and you can’t move or resize the open one to access a second one behind it:


Does it let you choose, then? That would be ideal, I think.

Yes, you just tap the one you want to open; close it with the “x” if you want to open another one from the contents of the phosh-ticket-box folder that you created in the home directory and populated with PDFs.

2 Likes

Interesting…


If you double-click the > symbol (top left), you get this screen:

(I changed my background to the default so you can see it better.)

These buttons are not active, however.

What if you have an active call?

1 Like

Maybe they’re for that call waiting everyone’s looking for.

That’s it. Good thinking. Called my L5 and that screen popped up, active.

1 Like

Where do I enter emergency info for the Phosh lockscreen plugin?

Create a file with your emergency info, then save it as a PDF.

Create a folder in your home directory called phosh-ticket-box as described here: Lockscreen widgets

Add your PDF. You can have multiple PDFs in this folder; you’ll be able to choose and display any of them (one at a time) from the lockscreen.

Don’t forget to enable the Ticket box in the phosh Mobile Settings app.

1 Like

I think @tomoqv is talking about the new Lockscreen widgets which just show up in the last update.

The file where to add you emergency info is: ~/.config/phosh/EmergencyInfo.keyfile

The file format is given in emergency-info.c:

 /**
 * PhoshEmergencyInfo:
 *
 * Show emergency information and contacts
 * Calling contacts is not supported
 * For now, you need to manually create a GKeyfile at
 * `~/.config/phosh/EmergencyInfo.keyfile` with contents looking like:
 * 
 * [Info]
 * # Emergency Info On the Owner
 * # If you do not add one of the items (or leave the item blank),
 * # the section will not display in the lockscreen.
 *
 * OwnerName=Chris
 * # You can make a newline with \n
 * HomeAddress=Lorem ipsum\nLorem ipsum
 * DateOfBirth=1 Jan, 1970
 * PreferredLanguage=C, MATLAB
 * Age=10,000
 * BloodType=Lorem ipsum
 * Height=163 cm
 * Weight=74 kg
 * # You can add multiple and seperate by a ";"
 * Allergies=Lorem ipsum dolor 1;Lorem ipsum dolor 2
 * # You can add multiple and seperate by a ";"
 * MedicationsAndConditions=Lorem ipsum 1;Lorem ipsum 2
 * OtherInfo=Lorem ipsum dolor sit amet
 *
 * [Contacts]
 * # You can add as many contacts as you want here
 * Contact 1=(123) 555-12;Brother
 * Contact 2=(204) 555-00
 * ```
 */
6 Likes