PINE64
Resize apps for postmarket OS - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: PostmarketOS on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=124)
+---- Thread: Resize apps for postmarket OS (/showthread.php?tid=11552)



Resize apps for postmarket OS - zeb11 - 09-20-2020

Hello,
I would like to help make apps work on pinephone with postmarket os.
Could anybody help me where I can find information howto adapt the apps to work on the mobile screen ?
I have tried diferent options for email, geary is really nice but needs some fine-tuning.

If somebody could point me in the right direction please Cool


RE: Resize apps for postmarket OS - tmp - 09-20-2020

Hi,

Nice you want to help Smile

I think you can use libhandy to make gtk app adaptive.

You can find tutorials to learn how to use this lib: for example.

You can also take a look at gnome apps commits on gitlab.

(I have not yet tried libhandy myself)


RE: Resize apps for postmarket OS - zeb11 - 09-20-2020

thanks for your reply!

I was looking into flatpack and it looks like its well documented but I read that it's not
really supported by postmarketos ?

I will have a look at gnome-apps and see what I can do.

Thank you for your help, really appreciated!


RE: Resize apps for postmarket OS - tmp - 09-21-2020

I can't tell you about flatpack (I use Nix which I really like and which according to my first tests runs well on the pinephone).

Maybe you already know, but a workaround exists to resize an app (until the app is refactored with for example libhandy). In a terminal, you can type:

Code:
scale-to-fit geary on

And you can do the same for the app of your choice (take a look at this section of mobian wiki, working also on postmarketos)


RE: Resize apps for postmarket OS - zeb11 - 09-23-2020

thank you for this  Smile  .With this tweak I managed to resize geary so I can use it now
without problems.
Its not easy to get the app-id for some, but found these already:

App:              Id:
geary             geary
weather         org.gnome.weather
Photos           org.gnome.photos
KeePassXC     org.keepassxc.KeePassXC

Still looking howto figure out the id of Nextcloud...


RE: Resize apps for postmarket OS - jmorris - 09-24-2020

(09-21-2020, 01:57 PM)tmp Wrote: Maybe you already know, but a workaround exists to resize an app (until the app is refactored with for example libhandy). In a terminal, you can type:

Code:
scale-to-fit geary on

And you can do the same for the app of your choice (take a look at this section of mobian wiki, working also on postmarketos)

Where do I get that command?  It isn't part of the phoc package.  It just has an executable and an xml schema. I'm on the edge release of pmos and have phoc-0.4.2-r0 installed.


RE: Resize apps for postmarket OS - ragreenburg - 09-25-2020

(09-20-2020, 10:10 AM)zeb11 Wrote: Hello,
I would like to help make apps work on pinephone with postmarket os.
Could anybody help me where I can find information howto adapt the apps to work on the mobile screen ?
I have tried diferent options for email, geary is really nice but needs some fine-tuning.

If somebody could point me in the right direction please Cool
Oh hey, I am a week late to this but I literally made this app about two weeks ago. Here's a link to the source code.
https://gitlab.com/greenbeast/gtk_scaling_app

Also if you want to work on some apps together I'd be happy to join in on this.


RE: Resize apps for postmarket OS - zeb11 - 09-26-2020

(09-25-2020, 12:13 AM)ragreenburg Wrote: Oh hey, I am a week late to this but I literally made this app about two weeks ago. Here's a link to the source code.
https://gitlab.com/greenbeast/gtk_scaling_app

Also if you want to work on some apps together I'd be happy to join in on this.

Hi, I'm just checking out your app and how to use it. Would be great to work together on something, are you using pmos or Mobian on your phone ?


RE: Resize apps for postmarket OS - ragreenburg - 09-26-2020

(09-26-2020, 06:05 AM)zeb11 Wrote:
(09-25-2020, 12:13 AM)ragreenburg Wrote: Oh hey, I am a week late to this but I literally made this app about two weeks ago. Here's a link to the source code.
https://gitlab.com/greenbeast/gtk_scaling_app

Also if you want to work on some apps together I'd be happy to join in on this.

Hi, I'm just checking out your app and how to use it. Would be great to work together on something, are you using pmos or Mobian on your phone ?
I am using Mobian but theoretically anything that works on Phosh should work on any of the OS's using it. Or at least that is my understanding. To use the app though just clone the repo and run the script that is something like scaling_gtk.py or something close to that. Do you use Matrix or anything like that? Because that's be a bit easier to communicate on as I check these forums like once or twice a week.