Resize apps for postmarket OS
#1
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
#2
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)
#3
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!
#4
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)
#5
Smile 
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...
#6
(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.
#7
(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.
#8
(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 ?
#9
(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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to set default apps Barugon 4 413 09-27-2022, 02:14 PM
Last Post: Barugon
  Postmarket os printer setup Chief 2 320 09-16-2022, 05:19 PM
Last Post: Chief
  Help with ssh and setting default apps jojuma 2 321 09-10-2022, 07:55 AM
Last Post: jojuma
  closing apps rather than leaving them running (phosh) lordearl 7 3,442 02-03-2022, 09:14 PM
Last Post: parry
  axolotl signal client on postmarket os? nieral 2 1,798 10-29-2021, 07:41 AM
Last Post: nieral
  No camera app on PinePhone Postmarket Edition / Phosh Noah222 3 3,456 12-02-2020, 03:38 PM
Last Post: jmorris
  Initial thoughts, PinePhone PostMarket edition. plainenough 28 23,383 11-18-2020, 03:43 AM
Last Post: eKeith
  More Apps! Zweitaktmotor 6 5,194 03-24-2020, 04:59 AM
Last Post: PureTryOut

Forum Jump:


Users browsing this thread: 1 Guest(s)