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:43:38 UTC 2025


I tried this also, however DPI still at 96:
$ xrandr --output default --dpi 120 --gamma 1:1:1
xrandr: Gamma size is 0.

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

On Mon, Apr 21, 2025 at 2:37 PM Nick <atod101101 at gmail.com> wrote:

> 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/860540ff/attachment.htm>


More information about the macports-users mailing list