From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxcAn-0003p1-HL for qemu-devel@nongnu.org; Wed, 27 May 2015 10:19:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxcAi-00073S-IK for qemu-devel@nongnu.org; Wed, 27 May 2015 10:19:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxcAi-00073H-AD for qemu-devel@nongnu.org; Wed, 27 May 2015 10:19:04 -0400 Message-ID: <1432736335.16596.10.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Wed, 27 May 2015 16:18:55 +0200 In-Reply-To: <034ff938719b30664d1432fe3167a9f0.squirrel@nonada.if.usp.br> References: <5541B728.8020404@msgid.tls.msk.ru> <555C73AB.2090408@msgid.tls.msk.ru> <1432288894.12533.43.camel@nilsson.home.kraxel.org> <555F2AC7.80807@msgid.tls.msk.ru> <1432300809.12533.55.camel@nilsson.home.kraxel.org> <5c07634a39eecae39a9f0ba7a8cc58d5.squirrel@nonada.if.usp.br> <1432648866.24602.12.camel@nilsson.home.kraxel.org> <034ff938719b30664d1432fe3167a9f0.squirrel@nonada.if.usp.br> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] ABNT2 keys again List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Joao Luis Meloni Assirati Cc: 772422@bugs.debian.org, "R. Lemos" , Michael Tokarev , qemu-devel On Di, 2015-05-26 at 18:24 -0300, Joao Luis Meloni Assirati wrote: > Hello, >=20 > > I've tested an unpatched QEMU 2.3.0 (x86_64) with "-k pt_br" option a= nd > > the > > "/?=C3=82=C2=B0" key works perfectly. >=20 > From the manpage of qemu: >=20 > -k language > Use keyboard layout language (for example "fr" for French). This opt= ion > is only needed where it is not easy to get raw PC keycodes (e.g. on > Macs, with some X11 servers or with a VNC display). You don't normally > need to use it on PC/Linux or PC/Windows hosts. >=20 > Do you think that using the -k option is the right solution to this pro= blem? General rule for -k: If your keyboard layout is messed up try using -k, otherwise don't bother. When you use vnc -k might be needed, but whenever that is actually the case depends on the vnc client. There is a vnc extension to send raw keycodes, if the vnc client supports that this gives best results, if it doesn't you probably need -k for any non-us keyboard layout. The usual virt-related clients (virt-manager, virt-viewer, remote-viewer) support that vnc extension. cheers, Gerd