-
Notifications
You must be signed in to change notification settings - Fork 0
Improve formatting for alternate key layouts. #2
base: master
Are you sure you want to change the base?
Conversation
Improved code formatting and experimented with alternate key layouts for my new Noppoo Choc-84 / N-Key-USB keyboard.
XKB symbol mapping to make qwertysteno.com work just like ibus-plover does with the alternative keymapping.
Thanks, but since the next version of Plover allow configuring the keyboard mapping, the plan is to use its configuration instead of hard-coding the mapping in the source. See my last commit if you want to test this (you'll need to install Plover from source). |
The problem is that when I set the keymap in Plover to: keymap = [["S-", ["F1", "1"]], ["T-", ["F2"]], ["K-", ["2"]], ["P-", ... and then turn on Plover and try to use it to enter text into Emacs, the Plover without ibus is using the XRECORD and XTEST extensions. Those are I wonder if you've tried the other ibus-plover that's on github, by Rick On Fri, Oct 16, 2015 at 3:12 PM, Benoit Pierre [email protected]
|
Fixed conflicts, revert to Benoit Pierre's version, which is now using Plover's new key layout customization configuration. Conflicts: engine.py
It's something that can (and should) be fixed in Plover. Right now, the implementation assumes the layout will be confined to the number bar + the 3 letter rows. So only those rows are suppressed, which is why you're having trouble when using the function row. I'm thinking another entry should be added to the configuration dialog: a "NO-OP" line; the keys from this entry don't translate to a steno key, but they are suppressed. E.g. the 'standard' (default) layout would become:
Of course, all keys used by the layout should be suppressed too, so you can use the function row if you want. Ideally, an Finally, one last thing missing for good keyboard support: being able to configure a shortcut for toggling Plover on and off. Right now you're supposed to use a dictionary entry with @morinted: what do you think?
I have not.
I have not looked at the code, but note that in my version surrounding-text support is used too: when available and in immediate mode. |
Rick Lupton says that his version works, but it did not. It was difficult Your ibus-plover does not work right in TeXmacs unless I run the ibus-setup It does not work at all in Kwrite, where ibus-table based input methods, I really like the pop-up chooser thing with those ibus-table based input So I wonder if subclassing the ibus-table would be the right way to do On Sun, Oct 18, 2015 at 7:34 AM, Benoit Pierre [email protected]
|
There are basically 3 uses cases:
So which one is it for TeXmacs/Kwrite? |
OK, so I just installed TeXmacs, and with ibus-qt installed too, ibus-plover does not work, but without it, then it works.. I guess it switches to XIM.. So I don't know, maybe the interface for QT changed? The ibus-qt project on Google Code is now read only, and the github version has not been updated in a year. |
I found out that in Qt5, the ibus support is supposed to be built-in:
https://www.google.com/webhp?q=qt5%20ibus
http://lists.qt-project.org/pipermail/development/2013-January/009271.html
I'm not surprised that it doesn't work right in TeXmacs. What I see when
it's set to embed the preedit text into the application window is ibus
drawing a window and then TeXmacs redraws right over the top of it because
it's not aware of ibus. I don't know why kwrite works with the ibus-table
input methods but not with the ibus-plover.
|
For some reason, the keycode is not valid anymore... That's why it's not working... sigh |
With QT_IM_MODULE=ibus (default setting on Ubuntu when ~/.xinputrc has What do you think about implementing it as a subclass of ibus-table? Is On Sun, Oct 18, 2015 at 5:14 PM, Benoit Pierre [email protected]
|
As stated in my previous comment, something has changed when dealing with QT: the keycode field is not valid anymore, that's why ibus-plover does not work. |
Annoying.
Did you see these?
http://lists.qt-project.org/pipermail/development/2015-July/022460.html
https://bugs.archlinux.org/task/38431
|
What about "inputattach" | keyboard_emulation_or_something | ibus | What's it like on Windows and Mac in terms of input-method support? Does On Sun, Oct 18, 2015 at 5:26 PM, Karl Hegbloom [email protected]
|
OK, so I fixed the bug in ibus-qt, see here. This is for fixing QT4 applications. As for QT5 applications, I rebuilt |
Are you using Debian or Ubuntu? Will you send them a heads-up and ask for On Sun, Oct 18, 2015 at 8:22 PM, Benoit Pierre [email protected]
|
I'm on Arch Linux. I'll create a merge request for ibus-qt tomorrow, but now I'm off to bed (it's 4:26 here). |
Thanks. Get some sleep. It's 20:29 here. :-) I've got to do other work On Sun, Oct 18, 2015 at 8:28 PM, Benoit Pierre [email protected]
|
cc @stenoknight |
Push request for Plover with the proposed keyboard handling changes here: openstenoproject/plover#292 |
Thank you. Perhaps I'll have some time for this over the weekend. On Thu, Oct 29, 2015 at 11:38 AM, Benoit Pierre [email protected]
|
I found a problem with the new keyboard handling when function and number On Thu, Oct 29, 2015 at 12:14 PM, Karl Hegbloom [email protected]
|
@KarlHegbloom: just to be clear, you're speaking about a problem when using Plover with this openstenoproject/plover#292, not with ibus-plover? |
Oh, yeah, sorry. I replied to the wrong email. Doh. On Sun, Nov 1, 2015 at 3:42 PM, Benoit Pierre [email protected]
|
Improved code formatting and experimented with alternate key layouts for
my new Noppoo Choc-84 / N-Key-USB keyboard.
I think you'll not want some of the whitespace only changes; some are inadvertent. Also I've got the alternative key mapping enabled by default here. I'm new at this. I think you will want the reformatted alternate keyboard layout definitions.
How can that be put into a configuration file? Can that same configuration be caused to work with standalone Plover? (Though I really prefer to use the ibus like this. It's great to have an icon for switching it.)