diff --git a/pyautogui/__init__.py b/pyautogui/__init__.py index 43aebd5..c466407 100644 --- a/pyautogui/__init__.py +++ b/pyautogui/__init__.py @@ -540,7 +540,7 @@ def isShiftCharacter(character): from . import _pyautogui_osx as platformModule elif sys.platform == "win32": from . import _pyautogui_win as platformModule -elif platform.system() == "Linux": +elif platform.system() == "Linux" or "BSD" in platform.system(): from . import _pyautogui_x11 as platformModule else: raise NotImplementedError("Your platform (%s) is not supported by PyAutoGUI." % (platform.system()))