09.10.2017 20:34, Antonio wrote: > Package: qemu-system-x86 > Version: 1:2.10.0+dfsg-2 > > Dear Maintainer, > > if you modify some keys with xmodmap (eg: xmodmap -e "keycode 91=Delete" -e > "keycode 90=Insert" -e "keycode 79=Home" -e "keycode 87=End" -e "keycode > 81=Prior" -e "keycode 89=Next") > and then run qemu-system-x86_64, keyboard setting (-k it) is ignored and > en-us keyboard is set as default. > > With previous version 1:2.10.0+dfsg-1 there was no problem.
It looks like this is a wontfix bug. The "problem" seems to be that more recent ui frontends (sdl2 which is enabled in -2 compared to obsolete sdl1 used before, and gtk to be enabled later), keyboard handling has been reworked, and qemu now always uses raw keycodes, not preprocessed by modmap and other tools, with guest being able to see all keyboard keys. You have to use xmodmap INSIDE the guest to achieve what you want. Thanks, /mjt

