[i3] Retina/HiDPI: Querying DPI

  • From: Michael Stapelberg <michael@xxxxxxxx>
  • To: <i3-discuss@xxxxxxxxxxxxx>
  • Date: Thu, 05 Jun 2014 09:49:12 +0200

Hi,

the next release of i3 should behave correctly on Retina/HiDPI
displays. However, I’m not 100% sure how we should query the
DPI.

Currently, we use the value that you can change using xrandr --dpi.

There is also an XResources property called Xft.dpi, which some programs
(notably GTK?) seem to use.

See
e.g. http://askubuntu.com/questions/197828/how-to-find-and-change-the-screen-dpi
for a bit more details on how to find/change those values.

My question is: does anyone have a strong preference on which of these
we should use? If so, why?

--
Best regards,
Michael

Other related posts:

  • » [i3] Retina/HiDPI: Querying DPI - Michael Stapelberg