Why Dillo Looks Tiny on 4K Linux Screens

· pablo's blog

A short, practical note on Dillo, HiDPI scaling, FLTK, and a few workarounds.

Why Dillo Looks Tiny on 4K Linux Screens #

Dillo is one of those browsers that feels like it came from a cleaner version of the web. It is fast, quiet, simple, and refreshingly uninterested in pretending to be an operating system. That is exactly why people still like it.

But if you open it on a 4K Linux desktop, there is a good chance it will look almost comically small. The page text may be readable after some tweaking, but the buttons, menus, address bar, and general interface can feel like they were designed for a much older monitor.

That is not really a mystery. Dillo is lightweight by design, and its interface is built on FLTK, the Fast Light Toolkit. Current Dillo builds have traditionally used FLTK 1.3, and that is where the HiDPI problem starts. FLTK 1.3 was not built around modern 4K scaling expectations. FLTK 1.4 improves this area, but Dillo's move toward it is still a work in progress.

In plain English: Dillo does not fully understand your 4K screen yet.

Most modern Linux apps ask the desktop environment what scaling it should use. On a 4K display that might be 150%, 175%, or 200%. GTK and Qt apps usually handle this much better. Dillo, especially when built with older FLTK, does not scale the whole interface cleanly. So you end up with a browser that is technically working, but visually uncomfortable.

The first workaround is to increase Dillo's font factor. Open or create this file:

1nano ~/.dillo/dillorc

Then add or adjust:

1font_factor=1.5

If that is still too small, try:

1font_factor=2.0

This helps the page text, but it will not magically fix every part of the interface.

The second workaround is to add a small custom stylesheet:

1mkdir -p ~/.dillo
2nano ~/.dillo/style.css

Add something like:

1body {
2  font-size: 20px !important;
3}

That makes many pages easier to read. Again, it mainly helps the web content, not the whole browser chrome.

If your Dillo build is linked against FLTK 1.4, you can also try launching it with a scaling factor:

1FLTK_SCALING_FACTOR=2 dillo

or a softer value:

1FLTK_SCALING_FACTOR=1.5 dillo

Whether this works depends on how Dillo was built on your system. If it is still using FLTK 1.3, do not expect miracles.

To check what your system is using, run:

1which dillo
2ldd "$(which dillo)" | grep -i fltk

If you see FLTK 1.3, that explains a lot.

So the short version is this: Dillo is not broken. It is just old-school in a world of high-density screens. It was built to be small, fast, and modest. That makes it beautiful on old machines and simple pages, but awkward on a modern 4K desktop.

Use it for what it is good at: reading simple pages, testing minimal websites, browsing lightweight documentation, and enjoying a browser that does not eat your machine alive.

But if you want a comfortable daily browser on a 4K Linux setup, be honest with yourself. Dillo is probably not the one. Not yet.

last updated: