Skip to content
Discussion options

You must be logged in to vote

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:

Xft.dpi: 180
Xft.autohint: 0
Xft.lcdfilter:  lcddefault
Xft.hintstyle:  hintfull
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb

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.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@bat17v
Comment options

@fufexan
Comment options

Comment options

You must be logged in to vote
3 replies
@noahfraiture
Comment options

@tannerellen
Comment options

@noahfraiture
Comment options

Answer selected by bat17v
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants