-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Another option would be to parse /proc/cmdline, to offer the user/administrator a way to override the detection.
If the file /proc/cmdline contains xinerama=something, where "something" is "left-of", "right-of", "above", "below", or "same-as", call xrandr with that parameter instead, regardless of what was detected.
(/proc/cmdline is the list of parameters passed to the kernel while booting. If you have never heard of it/noticed, try cat /proc/cmdline on your Linux system.)
BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32)
iQEcBAEBAgAGBQJUq/XzAAoJEG7d9BjNvlEZXnQH/RdzUBzhPZ8b3pQKSxlkVVbf j0DWx5aC6DVnp2ubBYE7kRcb/9MPcLnCMCn8cnQuiLUHwt4NadqtPyAlI9sPNncq qLMyvCknuI/42R0T0pliNiiciIdigHjJGAFmDMhQUmobeww+1i75PSjW1vo/eaJ+ twEr/KUG0YoYAmD1JQTLv4x0u4KWWOdK2zStCH8eiImjmRG7vfYbbZuP/FDOJN0D aYX2sl3L9wCbpQFdPUBXPagEweHVX7tRzbD0jyvcpOT5q8kQHhAkRB7Z9BS5KI/O l71vg0XVbq0ZcPxfeU6PHDd7x0A2Xlw8E78n+oTIbs2dZPQ6ONBF+NLU33SB/h8= =KnJu -----END PGP SIGNATURE-----