Settings are reset after reboot
#1
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.
  Reply
#2
Because you mentioned landscape mode: is there a command (gsettings?) that can change the screen orientation?
  Reply
#3
For reference, https://wiki.mobian-project.org/doku.php...-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).
  Reply
#4
(08-15-2023, 02:33 PM)fxc Wrote: For reference, https://wiki.mobian-project.org/doku.php...-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/.
  Reply
#5
(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...-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
  Reply
#6
(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...-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?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  The language I've added on settings doesn't appear Gon 2 2,287 08-15-2022, 01:55 PM
Last Post: Gon
  No automatic hub connection on reboot. --- 0 1,258 02-06-2022, 06:52 PM
Last Post: ---
  Poweroff/Reboot fails AndyM 2 3,454 09-18-2021, 06:55 PM
Last Post: jmorris
  Backup user data and settings kratz00 4 5,903 02-28-2021, 03:39 PM
Last Post: kuleszdl

Forum Jump:


Users browsing this thread: 1 Guest(s)