-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
Key mapping error(win11 to Ubuntu 22) #6062
Comments
tracked by #4367 |
@fufesou please confirm. |
I've tried Win11 -> Ubuntu 22.04.3, but I cannot reproduce this issue. X11: Legacy mode, Map mode, Translation mode |
Can u try it with LinuxMint 21? |
c172.30.0.90_20231217164538431_av1.webmcheck this |
I switched the installation mode from deb to flatpak. This is because the deb mode cannot use the GPU correctly, causing the CPU usage to be too high, while flatpak is normal. |
I'm confused of what you're testing. I just saw the keys on "onboard" are not the keys in the web. Not "Win" -> "LinuxMint 21.2". Did you click the "onboard" keys on the remote side? |
onboard is as same as my keyboard. |
It's strange that "onboard" keys are not the ones in the web tests. The keys are correct when you directly use the remote keyboard? |
when I connect this server use xrdp and rustdesk at the same time, xrdp keymapping is right, but rustdesk some keys is wrong. |
Thanks for your feedback. Can you please try this temp build? https://github.com/fufesou/rustdesk/releases/tmp It will print some additional logs of what keys it received and what keys it is simulating. You can run the following command to see the output. tail -f /root/.local/share/logs/RustDesk/server/* | grep 'REMOVE ME =====' Please upload a video to help me find out which step the error occurs. |
There are no changes to this build, expect some debug logs. Please run So I can see what events the remote side has received and what keys it is simulating. Please only upload videos of some typical keystrokes to avoid confusion, thank you. |
sorry I forgot it. ~/.local/share/logs/RustDesk$ tail -f rustdesk_rCURRENT.log | grep 'REMOVE ME =====' c199605808_20231227172345389_av1.webm
|
It seems the key simulations on your machine are incorrect. Can you please run the attached simple demo? xx.mp4 |
check this: c199605808_20231227214426029_av1.webmc199605808_20231227214948317_av1.webm |
@siriume Thanks for your feedback. In an x11 environment, we use xtestfakekeyevent to simulate keyboard input. I searched for some information, and some keycodes sets are similar to yours, but they seem to be different. Sorry I can't fix this right away. |
Bug Description
Hi. I use a Win11 PC and remote control a PC with LinuxMint 21.2 (Ubuntu 22.04). I encountered a problem with many key mappings. End -> Win, Home -> Pause Break, Page Up -> /, Page Down -> Menu, ↓ -> Win, ↑ -> Print Screen, ← -> Alt, /(num) -> Insert
How to Reproduce
End -> Win
Home -> Pause Break
Page Up ->
Page Down -> Menu
↓ -> Win
↑ -> Print Screen
← -> Alt
/(num) -> Insert
Expected Behavior
key mapping is correct.
Operating system(s) on local side and remote side
win11 -> Ubuntu
RustDesk Version(s) on local side and remote side
1.2.4 nightly
Screenshots
Additional Context
No response
The text was updated successfully, but these errors were encountered: