From 662aa4a490587259c166191b8f4c0308ce9f0d01 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 21 Jul 2012 22:30:37 +0200 Subject: [PATCH] Fix disabling the external screen --- external_screen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2