Current state of DPI settings under X

Vladimir Kudrya vladimir-csp at yandex.ru
Wed Aug 30 16:13:00 UTC 2017


I was happy with 96 DPI everywhere until I bought new laptop that 
jam-packed 1920x1080 into 13.3" screen.

Jumping between 24" and 13.3" displays 2-3 times a day suddenly became a 
pain.

Getting back to ways of configuring DPI: After some more digging I found 
that fontconfig falls back to xrdb, so this simplifies the setup down to 
two locations: xrandr+xrdb (as long as DPI is unset in fontconfig).

Scriptable and hookable anyway, still a mess, but a bit more clear.


On 2017-08-30 17:54, Keith Packard wrote:
> Thiago Macieira <thiago at kde.org> writes:
>
>> I'm currently running at 216 DPI and I don't have any application misbehaving,
>> not even the ones that don't support scaling up icons, margins, etc.
> I've left my X setting at 96 but run the 'fonts' configuration at
> 150 and have firefox set to double its layout. I could try fussing with
> settings more, but nothing seems weird at this point.


More information about the xdg mailing list