Skip to content
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

modify shadow keymap #2630

Closed
totaam opened this issue Mar 9, 2020 · 1 comment
Closed

modify shadow keymap #2630

totaam opened this issue Mar 9, 2020 · 1 comment

Comments

@totaam
Copy link
Collaborator

totaam commented Mar 9, 2020

At present, shadow servers leave the keymap completely untouched and try their best to find a matching keycode when we receive a key event from the client (see #2301#comment:35).

We could add the option of re-configuring the shadow server's keymap to have the keys the client is likely to need.

ie: with a shadow server configured with 'us' layout and a client connecting with a 'gr' layout could use a 'us, gr' layout and make all the keys accessible.

@totaam
Copy link
Collaborator Author

totaam commented Jul 25, 2022

Done for X11 shadow servers only in the commits above. It was trivial as the code just needed hooking up.
(MacOS and MS Windows servers would require key mapping setup code - which does not exist yet)

To enable, start the shadow session using:

xpra shadow --keyboard-layout=auto

(the default value for keyboard layout is unset)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant