Quantcast
Channel: CodeSection,代码区,Linux操作系统:Ubuntu_Centos_Debian - CodeSec
Viewing all articles
Browse latest Browse all 11063

HowTo Fix Tiny Font On High DPI Screen in Ubuntu

$
0
0

I recently acquired a new Dell XPS15 laptop, thanks to a very generous gift from Dell . It has a very nice screen, and much higher DPI than I’m used to.

However, after installing Ubuntu 16.04 LTS on it, the standard font size was unreadably tiny. I tried a bunch of things to fix the issue ― using TweakTool to increase my theme’s font sizes, increasing the font size and zoom in individual applications, all kinds of things ― but this was only a partial fix, and lots of things still didn’t work properly:

Icon labels on the Desktop were still unreadably small. The text in the address/search bar in Chrome was unreadably tiny. Webpages themselves ended up with bizarre CSS text problems, mostly a combination of text being huge, but the containing box still being tiny, so the text wouldn’t fit, and so you’d have weird overflow issues or text getting cut off. Various apps wouldn’t remember settings, and would reset to tiny unreadable fonts.

Finally I figured it out, and it’s really simple.

How To Fix It

Fire up the Unity control center (yes, I use Unity. I’m used to it.) and select Displays to access the display settings.


HowTo Fix Tiny Font On High DPI Screen in Ubuntu

Screenshot of the Settings application. You want to select ‘Displays’.

In the Displays settings, at the bottom left is an option for “Scale for menu and title bars”. This was set to 1, and I increased it to 2, which made everything look fine.


HowTo Fix Tiny Font On High DPI Screen in Ubuntu

Displays settings for Ubuntu. Note the ‘Scale for menu and title bars:’ option.

This scales everything to a readable size, and I could reset all my fonts back to something a little more sane (12 point instead of 32 point, for example).

It fixes the address bar in Chrome, and the icon labels in Nautilus. Everything, basically.

I hope this helps you. I looked high and low for this solution and couldn’t find much, and what I found wasn’t very helpful.

If this does help you out, leave a comment or link to this blog so more people can find the solution.


Viewing all articles
Browse latest Browse all 11063

Trending Articles