From 9b5c4c23482db8d81521b9ee7c9a01b8464f35c7 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Wed, 21 May 2014 21:59:28 -0400 Subject: [PATCH] Fixed issue 42 by adding a command to line 43 of the linux __init__.py --- linux/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/__init__.py b/linux/__init__.py index 05f33e3..279b8ec 100644 --- a/linux/__init__.py +++ b/linux/__init__.py @@ -40,7 +40,7 @@ def SendKeysToAllWindows(self, cls, key): cmd = ['xdotool', 'search', '--sync', '--onlyvisible', '--class', cls, 'key', key] if self.activate_browser: - cmd += ['windowactivate'] + cmd += ['&&', 'xdotool','search','--desktop', '0' ,'Sublime Text' ,'windowactivate'] status_code = call(cmd)