qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Joao Luis Meloni Assirati <jlma@nonada.if.usp.br>
Cc: 772422@bugs.debian.org, "R. Lemos" <rslemos@gmail.com>,
	Michael Tokarev <mjt@tls.msk.ru>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] ABNT2 keys again
Date: Wed, 27 May 2015 16:18:55 +0200	[thread overview]
Message-ID: <1432736335.16596.10.camel@nilsson.home.kraxel.org> (raw)
In-Reply-To: <034ff938719b30664d1432fe3167a9f0.squirrel@nonada.if.usp.br>

On Di, 2015-05-26 at 18:24 -0300, Joao Luis Meloni Assirati wrote:
> Hello,
> 
> > I've tested an unpatched QEMU 2.3.0 (x86_64) with "-k pt_br" option and
> > the
> > "/?°" key works perfectly.
> 
> From the manpage of qemu:
> 
> -k language
>    Use keyboard layout language (for example "fr" for French). This option
> 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.
> 
> Do you think that using the -k option is the right solution to this problem?

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

  reply	other threads:[~2015-05-27 14:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-30  5:01 [Qemu-devel] ABNT2 keys again Michael Tokarev
2015-05-20 11:44 ` Michael Tokarev
2015-05-22 10:01   ` Gerd Hoffmann
2015-05-22 13:10     ` Michael Tokarev
2015-05-22 13:20       ` Gerd Hoffmann
2015-05-22 13:39         ` Michael Tokarev
2015-05-22 16:10         ` Joao Luis Meloni Assirati
2015-05-26  7:58           ` Gerd Hoffmann
2015-05-26 20:51             ` Joao Luis Meloni Assirati
2015-05-27 14:11               ` Gerd Hoffmann
2015-05-26 14:01           ` Gerd Hoffmann
2015-05-26 15:52             ` R. Lemos
2015-05-26 21:24               ` Joao Luis Meloni Assirati
2015-05-27 14:18                 ` Gerd Hoffmann [this message]
2015-05-22 15:03       ` Joao Luis Meloni Assirati

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1432736335.16596.10.camel@nilsson.home.kraxel.org \
    --to=kraxel@redhat.com \
    --cc=772422@bugs.debian.org \
    --cc=jlma@nonada.if.usp.br \
    --cc=mjt@tls.msk.ru \
    --cc=qemu-devel@nongnu.org \
    --cc=rslemos@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).