diff --git a/src/fenrirscreenreader/commands/commands/cycle_keyboard_layout.py b/src/fenrirscreenreader/commands/commands/cycle_keyboard_layout.py index 1e38f343..7f7f977b 100644 --- a/src/fenrirscreenreader/commands/commands/cycle_keyboard_layout.py +++ b/src/fenrirscreenreader/commands/commands/cycle_keyboard_layout.py @@ -33,7 +33,7 @@ class command(): if os.path.exists(keyboardPath): for file in os.listdir(keyboardPath): - if file.endswith('.conf') and not file.startswith('__'): + if file.endswith('.conf') and not file.startswith('__') and not file.lower().startswith('pty'): layout_name = file.replace('.conf', '') if layout_name not in layouts: layouts.append(layout_name)