Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

In order to test a Qt application I'm working on I need to run it with various DPI settings to see how it looks. I can change the DPI settings globally in a couple of ways (Appearance->Fonts or putting "Xft.dpi: NNN" in ~/.Xresources), but this is a pain.

Is there a simple way to do change the DPI setting only for a specific application instead of globally (affecting the entire desktop)?

share|improve this question

The DPI is set within X (on a per monitor basis), and, I believe, not available to be set on an application basis. So, no.

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.