Marc Haber wrote:
You should be able to call xrandr only twice here. One to get the output and save it (and apply sed multiple times to compute OUTPUTLIST), and one to pass --auto for all outputs and set their position.How would that call look like? xrandr --output VGA-0 --auto --left-of LVDS --output LVDS --auto?
Yes you can probably do something like that. At least, I know that xrandr --output LVDS --off --output TMDS-1 --rotate left --autodoes what I want on Intel (disable LVDS and set TMDS to preferred mode rotated to left)
Also, --auto seems to work with and without a --output specified earlier. So you should be able to do
xrandr --auto --output VGA-0 --left-of LVDS
If so, this possibility should be mentioned in the manual page.
Right, it is not really explicitly explained in the manpage, I'll try to improve it.
Brice