Multiple keyboard layouts are setup on both xpra server host and on xpra client host. On both hosts the key sequence to switch between keyboard layouts is LSHIFT + RSHIFT. Pressing this key combination on xpra client switches the keyboard layout on the client, but the input characters sent to the attached application are still those of the previous keyboard layout.
Does it help if you disconnect and re-connect?
How are those keyboards configured? What software does the switching? etc.. Need more info.
No, re-connecting does not help.
I do not understand what is meant by "How are those keyboards configures?".
The software that does the switching is configured via GNOME's Keyboard Preferences (Main Menu -> System -> Preferences -> Keyboard).
I tried un-checking "Separate layout for each window". Upon next pressing of LSHIFT+RSHIFT, everything was fine. Then I pressed LSHIFT+RSHIFT again and the sane problem appeared again: the keyboard layout indicator in the notification area shows that another layout is in effect, but the input characters are still from the previous layout.
Will probably require Xkb support, see #86
Hmmm, what we would need to do is to trigger the layout change server-side at the same time as the client does it. The problem is that I don't think that the switch key combination is exposed to us, so the server has no way of knowing about it.
Please post some of the debug information from wiki/Keyboard, maybe there is something in there we can use (setxkbmap -print
?).
I suspect that this is a gnome/input-methods thing though, in which case we would need to find a way to listen for such switching events. (if at all possible).
Not heard back, closing. See also #86
Note: v0.14 includes a keyboard layout switcher from the tray, this may help you override the current setting.
There is also a new input-methods
switch, which you may want to try.
See also #1380.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/166