Created attachment 2054028 [details] xrdp-genkeymap with a Spanish keyboard attachted to the Linux machine Description of problem: Spanish keyboard layout on Windows, connecting to xrdp running Xvnc results in AltGr being mapped incorrectly Version-Release number of selected component (if applicable): xrdp-0.10.1-1.el8.x86_64 How reproducible: 100% Steps to Reproduce: 1. Set keyboard layout to ES in Windows 10 2. connect using mstsc.exe 2. launch an Xvnc 3. run xev 4. press AltGr (to get characters like [, ], { or }) Actual results: xev shows Alt_R+Shift_L being pressed Expected results: xev shows ISO_level3_shift being pressed Additional info: xrdp selects km-0000040a.ini (which is correct), but apparently this does not map the AltGr properly, while km 407 (German) does. The xrdp source from github does not contain a km-0000040a.ini, so I'm assuming it gets added in the EPEL build process.
This file is part of the release tarball of xrdp-0.10.1: $ tar tzvf xrdp-0.10.1.tar.gz | grep 0000040a -rw-r--r-- meta/wheel 8724 2024-07-31 22:55 xrdp-0.10.1/instfiles/km-0000040a.ini So, I think this issue should be raised upstream, if the mappings are incorrect. Would you mind opening an upstream bug in xrdp GitHub and then linking it here?
Interesting. I downloaded a development version and it was missing that file. https://github.com/neutrinolabs/xrdp/issues/3292
I think release tarballs are generated differently to development snapshots. Upstream folks will know for sure. Thanks for opening the bug report upstream!