qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabian Holler <fabian.holler@profitbricks.com>
To: Philipp Hahn <hahn@univention.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Keysymbol interpretation missing in QEMU's VNC server?
Date: Thu, 8 Mar 2012 22:23:32 +0100	[thread overview]
Message-ID: <20120308212332.GD13550@fholler.de> (raw)
In-Reply-To: <201203082124.14187.hahn@univention.de>

Hello Philipp,

thanks for your answer.

On Thu, Mar 08, 2012 at 09:24:13PM +0100, Philipp Hahn wrote:
> On Wednesday 07 March 2012 11:53:57 Fabian Holler wrote:
> > I'm not sure if I found a bug in QEMU's VNC keyboard layout mapping or
> > if it's a general problem in the implemented VNC server:
> 
> Daniel P. Berrangé has written some very good blog entries about the VNC 
> problem: 
> <http://berrange.com/posts/2010/07/04/more-than-you-or-i-ever-wanted-to-know-about-virtual-keyboard-handling/>
> They're quiet technical, but after reading them I at least concluded that VNC 
> is normally just broken.

I already discovered Berrangès articles, helped me very lot to
understand the problem.

> I recommend using virt-viewer, with which I have mostly no such problems.

Ah, never heard of it, it seems also be gtk-vnc based.
I already tried gtk-vnc and it works but we need a Web based solution
for our customers.
I found Java VNC (http://www.jdams.org/java-vnc), which also sends the
QEMU extended key event messages (based on TigerVNC). But in the JVM is
the same old problem that the scan code/key code isn't known.

So our current plan is to let the customer choose his
local keyboard layout in the applet and recover the key code for the key
symbol (+ add/remove if needed metakey events like shift) on the client.

Similar like QEMU's "-k" option, but on the client-side +
interpretation. We will only can support a limited number of keyboard
layouts but changing the layout without restarting QEMU will be
possible. :-)


regards

Fabian

  reply	other threads:[~2012-03-08 21:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-07 10:53 [Qemu-devel] Keysymbol interpretation missing in QEMU's VNC server? Fabian Holler
2012-03-08 20:24 ` Philipp Hahn
2012-03-08 21:23   ` Fabian Holler [this message]
2012-03-08 21:30 ` Anthony Liguori
2012-03-08 22:01   ` Fabian Holler
2012-05-23  8:16     ` Erik Rull
2012-05-23  8:45       ` Erik Rull
  -- strict thread matches above, loose matches on Subject: below --
2012-03-07 12:22 Fabian Holler
2014-01-14  8:45 Gonglei (Arei)
2014-01-25  5:13 Gonglei (Arei)

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=20120308212332.GD13550@fholler.de \
    --to=fabian.holler@profitbricks.com \
    --cc=hahn@univention.de \
    --cc=qemu-devel@nongnu.org \
    /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).