PINE64
Automatic app scaling - 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: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Automatic app scaling (/showthread.php?tid=10527)

Pages: 1 2


Automatic app scaling - a-wai - 07-02-2020

Hi,

In the past few days, a new phoc version has been released, which brings a long-awaited feature: automatic scaling of large windows!
It is however disabled by default, as it could cause some strange behavior for apps not requiring such "extreme" measures.

Therefore, this feature has to be enabled on a per-app basis, using instructions from the wiki.

Feel free to experiment and share your experience here or on the wiki Smile


RE: Automatic app scaling - chris_02 - 07-02-2020

(07-02-2020, 02:59 AM)a-wai Wrote: Hi,

In the past few days, a new phoc version has been released, which brings a long-awaited feature: automatic scaling of large windows!
It is however disabled by default, as it could cause some strange behavior for apps not requiring such "extreme" measures.

Therefore, this feature has to be enabled on a per-app basis, using instructions from the wiki.

Feel free to experiment and share your experience here or on the wiki Smile

Hi a-wai,

I've just tested with geary and galculator; it's working fine.

Thank you


RE: Automatic app scaling - sinclair489 - 07-02-2020

It works for me with gPodder, it's not working with KeepassXC for some reason, even after rebooting and uninstalling/reinstalling KeepassXC.


RE: Automatic app scaling - wibble - 07-02-2020

How do you find the app id?


RE: Automatic app scaling - antiX-Dave - 07-03-2020

(07-02-2020, 09:28 AM)wibble Wrote: How do you find the app id?

I think it is the process exec/command (real name?).
At least the process names are working great for me.


RE: Automatic app scaling - devrtz - 07-04-2020

(07-03-2020, 05:04 PM)antiX-Dave Wrote:
(07-02-2020, 09:28 AM)wibble Wrote: How do you find the app id?

I think it is the process exec/command (real name?).
At least the process names are working great for me.


From the matrix chat:



Sebastian Krzyszkowiak Wrote:you can check it by launching the app with
Code:
Code:
WAYLAND_DEBUG=client
and looking for a line like
Code:
Code:
-> xdg_toplevel@37.set_app_id("gedit")



RE: Automatic app scaling - 0x070 - 07-04-2020

This works great with modem-manager-gui and gnome-tweaks!


RE: Automatic app scaling - wibble - 07-05-2020

(07-04-2020, 12:08 AM)devrtz Wrote:
(07-03-2020, 05:04 PM)antiX-Dave Wrote:
(07-02-2020, 09:28 AM)wibble Wrote: How do you find the app id?

I think it is the process exec/command (real name?).
At least the process names are working great for me.


From the matrix chat:



Sebastian Krzyszkowiak Wrote:you can check it by launching the app with
Code:
Code:
WAYLAND_DEBUG=client
and looking for a line like
Code:
Code:
-> xdg_toplevel@37.set_app_id("gedit")
That method of getting the app id seems to be for wayland-native apps only. With apps using xwayland (navit and foxtrotgps so far) I don't get the wayland debug output. They seem to be about the right size, but using landscape instead of portrait and vice versa, so scaling may be the wrong thing for them anyway. For those two forcing fullscreen is a viable workaround, but not everything will have that option.


RE: Automatic app scaling - Hiraghm - 07-06-2020

It doesn't appear to work with gimp Sad

doesn't appear to work with vlc, either Sad


RE: Automatic app scaling - Boern - 07-07-2020

Dang, python3 apps report an app-id of python3. At least qtqr does.
I'll keep it on until something breaks.

Any way to enable it for every window?