You are not logged in.

#1 2011-07-23 16:13:03

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,715

Virtualbox Arch Gnome 3 Host with XP Guest "Windows" key issue

Okay, this one has me scratching my head.  Perhaps my Google karma is lacking today.

The system:
Arch Linux (Kernel 2.6.29.3) running Gnome3 in the Gnome Shell
Using VirtualBox 4.1.0 OSE to run a Windows XP Guest.

How does one allow the guest operating system to "see" the "Windows" key so one can launch the file explorer, run box, etc...  ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#2 2011-07-23 18:17:25

zyxon
Member
From: Hungary
Registered: 2010-08-31
Posts: 36
Website

Re: Virtualbox Arch Gnome 3 Host with XP Guest "Windows" key issue

try Rctrl + Super. (Right ctrl is supposed to be the host key)

Offline

#3 2011-07-23 18:48:58

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,715

Re: Virtualbox Arch Gnome 3 Host with XP Guest "Windows" key issue

Good suggestion, but no joy sad

I had been configured to use the right alt.  Alt-Win did not work.  I reconfigured the host key as RightCtrl; tried RightCtrl-Win as well.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2011-07-23 19:05:39

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Virtualbox Arch Gnome 3 Host with XP Guest "Windows" key issue

You can send scancodes directly like this:
VBoxManage controlvm "Machine" keyboardputscancode e0 5b e0 db

The windows key needs a press (0xe05b) and a release (0xe0db) event. Other keys seem to work fine with just one event.

By the way, xdotool doesn't work with VirtualBox.

Offline

#5 2011-07-23 20:31:34

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Virtualbox Arch Gnome 3 Host with XP Guest "Windows" key issue

I use windows 7 home premium in virtualbox, and my win key works just fine without having to do anything special. Didn't think it would be guest OS dependent, but I guess it is.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#6 2011-07-23 20:39:26

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Virtualbox Arch Gnome 3 Host with XP Guest "Windows" key issue

@Inxsible:
It works for me on Windows XP.

Gnome or another keybinding application must be intercepting it.

Offline

#7 2011-07-23 20:47:13

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Virtualbox Arch Gnome 3 Host with XP Guest "Windows" key issue

Eric, then you should look and see if your keybindings for the win key are in conflict as Procyon suggests.

I use the win key as my mod key for xbindkeys as well, but windows captures the keystrokes correctly when I am focussed on the virtualbox window.

eg. Win + e --> on my other desktops starts EasyTag.
on desktop 5 (which is my dedicated desktop for virtualbox and obviously when windows is running) --> it starts Windows Explorer.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#8 2011-07-23 21:03:34

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,715

Re: Virtualbox Arch Gnome 3 Host with XP Guest "Windows" key issue

Yeah, The problem is specifically with Gnome3.  With OpenBox, Xfce4, and KDE it works just fine.  It is just that Gnome3 seems to have a special affinity to that "Windows" key.
Inxsible, are you using Gnome3 on the host?

When all the flurry of Gnome3 activity here on the forum started to settle down, I finally had some time to actually try it smile  I decided to live with it for a week and see if it appealed to me.
I kinda do like it.  There are a few weird little bugs -- such as if I wish to bind Win-T to start a terminal, you must press and release win, then press win-t.  I am sure this is somehow related.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#9 2011-07-23 21:18:20

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Virtualbox Arch Gnome 3 Host with XP Guest "Windows" key issue

ewaller wrote:

Inxsible, are you using Gnome3 on the host?

yikes If I ever find you, I'll whack you on your head.
I keep away from all DEs, thank you.

No, I use i3 exclusively.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#10 2011-07-23 21:48:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,715

Re: Virtualbox Arch Gnome 3 Host with XP Guest "Windows" key issue

Inxsible wrote:

...  yikes If I ever find you, I'll whack you on your head.

And if I ever find you, I'll gladly buy the first round of beers smile


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#11 2011-07-23 21:51:40

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Virtualbox Arch Gnome 3 Host with XP Guest "Windows" key issue

ewaller wrote:
Inxsible wrote:

...  yikes If I ever find you, I'll whack you on your head.

And if I ever find you, I'll gladly buy the first round of beers smile

I am going to take you up on that sometime.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#12 2016-11-16 20:34:59

cwright84
Member
Registered: 2015-05-22
Posts: 1

Re: Virtualbox Arch Gnome 3 Host with XP Guest "Windows" key issue

Hey guys, thought I would post the solution I found to overcome this issue with Gnome 3.

All you have to do is goto system settings -> tweak tool (gnome-tweak-tool) -> select keyboard and mouse menu -> change the following setting:

switch between overview and desktop from Right Ctrl TO anything else your heart desires and windows key issue fixed for virtualbox guest Windows OS.

Hope this helps!

Offline

#13 2016-11-16 20:44:02

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,715

Re: Virtualbox Arch Gnome 3 Host with XP Guest "Windows" key issue

Thank you for the suggestion, and Welcome to the Arch Linux forums smile   I, however, have long since lost interest in Gnome and spend all of my time in i3wm or Openbox (depending on my mood).  And, I only ever fire up that Windows VM once or twice a year when I need to run the scoring system for the local gymnastics meet which uses a Windows only program called ProScore.

I hope your suggestion helps someone.  I will, however, use this opportunity to close this historic thread.

Last edited by ewaller (2016-11-16 20:44:40)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB