[PATCH xrandr] xrandr: document that we accept '--dpi output'

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Wed Jan 18 07:52:09 UTC 2017


Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
---
 man/xrandr.man | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/man/xrandr.man b/man/xrandr.man
index 73d337c..5742286 100644
--- a/man/xrandr.man
+++ b/man/xrandr.man
@@ -41,7 +41,7 @@ xrandr \- primitive command line interface to RandR extension
 [\-\-prop]
 [\-\-fb \fIwidth\fPx\fIheight\fP]
 [\-\-fbmm \fIwidth\fPx\fIheight\fP]
-[\-\-dpi \fIdpi\fP]
+[\-\-dpi \fIdpi\fP/\fIoutput\fP]
 [\-\-newmode \fIname\fP \fImode\fP]
 [\-\-rmmode \fIname\fP]
 [\-\-addmode \fIoutput\fP \fIname\fP]
@@ -228,10 +228,10 @@ option provides a way to override that behaviour.
 Sets the reported values for the physical size of the screen. Normally,
 xrandr resets the reported physical size values to keep the DPI constant.
 This overrides that computation.
-.IP "\-\-dpi \fIdpi\fP"
-This also sets the reported physical size values of the screen, it uses the
-specified DPI value to compute an appropriate physical size using whatever
-pixel size will be set.
+.IP "\-\-dpi \fIdpi\fP/\fIoutput\fP"
+This also sets the reported physical size values of the screen, it uses either
+the specified DPI value, or the DPI of the given output, to compute an appropriate
+physical size using whatever pixel size will be set.
 .IP "\-\-newmode \fIname\fP \fImode\fP"
 New modelines can be added to the server and then associated with outputs.
 This option does the former. The \fImode\fP is specified using the ModeLine
-- 
2.8.1.372.g9612035



More information about the xorg-devel mailing list