Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I set a custom value for font DPI in KDE?

The only options available in KDE are 96 and 120 DPI values. My Screen resolution is 1920*1080, so I would like to keep the DPI at a value higher than 120.

I know how to do this in gnome. Could any one tell how to set custom DPI values in KDE?

A GUI method is preferred

share|improve this question
Is there a reason to not use the actual screen DPI? If you disable the "force font dpi" it should use your screen's DPI and therefore have the best rendering of the fonts. If you want to change the font size, change the font size directly. If your screen's DPI is incorrectly detected, you can use xrandr to set the correct DPI in your kdm startup… – maco Nov 7 '11 at 18:40
possible duplicate of How to find and change the screen DPI? – Sneetsher Jul 15 '14 at 0:41
@Sneetsher this question is specific to KDE. The other question that you linked is generic ubuntu. – AIB Jul 15 '14 at 10:42
@AIB, I thought this is an old question which didn't get an accepted answer, where xrandr could be the solution. didn't work? Could I ask if you found other working solution? – Sneetsher Jul 15 '14 at 12:17
BTW @AIB, it's for 11.04 :) I preferred closing it as duplicate then off-topic. – Sneetsher Jul 15 '14 at 12:48

Configuration can be done per-user through ~/.fonts.conf, and globally with /etc/fonts/local.conf. The settings in the per-user configuration have precedence over the global configuration. Both these files use the same syntax.

Just scroll down and change the DPI value in the conf file. You may have to restart x or logout/login to KDE to get the change to apply.

This applies to most DEs, I don't know of any GUI method to do it other than what you have tried already.

font config man page!

share|improve this answer

Just go to System Settings > Application Appearance > Fonts, and manually enter the dpi value you would like. No need to change fonts.conf.

Incidentally, most desktop environments have a GUI way to change this. Even lightweights like XFCE have it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.