How to check in shell which output is primary?

Maciej Sitarz macieksitarz at
Wed Feb 15 12:30:59 PST 2012

Hi again,
wertarbyte developer shared on github a change to xrandr to dump the
entire configuration in an easily parsable format.

It has not been merged into main branch, maybe including it would be a
better idea then my few lines?

Best Regards
Maciej Sitarz

More information about the xorg mailing list