hard-set dpi value on randr 1.2?

Remy Bosch remybosch at zonnet.nl
Wed Sep 5 10:28:31 PDT 2007


Carsten Haitzler (The Rasterman) wrote:
> On Tue, 4 Sep 2007 23:04:38 +0200 "Hanno Böck" <ml at hboeck.de> babbled:
>   
>> Hi,
>>
>> With randr-1.2 my fonts on my desk are far too big for my taste.
>>
>> I can set the dpi-value with xrandr (xrandr --dpi 75), but I couldn't find
>> out how to set this as a permanent value (xorg.conf?)
>> Found some old doc on Xressources, but that didn't work either.
>>     
>
> X has a command-line option to set dpi when running the server, also some
> drivers (eg nvidia's closed one) has an option to set dpi too (and ignore edid
> info to calculate it)
>
>         Option          "DPI"   "75 x 75"
>
> for example :)
>   

But for other card's you can add the line:
    xrandr --dpi 105
to /etc/X11/wdm/Xsetup_0 if you run wdm.
This line could be added to ~/.xinitrc before the windowmanager, if you
use startx.


Remy



More information about the xorg mailing list