How to Adjust Chrome UI Font Size on X11

Photo of author

I use Xft.dpi: 144 in my .Xresources file to make UI fonts bigger, but that doesn’t work for Chrome. UI font appears very small for Chrome. This is a known issue and there are quite a few solved questions on StackOverflow about this, for example, this one.

The solution boils down to:

  1. We need to launch Chrome with a custom flag: /usr/bin/google-chrome --high-dpi-support=1 --force-device-scale-factor=1.5.
    • You need to use whatever scale factor you want for your system. It’s 1.5 for me since I use 144 (96 * 1.5).
  2. For people who use launchers to launch Chrome, you will have to update the launcher too.
    • This can be done by copying the file /usr/share/applications/google-chrome.desktop to ~/.local/share/applications/google-chrome.desktop and then updating every single Exec command inside the file to the command we saw in step #1.

And that’s it. Chrome should have the same UI font size as your system. If not, try rebooting your device.

Oh hi there 👋
It’s nice to meet you.

Sign up to receive updates in your inbox once a week.

I don’t spam! You can always unsubscribe if you don't like it.

🗞️ Don’t miss the latest posts!

Subscribe to the Weekly Newsletter

I won't spam. Promise!

Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments