PINE64
Scaling problem Arch Linux Phosh - 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: Arch Linux on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=159)
+---- Thread: Scaling problem Arch Linux Phosh (/showthread.php?tid=17395)



Scaling problem Arch Linux Phosh - Chief - 09-25-2022

I see that an old bug has resurfaced? I have always edited the phoc.ini in the phosh directory to 150% but I see now that after reboot it has returned to 200% default. It appears as though the phoc.ini no longer controls the scaling?
Has anyone else run into this issue very recently?
If so were you able to fix it or edit another file?


RE: Scaling problem Arch Linux Phosh - cone99 - 09-26-2022

I can confirm. I think it started on the 0.21.0-1 update for me. I haven't looked into it but no ".pacnew" was generated. Saying that, I just tested and it's still ignored on a reboot, like you say.


RE: Scaling problem Arch Linux Phosh - Chief - 09-26-2022

(09-26-2022, 05:49 AM)cone99 Wrote: I can confirm. I think it started on the 0.21.0-1 update for me. I haven't looked into it but no ".pacnew" was generated. Saying that, I just tested and it's still ignored on a reboot, like you say.

It's only mildly annoying but hopefully it's fixed 'again' like in 2021 where it was reported as a bug.


RE: Scaling problem Arch Linux Phosh - mikehenson - 09-26-2022

I would like to know a way to keep the 150% scaling on reboot.


RE: Scaling problem Arch Linux Phosh - Chief - 09-26-2022

(09-26-2022, 12:02 PM)mikehenson Wrote: I would like to know a way to keep the 150% scaling on reboot.

sudo nano /usr/share/phosh/phoc.ini

Note the values of "2" which are 200%.
Change that value to desired for example 1.5 (150%)
It can be 1.49 or 1.48 as the finest vales are adjusted too.

Ctrl O - then enter
Ctrl X - leaves editor.
On reboot the screen should be at 150% but instead the same bug occurs and it defaults to 200%
I suspect that a script is executed after the phoc.ini has been read and defaults. My guess.


RE: Scaling problem Arch Linux Phosh - Chief - 09-26-2022

I have been doing some research at gitlab / phosh and it seems to me that phoc.ini may have been dropped. I also noticed the directory tree
phosh/data/phoc.ini
There is no data folder at present. Although the phoc.ini still exists it appears as though it is no longer read by the system.
I once suggested to the Phosh fellows to put a scaling slider in the banner below brightness and volume sliders as this would solve even this issue.
Why they have not done this is a mystery since it is a simple addition to do. Very simple.
The phosh mystery continues ...


RE: Scaling problem Arch Linux Phosh - cone99 - 09-27-2022

I had a look through all the "gsettings" but couldn't find anything.

Interestingly, I copied "/usr/share/phosh/phoc.ini -> /etc/phosh/phoc.ini" and rebooted. Boot got stuck in a loop until I ssh'd in and deleted "/etc/phosh/phoc.ini". Seems to indicate it's still reading the file during boot.


RE: Scaling problem Arch Linux Phosh - Chief - 09-27-2022

(09-27-2022, 06:42 AM)cone99 Wrote: I had a look through all the "gsettings" but couldn't find anything.

Interestingly, I copied "/usr/share/phosh/phoc.ini -> /etc/phosh/phoc.ini" and rebooted. Boot got stuck in a loop until I ssh'd in and deleted "/etc/phosh/phoc.ini". Seems to indicate it's still reading the file during boot.

Interesting - and it seems as though another script after phoc.ini is being the default value.
For what it's worth I have a second PP with Postmarket Plasma and it is working great. 
I'll stick with that (nicer interface) until Phosh gets it's crap sorted out.