[PATCH] show preferred/current modes in xrandr --verbose

Brice Goglin brice.goglin at gmail.com
Thu Aug 9 05:02:13 PDT 2007


Hi,

Unless I am mistaking, xrandr --verbose doesn't show the preferred and
current modes as the plain xrandr does with * and +. The attached patch
does this:

  1600x1200 (0x66)  162.0MHz +HSync +VSync *+
        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock  
75.0KHz
        v: height 1200 start 1201 end 1204 total 1250           clock  
60.0Hz
  1600x1200 (0x67)  161.0MHz -HSync +VSync  
        h: width  1600 start 1712 end 1880 total 2160 skew    0 clock  
74.5KHz
        v: height 1200 start 1203 end 1207 total 1245           clock  
59.9Hz

Also, it'd be good to add something like the following at the beginning
of the description in the page:
"When invoked without options, xrandr will dump the state of the
outputs, showing the existing modes for each of them, with a '+' near
the preferred mode and a '*' near the current mode."

If it's ok, I can take care of committing it...

Brice

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xrandr-verbose-star-plus.patch
Type: text/x-patch
Size: 628 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20070809/f43bf2c2/attachment.bin>


More information about the xorg mailing list