Hi, I am using KDE Plasma 5.27.5 in Debian 12 with Wayland. Becaue my screen resolution is 1920x1080
, I am using 175% scaling. Some X11 based apps act weirdly with scaling on, i.e: AnyDesk. I wanna disable the scaling only for the Xwayland or the specific app. How can I achieve that?
Hi! Just checking, have you already tried both modes of handling XWayland/X11 application scaling in the System Settings > Display & Monitor page?
If so, and if the application doesn’t quite look right, you might be running into just some fundamental limitations of the platform - see this thread for example: What's up with scaling of X11 applications on Wayland?
Others with more display knowledge may have more tips here though
I tried both settings with reboot, same result and no change.
Below is how anydesk behaves with scaling.
Mouse is clicking at the correct location but the remote view is minimized to 1/4th of the main window.
With scaling set to 100%, it looks perfectly fine though.
The compositor and toolkit can only go so far.
Here Anydesk clearly does not scale its content rendering and display it “raw”/not taking into account the scaling while the GUI element (buttons…) seem to scale correctly.
I am afraid with this application you will have to use 100% scaling, until they update their code to improve their X11 scaling support or add support for Wayland.
You can’t really have this per-application as in X11, all apps share the same “screen-space”.
This settings is just a band-aid as advertised by the feature in the (i).
Hopefully you don’t have too-many other X11 only application, but with a Debian 12, every packages must be pretty old and Wayland support far from today’s standards.
Can I disable the scaling for the whole X11 “screen-space”?
So Wayland apps will use scaling and X11 apps won’t.
In other words, Can I disable the scaling for the whole Xwayland?
That’s the point of the settings:
Scaling themselves => let application try to scale by themselves
Scaled by the system => let the wayland compositor scale the X11 applications, necessary otherwise the mouse position would be inconsistent and the Ui way too small
That’s all in the (i) text.
@meven thanks for the reply.
but that particular setting “Legacy applications (X11)” is not making a difference for me on X11 based apps. It looks exactly same on both settings. Why is that?