[PATCH] show preferred/current modes in xrandr --verbose
Alex Deucher
alexdeucher at gmail.com
Thu Aug 9 07:26:42 PDT 2007
On 8/9/07, Brice Goglin <brice.goglin at gmail.com> wrote:
> 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...
>
Looks good to me. I'd say this should go in.
Alex
More information about the xorg
mailing list