This commit is contained in:
chrys 2017-02-27 22:38:02 +01:00
parent 27a7b04528
commit d65d46b467

View File

@ -80,7 +80,7 @@ class driver():
screen = str(inf.Get('org.freedesktop.login1.Session', 'TTY')) screen = str(inf.Get('org.freedesktop.login1.Session', 'TTY'))
screen = screen[screen.upper().find('TTY') + 3:] screen = screen[screen.upper().find('TTY') + 3:]
if screen == '': if screen == '':
screen = str(inf.Get('org.freedesktop.login1.Session', 'VTNR')) screen = str(inf.Get('org.freedesktop.login1.Session', 'VTNr'))
screen = screen[screen.upper().find('VC') + 2:] screen = screen[screen.upper().find('VC') + 2:]
if sessionType.upper() == 'X11': if sessionType.upper() == 'X11':
self.env['screenData']['autoIgnoreScreens'].append(screen) self.env['screenData']['autoIgnoreScreens'].append(screen)