From: Ralf Jung Date: Sat, 21 Jul 2012 20:30:37 +0000 (+0200) Subject: Fix disabling the external screen X-Git-Url: https://git.ralfj.de/lilass.git/commitdiff_plain/662aa4a490587259c166191b8f4c0308ce9f0d01?ds=sidebyside;hp=-c Fix disabling the external screen --- 662aa4a490587259c166191b8f4c0308ce9f0d01 diff --git a/external_screen.py b/external_screen.py index 895405e..01c744b 100755 --- a/external_screen.py +++ b/external_screen.py @@ -72,7 +72,7 @@ if externalResolutions is not None: # we need to ask what to do else: internalArgs += ["--primary"] else: - internalArgs = ["--mode", res2str(internalResolutions[0]), "--primary"] + internalArgs = ["--mode", res2xrandr(internalResolutions[0]), "--primary"] externalArgs = ["--off"] # and do it call = ["xrandr", "--output", internalName] + internalArgs + ["--output", externalName] + externalArgs