[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: qemu not grabbing control keys



On Thu, May 1, 2014 at 5:23 AM, Ólafur Jens Sigurðsson <ojsbug@gmail.com> wrote:
>
> Hi, if I try to run images with kvm I cant switch to virtual consoles
> with ctrl-alt-(1/2/3) no matter what key combination I use (default is
> ctrl-alt, starting kvm with -alt-grab makes it ctrl-alt-shift, starting
> with -ctrl-grab makes it right ctrl button).
>
> Grabbing and ungrabbing the mouse with the control keys works though so
> qemu sees the keys.
>
> My system is an icelandic keyboard with qemu version 2.0.0+dfsg-2 from
> unstable.

There may be a less keyboard-intensive way but it's the only way that I know:

"ctrl-alt-2" to go to the qemu "console"

"sendkey alt-fN" where "N" is the number of the tty

"ctrl-alt-1" to return to the VM console on ttyN


Reply to: