The F10 key is assigned as the accelerator of the menu bar in the OS(Windows or
Linux).
On this account it is necessary to send the F10 key to the guest OS.
However, with the existing specifications of virt-viewer, the F10 key is
assigned to the accelerator
of the menu bar of virt-viewer and we cannot send the F10 key to the guest OS.
So, I change virt-viewer to be able to send F10 key to the guest OS when
virt-viewer grabs the keyboard.
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
05-23-2008, 03:04 AM
Hiroyuki Kaguchi
Enable to send F10 key to the guest OS.
On 2008/05/23 11:51, Hiroyuki Kaguchi wrote:
> The F10 key is assigned as the accelerator of the menu bar in the OS(Windows or
> Linux).
> On this account it is necessary to send the F10 key to the guest OS.
> However, with the existing specifications of virt-viewer, the F10 key is
> assigned to the accelerator
> of the menu bar of virt-viewer and we cannot send the F10 key to the guest OS.
> So, I change virt-viewer to be able to send F10 key to the guest OS when
> virt-viewer grabs the keyboard.
> On 2008/05/23 11:51, Hiroyuki Kaguchi wrote:
>> The F10 key is assigned as the accelerator of the menu bar in the OS(Windows or
>> Linux).
>> On this account it is necessary to send the F10 key to the guest OS.
>> However, with the existing specifications of virt-viewer, the F10 key is
>> assigned to the accelerator
>> of the menu bar of virt-viewer and we cannot send the F10 key to the guest OS.
>> So, I change virt-viewer to be able to send F10 key to the guest OS when
>> virt-viewer grabs the keyboard.
>
Would you give me a comment on this patch? If not, please apply it.
Thanks,
Hiroyuki Kaguchi
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
06-18-2008, 04:54 AM
Hiroyuki Kaguchi
Enable to send F10 key to the guest OS.
On 2008/05/23 12:04, Hiroyuki Kaguchi wrote:
> On 2008/05/23 11:51, Hiroyuki Kaguchi wrote:
>> The F10 key is assigned as the accelerator of the menu bar in the OS(Windows or
>> Linux).
>> On this account it is necessary to send the F10 key to the guest OS.
>> However, with the existing specifications of virt-viewer, the F10 key is
>> assigned to the accelerator
>> of the menu bar of virt-viewer and we cannot send the F10 key to the guest OS.
>> So, I change virt-viewer to be able to send F10 key to the guest OS when
>> virt-viewer grabs the keyboard.
>
> I forgot to attach the patch.
> I attach it.
>
Hi, Dan
Please review this patch.
Thanks
Hiroyuki Kaguchi
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
06-24-2008, 03:04 PM
"Daniel P. Berrange"
Enable to send F10 key to the guest OS.
On Fri, May 23, 2008 at 12:04:38PM +0900, Hiroyuki Kaguchi wrote:
> On 2008/05/23 11:51, Hiroyuki Kaguchi wrote:
> > The F10 key is assigned as the accelerator of the menu bar in the OS(Windows or
> > Linux).
> > On this account it is necessary to send the F10 key to the guest OS.
> > However, with the existing specifications of virt-viewer, the F10 key is
> > assigned to the accelerator
> > of the menu bar of virt-viewer and we cannot send the F10 key to the guest OS.
> > So, I change virt-viewer to be able to send F10 key to the guest OS when
> > virt-viewer grabs the keyboard.
The idea of the patch is a good one, but I think it is possible for
the user to customize the accelerator for menus. So by clearing the
accelerator and then resetting it to "F10" we would be overriding
the user's customization.
So before clearing the accelerator we should first make a record of
what the current setting is. This will let us correctly restore it
later.