X11, how to configure 120 dpi? Is 96 and xrandr --dpi 120 has gamma output error.

Nick atod101101 at gmail.com
Mon Apr 21 18:37:50 UTC 2025


Does anyone know how to configure 120 dpi for MacPorts X11?  I tried:

$ xrandr --dpi 120
xrandr: Failed to get size of gamma for output default

My DPI is stuck at 96.

I note:
$ cat /opt/local/etc/X11/fs/config
default-point-size = 120

But stil:
$ xdpyinfo|grep resolution
  resolution:    96x96 dots per inch

I also tried:
$ cat .Xresources
Xft.dpi: 120

However, that doesn't affect DPI either.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20250421/35b261ef/attachment.htm>


More information about the macports-users mailing list