HiDPi 144dpi 1.5 scaling #7923
-
I have a monitor with 144 dpi. So, I need to scale all element to 1.5. It perfectly works by wayland. But on Xorg apps looks pixeled. I know that I can turn off scaling xwayland by adding to config:
Add then I need to scale element using toolkit-specific methods, but I cannot found how can I configure fractional scaling in GDK? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
GDK does not support fractional scaling. |
Beta Was this translation helpful? Give feedback.
-
The best way I have found to scale xwayland apps is to adjust the dpi settings for them. xwayland { You need to install xorg-xrdb and then specify a dpi setting in ~/.Xresources
The base dpi is 96. So you would multiply that by whatever your scale is to get your dpi. So if your scale is 1.5:
It's not perfect but it's way better than blurry. |
Beta Was this translation helpful? Give feedback.
The best way I have found to scale xwayland apps is to adjust the dpi settings for them.
Make sure hyprland has:
xwayland {
force_zero_scaling = true
}
You need to install xorg-xrdb and then specify a dpi setting in ~/.Xresources
My current config is:
The base dpi is 96. So you would multiply that by whatever your scale is to get your dpi. So if your scale is 1.5:
96 * 1.5 = 144
Xft.dpi: 144
It's not perfect but it's way better than blurry.