From: Ralf Jung Date: Mon, 3 Sep 2012 11:30:20 +0000 (+0200) Subject: xrandr lists a DP1 connector I don't actually have X-Git-Url: https://git.ralfj.de/lilass.git/commitdiff_plain/11d554b0e9fa2fa36f3949424018d652ff994400?ds=sidebyside xrandr lists a DP1 connector I don't actually have --- diff --git a/external_screen.py b/external_screen.py index 5474685..9d70b82 100755 --- a/external_screen.py +++ b/external_screen.py @@ -43,7 +43,7 @@ def res2user(res): # Check screen setup internalName = "LVDS1" -externalNames = ["HDMI1", "VGA1"] +externalNames = ["HDMI1", "DP1", "VGA1"] connectors = getXrandrInformation() internalResolutions = connectors[internalName] # there must be a screen assoicated to the internal connector externalName = None # *the* external connector which is actually used