Hi Greg,

the host key value you see is an internal value of the host system, that
is an Xorg value on Linux and a completely different system on Windows.
The following values should be valid for Windows hosts (I cannot test it
currently):

  160    left shift key
  161    right shift key
  162    left control key
  163    right control key
  164    left menu key
  165    right menu key

Kind regards,

Frank

On Monday 09 July 2007, Gregory Nowak wrote:
> Yes, but I haven't managed to figure out all the details. Let me
> explain what I know so far, and maybe someone at Innotek will be kind
> enough to provide a more complete explanation instead of just saying
> that the explanation is too complicated and prone to error, and
> leaving it at that.
>
> Under winxp as the host, I was able to play around in the gui
> interface, and figured out that alt+f to get into the file menu,
> followed by hitting i, got me into the input settings where you can
> change the hostkey. A bit of tabbing around and listening to what
> window-eyes was saying, allowed me to successfully change the hostkey
> to be the right alt key.
>
> Running "vboxmanage getextradata global enumerate", showed me that one
> of the keys defined was "GUI/Input/HostKey", and that its value was
> "165. So, from that, I know that in order to set the hostkey to right
> alt you'd do:
>
> vboxmanage setextradata global "GUI/Input/HostKey" 165
>
> I ran showkey under gnu/linux, and tried doing some calculations using
> the values that showkey returned both in keycode mode, and in scancode
> mode for the right alt, but none of that worked out to 165. It's
> possible that codes returned for a key under windows and gnu/linux are
> different, but as far as I know, a scancode is a scancode, regardless
> of the OS used. I do stand to be corrected on that of course. So, your
> guess as to how to derive the value for a particular key, or
> combination of keys is as good as mine, for now at least. Hth.
>
> Greg
>
> On Mon, Jul 09, 2007 at 02:49:09PM -0400, Guy Schlosser wrote:
> > Hi all, is there a way to change the host key in the command
> > line?  I'm totally blind, running Ubuntu 7.04 as the host, and the
> > GUI (because it's written with QT) does not speak, leaving me no way
> > of navigating the necessary GUI options to change this.  Also, I'm
> > running it on a laptop that does not have a right control key.  Any
> > help in this matter would be greatly appreciated.
> >
> > Thanks much in advance,
> >
> >
> > Guy
> >
> >
> > _______________________________________________
> > vbox-users mailing list
> > [email protected]
> > http://vbox.innotek.de/mailman/listinfo/vbox-users
>
> --
> web site: http://www.romuald.net.eu.org
> gpg public key: http://www.romuald.net.eu.org/pubkey.asc
> skype: gregn1
> (authorization required, add me to your contacts list first)



-- 
## innotek GmbH, http://www.innotek.de ##

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to