On Fri, Jul 20, 2012 at 09:36:52PM -0700, Fernando de Oliveira wrote: > > Now this LFS/BLFS machine, running LXDE, hosts my VM's. > > Everything would be perfect, but there is an annoying problem: In my > br-abnt2 keyboard, the key for / and ? is not working in any VM, only in > the host. I recall there is a way to identify the key code and ad this > functionality to it, but can't remember how to do it anymore. > > Any ideas? (I am copying these question marks from the host). Perhaps I > will ask in the support list.
Yes, that's generally the best place :) Meanwhile, a couple of suggestions. I can't tell where the keyboard works, and where it doesn't - there are 4 possible places: host, console host, xorg vm, console vm, xorg For the console, use showkey. For xorg, use xev. In xorg, I would be inclined to add keys to ~/.Xmodmap but that probably just shows my age ;) Lots of people have reported this problem over the years, e.g. https://bugzilla.redhat.com/show_bug.cgi?id=470153 (for xorg), but I would expect that it had been fixed a long time ago : if xorg is the problem, are your systems in the VMs old, and perhaps they used to work with the keyboard driver ? You may get different codes for some of the keys from xev compared to the old keyboard driver - you could try adding 'Option "XkbModel" "evdev"' (pasted from my 11-keyboard.conf, perhaps the details differ in the old xorg.conf file ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page