Spice and AltGr
Hi,
I'm having trouble with AltGR in the spice protocol and linux desktops.
On a danish keyboard, characters such as "@", "|" and "\" are all invoked using AltGr, but this is ignored on linux desktops.
I've tried on Rhel6-client, Fedora16, Ubuntu, Linuxmint and all have this problem.
Windows7 desktops are fine, though.
Any advice would be appreciated.
Regards, Brian
Responses
Hi Brian,
Let me get this straight, you are using a Linux desktop with spice, but what about the client - it is also Linux, or Windows?
What versions of Spice client (on the client machine) and xorg-x11-qxl (in the guest) are you using?
Thanks,
Dan
Hi Brian,
Sorry about the delay, but I'm back with more questions:
1. Is the k/b layout set up correctly in the VM?
2. We have tested AltGr with a German keyboard, some time ago, would be interesting to see if the german variant of altgr works in your case - would you be able to try to switch layouts and see what happens?
Thanks,
Dan
Thanks,
Just making sure I understand correctly:
Client OS: Linux (layout set); Guest OS: Linux (layout set) --> OK
Client OS: Linux (layout not set); Guest OS: Linux (layout not set) --> not OK
Client OS: Windows ; Guest OS: Windows --> OK
Client OS: Windows; Guest OS: Linux (layout set) --> OK
Ah, ok, now I get it. So what you're asking is really for Spice to set the layout according to the client's, right?
They are slightly different - putty uses the hosts' layout and VNC has a layout setting in the server, which the client respects. Spice simply passes the kbd of the client to the guest, and if the layouts are not the same, this might be an issue.
Anyhow, I was afraid this might be a bug, but it really is a feature, for Spice to detect the VM's layout and use it (like VNC does), or for Spice to change the VM's layout to the clients' layout (not sure if this will be useful).
If you have a support entitlement, you could file a feature request through a support case - this is the best way to do that, and such a request will get escalated to engineering right away.
If not, you can also post here - https://access.redhat.com/discussion/rhev-wishlist-feature-requests - we scrub the topic for useful feature requests and ideas daily.
Brian, Andres, I do have some good news. The BZ has been opened, and a patch is being tested.
The BZ is internal for now, so watch out for updates, and if possible, I'll also post something here when a fix is released
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
