+ # there are two screens
+ internalArgs = ["--mode", intResolution]
+ if extPosition.posLeft.isChecked():
+ externalArgs += ["--left-of", internalName]
+ else:
+ externalArgs += ["--right-of", internalName]
+ if extPosition.primExt.isChecked():
+ externalArgs += ["--primary"]
+ else:
+ internalArgs += ["--primary"]
+else:
+ internalArgs = ["--mode", res2str(internalResolutions[0]), "--primary"] # there must be a resolution for the internal screen
+ externalArgs = ["--off"]