public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* vncviewer and broken mouse behaviour - is there a fix?
@ 2009-02-26 11:04 Tomasz Chmielewski
  2009-02-26 12:11 ` Avi Kivity
  2009-03-01 19:31 ` Stuart Jansen
  0 siblings, 2 replies; 9+ messages in thread
From: Tomasz Chmielewski @ 2009-02-26 11:04 UTC (permalink / raw)
  To: kvm@vger.kernel.org

Currently, using mouse with vncviewer is a bit broken: "VNC mouse 
pointer" moves much faster than the real mouse pointer.

As a result, it's not always easy to point&click in the right area.

Is there a workaround for that?


-- 
Tomasz Chmielewski
http://wpkg.org

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: vncviewer and broken mouse behaviour - is there a fix?
@ 2009-03-01  0:20 duck
  0 siblings, 0 replies; 9+ messages in thread
From: duck @ 2009-03-01  0:20 UTC (permalink / raw)
  To: kvm


Have you turned mouse acceleration off in your guest OS?

If not, then the mouse pointer is not guaranteed to move one distance unit 
inside the guest for every distance unit it moves in real life. (Sorry, an 
unscientific explanation, but I hope it suffices.) In fact, when you move
the mouse quickly, the pointer will move even more quickly ;-) This makes 
it impossible for QEMU reliably to coordinate the host and guest mouse 
locations.

Under Windows, IIRC, you can go to:

   Settings|Control Panel|Mouse|Pointer Options

and to turn off the (ironically named) tick-box option:

   [ ] Enhance pointer precision

Under X, try:

   $ xset m 1

which sets the mouse "acceleration multiplier" to 1, thus keeping the 
mouse positioning host-pixel-perfect both in regular and accelerated 
modes.

For gpm, try adding the command line qualifier:

   -a 1

for similar reasons to the xset command above.

HtH.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-03-01 19:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-26 11:04 vncviewer and broken mouse behaviour - is there a fix? Tomasz Chmielewski
2009-02-26 12:11 ` Avi Kivity
2009-02-26 12:34   ` Tomasz Chmielewski
2009-02-26 12:36     ` Dietmar Maurer
2009-02-26 12:45       ` Tomasz Chmielewski
2009-02-26 12:48         ` Dietmar Maurer
2009-02-26 13:15     ` Daniel P. Berrange
2009-03-01 19:31 ` Stuart Jansen
  -- strict thread matches above, loose matches on Subject: below --
2009-03-01  0:20 duck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox