Qemu (linux) and keymaps
Hello. I'm not sure if this is the right place to report a possible bug. I'm running Gentoo Linux with qemu 0.8.0 without kqemu. I use a dvorak keyboard by having this line in my xorg.conf file:
Option "XkbLayout" "dvorak"
My x11 server is xorg 6.8.2-r7.
My bug is when I try to toggle fullscreen with the ctrl+alt+f shortcut nothing happens. So I tried ctrl+alt+u (because on dvorak u is where the f is) and it worked. So it appears as if qemu is using raw scancodes instead or keys. I looked at the man page (after googling a bit) and it says I should not have to use the language (-k) option since I have PC linux. But even if I did there is no dvorak keymap available. This bug is minor because it took 15 seconds to figure out to hit ctrl+alt+u and because there are not that many users of the dvorak keyboard. But it would be nice to have a dvorak keymap just for the sake of completion on your wonderful project.
Quoted 3 lines · Harrison Metzger
My bug is when I try to toggle fullscreen with the ctrl+alt+f shortcut nothing happens. So I tried ctrl+alt+u (because on dvorak u is where the f is) and it worked. So it appears as if qemu is using raw scancodes instead or keys.
Yes, qemu uses X keycodes instead of X keysyms.
Quoted 4 lines
I
looked at the man page (after googling a bit) and it says I should not have to use the language (-k) option since I have PC linux. But even if I did there is no dvorak keymap available.
This isn't entirely true - some users of PC linux will need to use a keymap file.
Generally this is whenever you need to redefine the meaning of a keycode (as the dvorak keyboard layout does).
Quoted 4 lines
This bug is minor because it took 15
seconds to figure out to hit ctrl+alt+u and because there are not that many users of the dvorak keyboard. But it would be nice to have a dvorak keymap just for the sake of completion on your wonderful project.
Should be easy enough for someone (such as yourself) to make one.
qemu's keymap layout is quite simple and you can figure out the mapping between keys and keycodes via xev or xmodmap.
Quoted 7 lines
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.