How to check in shell which output is primary?

Maciej Sitarz macieksitarz at wp.pl
Tue Feb 14 05:46:32 PST 2012


W dniu 14.02.2012 05:42, Keith Packard pisze:
> The first one is primary.

The order returned by xrandr doesn't seem to be affected when I change
the primary screen:

$ xrandr --output LVDS1 --primary
$ xrandr | egrep '^(LVDS1|VGA1)'
LVDS1 connected 1440x900+1280+0 (normal left inverted right x axis y
axis) 303mm x 190mm
VGA1 connected 1280x1024+0+0 (normal left inverted right x axis y axis)
378mm x 301mm
$ xrandr --output VGA1 --primary
$ xrandr | egrep '^(LVDS1|VGA1)'
LVDS1 connected 1440x900+1280+0 (normal left inverted right x axis y
axis) 303mm x 190mm
VGA1 connected 1280x1024+0+0 (normal left inverted right x axis y axis)
378mm x 301mm


Pozdrawiam
-- 
Maciej Sitarz



More information about the xorg mailing list