-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plover not working with Dvorak layout on Debian Linux. #788
Comments
I confirm the bug. It happens with plover-4.0.0.dev1.20.g60a373f-x86_64.AppImage and 3.1.1 , under Manjaro Linux. I did not try further versions. umane -a output : |
This might be the same issue as #650 |
Yes, as noted in #650, xkb groups are not supported. |
Duplicate of #650. |
Ok, so I did some troubleshooting, and figured out that ① Plover always uses the first keyboard layout set with Lets take for example this setup:
To check the layouts state, I use Once the command's run, open plover. By changing the layout to colemak (Scroll lock key), I get (plover still open): So that's one thing. But when changing the layout to qwerty only ( Let's change the layout to colemak only (keeping plover open): We then get: That's it! |
I believe both points are already mentioned in #650. |
yes. I was about to update the comment to mention this :·) And the issue #650 is DE independent. So, everybody using plover under Linux is concerned. |
Well, not everybody use XKB groups... |
Yes, I meant as soon as you change the layout (while plover runs, with or without groups), you're concerned. |
I do not change layout, I do not use groups, I even deleted
When I run |
Yes, the code was changed to use the XTEST keyboard. What exact command do you use to configure your keyboard layout? |
I use the configuration file |
The thing that might have messed up XTEST keyboard is that before I had three layouts in that file (including qwerty), but recently I changed to using only one Dvorak layout. |
I have this ugly hack in my script to configure X11 input, I wonder if it's the same issue (and if it's still relevant, needs more testing). |
There are a number of tricky issues with running Plover in this configuration: - Plover is not fully compatible with Wayland at this point - Based on the way Plover works at this time [1], setting keyboards to use Dvorak in Wayland (via SwayWM) results in Plover's output being filtered through the Dvorak layout, which scrambles the letters. This script attempts to workaround these issues by: - Referencing a version of Plover that is installed in a virtual environment - Running a console-based version of Plover [2] (that is really wonderful) - Reloading the SwayWM config which effectively resets the keyboard layout used by Plover for unknown reasons. This hack may be analagous to [3] (as mentioned in [4]). [1] openstenoproject/plover#650 [2] https://github.com/psethwick/plover_console_ui [3] https://github.com/benoit-pierre/config-x11/blob/d9a4be44976a96488a9046f2f6cc91649f35d6f0/bin/setxinput.sh#L171 [4] openstenoproject/plover#788 (comment)
Classification: Bug
Reproducibility: Always
Summary
When using Plover with Dvorak layout, words are printed as if Plover thought there is Dvorak layout but actually Qwerty was used. For example "g;" is printed instead of "is". Any word is changed in similar way.
Steps to Reproduce
a
keyExpected Results
is
should be printed.Actual Results
g;
is printed.Version
Plover version 4.0.0.dev1+20.g60a373f
Run via: AppImage.
Notes
The bug seems to be a regression bug as running Plover 3.0.0 on exactly the same configuration works correctly. I also noticed that
fbxkb
changes flag as if keyboard layout was changed to qwerty (even though I have no qwerty in my configuration files).I am not sure if it is relevant but xdotool seems to fail in similar way:
xdotool key "i"
produces
g
Configuration
OS: Linux, Debian Testing with i3 as window layout manager.
Content of
/etc/default/keyboard
:uname -a output:
Linux 4.11.0-1-amd64 #1 SMP Debian 4.11.6-1 (2017-06-19) x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: