Unplugging and re-plugging keyboard forgets xmodmap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
[I'm not sure against which package I can report this, so I've preliminary done it against `qemu`]
Since I have a non-standard keyboard (a Kinesis, without Super key), I remapped a key on my system (XUbuntu 16.04).
This is accomplished via:
~$ cat ~/.Xmodmap
keycode 108 = Super_L
This works fine, but after any qemu execution, with passthrough of my USB keyboard, the mapping is lost - more precisely, the system it starts behaving like the key is not mapped.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: qemu 1:2.5+dfsg-
ProcVersionSign
Uname: Linux 4.4.0-31-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Aug 4 19:11:24 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-07-11 (24 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
KvmCmdLine:
COMMAND STAT EUID RUID PID PPID %CPU COMMAND
kvm-irqfd-clean S< 0 0 1261 2 0.0 [kvm-irqfd-clean]
MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: qemu
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/24/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F6
dmi.board.
dmi.board.name: F2A88XN-WIFI
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: To be filled by O.E.M.
dmi.product.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
summary: |
- After QEMU execution with keyboard passthrough, key mappings are lost + Unplugging and re-plugging keyboard forgets xmodmap |
affects: | qemu (Ubuntu) → xorg (Ubuntu) |
Changed in xorg (Ubuntu): | |
status: | Invalid → New |
Changed in xorg (Ubuntu): | |
importance: | Undecided → Low |
Doesn't that detach the keyboard from your host system in order to pass it through to the guest? Does physically unplugging and re-plugging the keyboard have the same effect?