xrandr confusion over different options that do the same thing

Marius Gedminas marius at gedmin.as
Tue Apr 24 05:01:23 PDT 2012


On Tue, Apr 24, 2012 at 12:40:53PM +0800, Kai Hendry wrote:
> I'm a bit confused by how xrandr seems to accomplish the same things
> in two different ways.
> 
> For example:
> 
> xrandr --output LVDS1 --mode 1366x768 VERSUS to xrandr -s 1366x768
> 
> xrandr --output HDMI1 --rotate left VERSUS xrandr -o left
> 
> Of course I prefer `xrandr -s` or `xrandr -o` as it's easier, but the
> --output style commands seem a little more reliable on the Xorg I'm
> using http://download.webconverger.com/webc-12.3.txt
> 
> Can someone care to educate me? Many thanks,

The short options (-o, -s) are there for backwards compatibility with
older xrandr versions that only supported a single output.

As the manual page says, "they don't interact sensibly with [new-style]
options on the same command line."

Marius Gedminas
-- 
I read I forget; I see I remember; I teach I understand.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20120424/9dce38a0/attachment-0001.pgp>


More information about the xorg mailing list