Does anyone know where the scale to fit information is store?
#6
(09-06-2020, 10:54 AM)ragreenburg Wrote:
(09-06-2020, 08:26 AM)spaetz Wrote:
(09-05-2020, 06:58 PM)ragreenburg Wrote:
(09-05-2020, 04:54 PM)spaetz Wrote:
(09-04-2020, 07:33 PM)ragreenburg Wrote: What I mean is when I type in scale-to-fit firefox-ers on, where does that information get stored so that the phone knows to keep it that way?

https://source.puri.sm/Librem5/phoc/-/bl...to-fit#L26
Sorry, I should have been more clear. I mean store on the phone. I looked at their script and it has a path in it that I certainly can't find on Mobian of /sm/Puri/phoc/application/
Yes, it uses gsettings (the equivalent of the windows registry) and you can get and set these entries using the command I linked above. It *is* where scale-to-fit save the info as the list is part of the scale-to-fit source.
I am still a bit confused on where I can find this information on my phone though. Because I made an app that scales everything but realized that without being able to check and see if they are already scaled it'd be impossible for it to know what is and isn't scaled.
The best way I've found to check the scale-to-fit settings is to use the dconf Editor application. Open the app and navigate to sm/puri/phoc/application, then you'll see a list of applications, and you can check each individually to see if scale-to-fit is set to "true" or "false" (you can also change the setting this way, rather than using the command line).


Messages In This Thread
RE: Does anyone know where the scale to fit information is store? - by DarkManiels - 09-11-2020, 09:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Make scale setting persistent 3x5co 2 2,558 10-26-2021, 05:57 PM
Last Post: 3x5co
  Software store crashes LMalilil 3 5,171 09-28-2020, 10:13 AM
Last Post: ThrillGates
  Global scale-to-fit? DarkManiels 5 8,535 09-03-2020, 05:02 PM
Last Post: DarkManiels
  anyone notice that scale-to-fit works on some apps, but not others? arturo2bodegas 1 3,101 08-01-2020, 10:58 AM
Last Post: bcnaz
  Video output scale after update 14/07/2020 antiX-Dave 3 5,300 07-16-2020, 04:32 AM
Last Post: a-wai

Forum Jump:


Users browsing this thread: 2 Guest(s)