Automatic app scaling
#1
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
#2
(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
#3
It works for me with gPodder, it's not working with KeepassXC for some reason, even after rebooting and uninstalling/reinstalling KeepassXC.
#4
How do you find the app id?
#5
(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.
#6
(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")
#7
This works great with modem-manager-gui and gnome-tweaks!
#8
(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.
#9
It doesn't appear to work with gimp Sad

doesn't appear to work with vlc, either Sad
#10
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?


Possibly Related Threads…
Thread Author Replies Views Last Post
  Disable *automatic* on-screen keyboard iwakura_lain 0 1,216 06-11-2022, 09:49 AM
Last Post: iwakura_lain
  Automatic Brightness Stuck On biketool 3 3,242 04-05-2022, 11:49 AM
Last Post: henrythemouse
  How to do automatic login or shorten the login number amosbatto 0 1,276 12-08-2021, 09:29 PM
Last Post: amosbatto
  How To: Set up custom scaling for those who want sizes between 100%-200% AwHereWeGoAgain 2 3,452 07-01-2021, 07:59 AM
Last Post: AwHereWeGoAgain
  Anyway to set up automatic backups? AwHereWeGoAgain 1 2,382 06-21-2021, 02:40 AM
Last Post: evilbunny
  Scaling Telegram to below 100% mynameisearlb 1 2,577 04-28-2021, 01:12 AM
Last Post: dukla2000
  Squeekboard scaling henkdieter 1 3,074 08-18-2020, 10:38 AM
Last Post: fins

Forum Jump:


Users browsing this thread: 2 Guest(s)