PINE64
How do I tell Phosh that my app is mobile friendly? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=177)
+--- Forum: PinePhone Pro Software (https://forum.pine64.org/forumdisplay.php?fid=179)
+--- Thread: How do I tell Phosh that my app is mobile friendly? (/showthread.php?tid=18311)



How do I tell Phosh that my app is mobile friendly? - Barugon - 06-05-2023

I'm writing an app using egui but the launcher only shows up if I click "Show All Apps". How do I get the launcher to show up when only mobile friendly apps are shown?


RE: How do I tell Phosh that my app is mobile friendly? - tophneal - 06-05-2023

looks like you need to add this to your .desktop file

Code:
X-Purism-FormFactor=Workstation;Mobile;


https://linmob.net/phosh-0-12-app-drawer/


RE: How do I tell Phosh that my app is mobile friendly? - Barugon - 06-05-2023

(06-05-2023, 02:22 PM)tophneal Wrote: looks like you need to add this to your .desktop file

Code:
X-Purism-FormFactor=Workstation;Mobile;


https://linmob.net/phosh-0-12-app-drawer/

Thanks.

@tophneal
Do you happen to know how to prevent the on-screen keyboard from popping up when the app starts?


RE: How do I tell Phosh that my app is mobile friendly? - tophneal - 06-05-2023

(06-05-2023, 02:33 PM)Barugon Wrote: Do you happen to know how to prevent the on-screen keyboard from popping up when the app starts?

I know you can disable the OSK through Settings > Accessibility, but I think that disabled it all together, probably not your use case of hiding the OSK when your app is started from the Phosh drawer(?)


RE: How do I tell Phosh that my app is mobile friendly? - Barugon - 06-05-2023

(06-05-2023, 03:50 PM)tophneal Wrote: I know you can disable the OSK through Settings > Accessibility, but I think that disabled it all together, probably not your use case of hiding the OSK when your app is started from the Phosh drawer(?)

I don't want to completely disable the keyboard but for some reason, it pops up when my app starts. If I press the keyboard icon in the lower right to hide the keyboard, bring up the app drawer and then return to my app then the keyboard is back again.


RE: How do I tell Phosh that my app is mobile friendly? - Barugon - 06-05-2023

Turns out that it's an issue with egui: https://github.com/emilk/egui/issues/3057