Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

I have multiple screens with different correct DPI settings. I can use xrandr --dpi X to change DPI for all screens, is it possible to set different DPI for each screen? How do I make apps recalculate font sizes when they are moved to a different screen? xrandr --dpi X only affects new windows, old windows still use the old DPI value.

share|improve this question

I haven't tried it out yet, but there is a good looking answer here which suggests using the xrandr option scale which should get you the effect you're after.

UPDATE: This does work, I've written summary instructions here.

share|improve this answer

you can set different values for each screen with:

xrandr xrandr --output <Display1> --dpi X --output <Display2> --dpi Y

To se what are available use just xrandr,to restart the font. I think you could turn off the display and turn it on again with with:

xrandr --output <Display1> --off
xrandr --output <Display1> --auto

but am not really sure

share|improve this answer
1  
As far as I can see '--dpi' is not a per-output setting. It results in a call to XRRSetScreenSize for the entire screen. As far as I can see X11 simply does not support setting different DPI values for different outputs. Which would suck... – Arnout Engelen Mar 6 '14 at 21:54
1  
Ah, actually RandR outputs do have a width/height specified in both pixels and millimeters, so different outputs can have a different DPI - but AFAICS there is no RandR call to manipulate the physical size of the output. – Arnout Engelen Mar 6 '14 at 22:12
3  
Various sources including wiki.archlinux.org/index.php/HiDPI#External_displays suggest that only a single DPI setting is possible at once (in a single Xserver instance). The xrandr command suggested by Agomezl doesn't work. – Neználek Jan 23 '15 at 9:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .