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?hp=babc1614b62e85bacb95ca42d42a7eb618031af9 Fix disabling the external screen --- 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