Re:Ask HN: Those with a Hi-DPI *nix setup, what desktop are ...
by kevinherron on Thursday October 03, 2019 @04:17PM
(#21151662)
KDE. Don't bother with fractional scaling though.
If 2x isn't the natural scaling for your monitors, set the toolkits to 2x anyway and then using xrandr to render into a larger buffer that is scaled down to the "effective" resolution you're looking for. This is basically the same approach macOS uses.
It also works on GNOME, there's nothing KDE-specific about it.
For example, my X1C6 has a 2560x1440 resolution, but the effective resolution I'd like to see is 1600x900:
If 2x isn't the natural scaling for your monitors, set the toolkits to 2x anyway and then using xrandr to render into a larger buffer that is scaled down to the "effective" resolution you're looking for. This is basically the same approach macOS uses.
It also works on GNOME, there's nothing KDE-specific about it.
For example, my X1C6 has a 2560x1440 resolution, but the effective resolution I'd like to see is 1600x900:
xrandr --output eDP1 --fb 3200x1800 --panning 3200x1800 --scale 1.25x1.25
I have 27" 4K monitors hooked up to my desktop that I use the same approach with, but rendered into a 5120x2880 buffer and scaled by 1.33x1.33.