XVNC Switching Layouts #3094
-
The keyboard layout does not switch in XVNC. I use two layouts us and ru. Added the ability to switch layouts using this wiki. All other settings are by default. The second layout appeared on the panel. But when switching to the ru language, characters from the layout that was connected to the xrdp server (us), are still printed. I exported the us and ru layouts: I looked at the output of the currently pressed keys via the xev command in the terminal. On the us layout: On the ru layout: In xev, everything is correct on the us layout. The ru layout shows that the keycode number 253 is defined, which corresponds to a void in xkb. And with further pressing of different keys, empty xkb_symbols will be filled in us letters. But at the same time, a line appears in xev XKeysymToKeycode, which shows really the keycodes that was pressed. And according to ru.xkb, this code should have been equal to keysym Is it possible to implement two layouts in xvnc xrdp? Cinnamon session |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It may not be at the moment. The VNC server receives a symbol from us rather than a key code, which is what you need. More information from the TigerVNC server side can be found here:- The link mentions a TigerVNC option called |
Beta Was this translation helpful? Give feedback.
It may not be at the moment.
The VNC server receives a symbol from us rather than a key code, which is what you need.
More information from the TigerVNC server side can be found here:-
TigerVNC/tigervnc#962
The link mentions a TigerVNC option called
-RawKeyboard
which could solve this, but we don't support it. The protocol reference for that is here:-https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#qemu-extended-key-event-message