Hacker News new | ask | show | jobs
by Aengeuad 2157 days ago
A note on HiDPI since a lack of fractional scaling is always brought up as a frustration point: with Xresources you can set 'Xft.dpi' to an appropriate value (like 144) and restart your X session and most programs/toolkits should scale fonts appropriately (Java is occasionally an exception but the same is true on Windows), it won't scale things like icons which can make the experience frustrating if your program has no other means to scale interfaces but this experience is about what you'd get on something like Windows 7 or 8. Additionally if you need multi-monitor support you can use display scaling (also known as upscaling) with RandR 1.3 (released around a decade ago) to upscale low DPI screens so that the fonts will be equal sizes on both monitors, e.g., 96 dpi -> 144 is 1.5x so a 1920x1080 monitor will become 2880x1620.

None of this is perfect or easy to set up and it's in no way a substitute for fractional scaling support in the toolkits of the programs you're using but it has worked for a very long time and produces appropriately sized crisp and sharp fonts on all monitors, and more importantly it should work reasonably well even on outdated programs or toolkits that have no support for fractional scaling. The Arch wiki link should explain this but it's not spelled out and there's a bit of a misconception that fractional scaling is the only way to get a blur free HiDPI experience on Linux when that just isn't the case at all.

1 comments

I'm not sure what the note about fractional scaling is about. Pinebook Pro's screen is not hidpi - it's just a regular 1920x1080 13" screen.
On a Windows that would render at 125% or 150% scaling. 1080p on a 13" screen is actually quite small. Even on my 15" laptop with a 4K screen at 200%, which is equivalent to 1080p at 100% in terms of scale, I find everything feels tiny.

Fractional scaling does not have to be only for super high res screens.