PINE64
Settings are reset after reboot - 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: Settings are reset after reboot (/showthread.php?tid=16113)



Settings are reset after reboot - lacriz - 02-17-2022

Hello,

I just recently switched from arch to pmos. So far I like it a lot, esp. convergence.
I also just recently received my pinephone keyboard and use it all the time now.

For that reason I would like to have these 2 settings permanently (I change them in the phosh settings app):
1) accessibility -> disable virtual keyboard (I do not need it anymore and it takes up a lot of screen space)
2) display -> set scale from 200% to 150% (makes many apps a lot more useable in landscape mode)

Sadly, whenever I shutdown (in the evening) + start-up the phone (in the morning), these 2 settings are back to their default.

Is there a workaround for this? I am willing to write a script or whatever, this is super annoying to me.


RE: Settings are reset after reboot - svenh - 01-30-2023

Because you mentioned landscape mode: is there a command (gsettings?) that can change the screen orientation?


RE: Settings are reset after reboot - fxc - 08-15-2023

For reference, https://wiki.mobian-project.org/doku.php?id=tweaks#scale-the-screen-variant-2 is the correct method to edit the scaling persistently. I have removed two comments above referencing the wrong path, potentially misleading users (and this already caused damage in the community chat).


RE: Settings are reset after reboot - car46999 - 08-28-2023

(08-15-2023, 02:33 PM)fxc Wrote: For reference, https://wiki.mobian-project.org/doku.php?id=tweaks#scale-the-screen-variant-2 is the correct method to edit the scaling persistently. I have removed two comments above referencing the wrong path, potentially misleading users (and this already caused damage in the community chat).

I tried this last night on 20230710-0752-postmarketOS-v23.06-phosh-22.2-pine64-pinephone, but the directory etc/phosh does not exist on my phone. I created the directory, copied the file over and made the edit. But the phone would then boot to a console login. 
Same thing happened if I edit /usr/share/phosh/.


RE: Settings are reset after reboot - fxc - 08-29-2023

(08-28-2023, 06:26 PM)car46999 Wrote:
(08-15-2023, 02:33 PM)fxc Wrote: For reference, https://wiki.mobian-project.org/doku.php?id=tweaks#scale-the-screen-variant-2 is the correct method to edit the scaling persistently. I have removed two comments above referencing the wrong path, potentially misleading users (and this already caused damage in the community chat).

I tried this last night on 20230710-0752-postmarketOS-v23.06-phosh-22.2-pine64-pinephone, but the directory etc/phosh does not exist on my phone. I created the directory, copied the file over and made the edit. But the phone would then boot to a console login. 
Same thing happened if I edit /usr/share/phosh/.

That would happen if there is a syntax error in the file. Best to provide the whole file here and then we can tell you what went wrong.

For postmarketOS, the instructions are equal: https://wiki.postmarketos.org/wiki/Phosh#Screen_Scaling


RE: Settings are reset after reboot - car46999 - 08-29-2023

(08-29-2023, 08:45 AM)fxc Wrote:
(08-28-2023, 06:26 PM)car46999 Wrote:
(08-15-2023, 02:33 PM)fxc Wrote: For reference, https://wiki.mobian-project.org/doku.php?id=tweaks#scale-the-screen-variant-2 is the correct method to edit the scaling persistently. I have removed two comments above referencing the wrong path, potentially misleading users (and this already caused damage in the community chat).

I tried this last night on 20230710-0752-postmarketOS-v23.06-phosh-22.2-pine64-pinephone, but the directory etc/phosh does not exist on my phone. I created the directory, copied the file over and made the edit. But the phone would then boot to a console login. 
Same thing happened if I edit /usr/share/phosh/.

That would happen if there is a syntax error in the file. Best to provide the whole file here and then we can tell you what went wrong.

For postmarketOS, the instructions are equal: https://wiki.postmarketos.org/wiki/Phosh#Screen_Scaling

Good call. In the original /usr/share/phosh/phoc.ini file, the [output:DSI-1] has a # in front of it. I deleted it and that worked. Thanks.
...
#[output:DSI-1]
# scale = 2
scale = 1.5
...

Bonus question, is there anyway to keep that scale but have the full size keyboard?