-
Notifications
You must be signed in to change notification settings - Fork 300
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
Alt Gr not working on wslg applications #890
Comments
@nicoborghi, thanks for reporting the issue, WSLg utilize remote desktop protocol (RDP) and this is known issue with RDP, see #88 (comment), thanks! |
Humm and it's still not fixed? Why is is even so complex? I've been running X apps for years on WSL using VcXsrv, and although WSL2 requires a bit more work to make it connect with proper access control I've never had any issue with keyboard mapping or anything else. I've installed t on WSL2 last week-end and initially thought it was forwarding the connection to the local system... I spent an hour trying to troubleshoot a non-existent VcXsrv issue when I realized it was using Windows's X server!. |
Any news on this? I get a recording of the key in xev so all seems fine but still, it doesn't work. |
I would suggest using VcXsrv.exe, available on SF.net and also bundled with X2go. On WSL1 it's very easy as you can connect directly to localhost ( I can share my updated launcher script, may need some polishing (I need to look for a way to get the ip from powershell rather than running a WSL command) . It launches an X terminal on Debian from where I can work and run other GUI apps. I also prefer the clipboard handling with VcXsrv, iirc the primary clipboard wasn't synced to/from Windows' unique clipboard like it's normally the case with most X emulators (copy on select) and X servers for Windows. |
@dermoth The thing is, we have it already successfully running on several local Windows 10 and 11 machines without this problem. But in this case we are working on remote Windows machines and using WSL there. Those Alt Gr key comobs working fine for the WSL terminal, apps using VcXsrv and everywhere else but not in WSLg apps (X11 or Wayland). |
I am having the same issue and after years of frustration this is pushing me back to native Linux. WSL without proper keyboard layout support does not work for me. |
Windows build number:
10.0.22623.0
Your Distribution version:
20.04
Your WSL versions:
WSL version: 0.70.5.0
Kernel version: 5.15.68.1
WSLg version: 1.0.45
MSRDC version: 1.2.3575
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22623.885
Steps to reproduce:
(Tested with both Ubuntu 20.04 and Debian 11, IT ISO keyboard)
xev
)I tried changing the keyboard configuration with
setxkbmap
as suggested elsewhere, but it did not solve the issue.WSL logs:
pulseaudio.log
weston.log
stderr.log
WSL dumps:
No response
Expected behavior:
Alt Gr key combinations work / Alt Gr key stroke is recorded by
xev
Actual behavior:
Nothing
The text was updated successfully, but these errors were encountered: