On 3/5/20 6:14 AM, Sagar Tiwari wrote:
What does the `-dpi` option of `Xephyr` do. I'm trying different values like 
this:

     Xephyr -dpi 20 -screen 640x480 :1

and the programs running in the session don't look different in any way.

It changes the static global resolution size reported by xdpyinfo - for instance, with the above, xdpyinfo says:

screen #0:
  dimensions:    640x480 pixels (813x610 millimeters)
  resolution:    20x20 dots per inch

but with -dpi 96 it says:

screen #0:
  dimensions:    640x480 pixels (169x127 millimeters)
  resolution:    96x96 dots per inch

It doesn't change the way X draws anything - some applications may choose to
use it to adjust the size they scale images or text to, or they may ignore it.

--
        -Alan Coopersmith-               alan.coopersm...@oracle.com
         Oracle Solaris Engineering - https://blogs.oracle.com/alanc
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Reply via email to