Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Virtualization
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Virtualization
For questions on VMWare, VirtualBox, Xen, QEMU and other virtualization software.

 
Thread Tools Display Modes
Old June 28th, 2008   #1
Barmaleychik
Just Give Me the Beans!
 
Join Date: Jun 2008
Beans: 70
Shift, control key and other keys problem with VmWare running

If I start VmWare usually but not always immediately I am getting problems with shift and control keys - they simply don't work. In addition if I work with mouse Firefox works fine, but if I press any key it crashes. Turning off VmWare does not help, but after rebooting everything is working again.

I got this message in another forums:

Quote:
Originally Posted by Zardus View Post
... the thing with VMWare killing control and shift and such is a known issue. Running:

Code:
# setxkbmap
fixes it temporarily (I think at least until you restart vmware). It's still a pain in the ***, though.
In my case it does not work unless I used the command wrong: at the prompt I copied and pasted: # setxkbmap and pressed enter.

Any ideas?
Barmaleychik is offline   Reply With Quote
Old June 28th, 2008   #2
fjgaude
I Ubuntu, Therefore, I Am
 
fjgaude's Avatar
 
Join Date: Feb 2007
Location: Cameron Park CA USA
Beans: 3,465
Ubuntu 9.10 Karmic Koala
Re: Shift, control key and other keys problem with VmWare running

A few folks seemed to have an issue like you describe, most don't though. What kind of computer are you using... just trying to tie the problem to some hardware or BIOS.
__________________
Regards, frank, at http://yantrayoga.typepad.com/noname/
Homebuilt Intel E8400 4.0GHz, 1.7TB raid5 | Dell laptop E1505n & Mini 10n | Shuttle AMD 64 3200+
VMware Player/Server w/ WinXP Guest runs Xara Xtreme Pro, Paint Shop Pro, and InDesign CS.
fjgaude is offline   Reply With Quote
Old June 28th, 2008   #3
Barmaleychik
Just Give Me the Beans!
 
Join Date: Jun 2008
Beans: 70
Re: Shift, control key and other keys problem with VmWare running

I built my system around ASUS A8N VN CSM motherboard with 2 GIG of RAM, which has built in video and sound. I use seagate SATA 500gig harddrive and which I do not think affect my VmWare
Barmaleychik is offline   Reply With Quote
Old June 28th, 2008   #4
fjgaude
I Ubuntu, Therefore, I Am
 
fjgaude's Avatar
 
Join Date: Feb 2007
Location: Cameron Park CA USA
Beans: 3,465
Ubuntu 9.10 Karmic Koala
Re: Shift, control key and other keys problem with VmWare running

Well, it's the "built-in" that's likely something the Ubuntu, Linux developers haven't fully taken into account... there is likely a workaround but I don't know what it might be.

Good luck with finding a solution.
__________________
Regards, frank, at http://yantrayoga.typepad.com/noname/
Homebuilt Intel E8400 4.0GHz, 1.7TB raid5 | Dell laptop E1505n & Mini 10n | Shuttle AMD 64 3200+
VMware Player/Server w/ WinXP Guest runs Xara Xtreme Pro, Paint Shop Pro, and InDesign CS.
fjgaude is offline   Reply With Quote
Old July 15th, 2008   #5
jonofan
Just Give Me the Beans!
 
jonofan's Avatar
 
Join Date: May 2008
Beans: 59
Ubuntu 8.10 Intrepid Ibex
Re: Shift, control key and other keys problem with VmWare running

did you have any luck finding a solution barmaley?

i'm having the exact same issue. my graphics are however not inbuilt. running an hp dv2000 notebook with an nvidia go7200.
__________________
The perfect wedding
apt-get install weddingring
apt-get update
apt-get upgrade house
jonofan is offline   Reply With Quote
Old July 15th, 2008   #6
robgolding63
Just Give Me the Beans!
 
Join Date: Sep 2006
Beans: 48
Ubuntu 8.04 Hardy Heron
Re: Shift, control key and other keys problem with VmWare running

I have the same issue. I'm running Ubuntu 8.04 on a Dell Dimension, with a PCI-E nVidia graphics card. The only way I can resolve it is to logout of gnome (cannot use Ctrl+Alt+Backspace for obvious reasons), then restart X with the aforementioned key combination.

Strange, and annoying really.

Rob
__________________
Rob Golding - Gold Computer Solutions - www.goldcs.co.uk
robgolding63 is offline   Reply With Quote
Old July 16th, 2008   #7
biggreen03
First Cup of Ubuntu
 
Join Date: Aug 2007
Beans: 1
Re: Shift, control key and other keys problem with VmWare running

Hey all,
In most posts where people type a command they will use the # sign as an indication of a command prompt. Not sure if I'm stating the obvious, but I think its worth pointing out that # is not part of the command. When Barmaleychik said: "at the prompt I copied and pasted: # setxkbmap and pressed enter." It made me think s/he included the #. Use the command setxkbmap but don't paste the #. I solved the same issue using this command.
biggreen03 is offline   Reply With Quote
Old July 29th, 2008   #8
dvaey
First Cup of Ubuntu
 
Join Date: Jul 2008
Beans: 1
Re: Shift, control key and other keys problem with VmWare running

I found this solution on another forum. Simply create a script called "/fix" with the following content. When your control keys stop working (often after switching out of vmware), you can either run /fix from an xterm or from the run dialog. Dont forget to run chmod u+x /fix to allow you to use the script.

This isnt a fix for the problem, but it is a bandaid solution to allow you to continue using your X session after vmware mucks up your keys.

As a side note, Ive found the 'alt' key is untouched, but if you want to switch to a text terminal, you must first click in the vmware window to give vmware full keyboard control, then use Ctl-Alt-FN to jump to text terminal, as the Ctl key wont be recognized unless vmware has keyboard focus.

--- /fix script below ---

#!/bin/sh
/usr/bin/xmodmap - << XXX
clear shift
add shift = Shift_L Shift_R
clear lock
add lock = Caps_Lock
clear control
add control = Control_L Control_R
clear mod1
add mod1 = Alt_L Alt_R
clear mod2
add mod2 = Num_Lock
clear mod3
clear mod4
add mod4 = Super_L Super_R
clear mod5
add mod5 = Scroll_Lock
XXX

--- end of /fix script ---
dvaey is offline   Reply With Quote
Old September 19th, 2008   #9
insulae
Just Give Me the Beans!
 
insulae's Avatar
 
Join Date: Apr 2005
Location: Argentina - SGO
Beans: 46
Ubuntu Jaunty Jackalope (testing)
Send a message via MSN to insulae
Re: Shift, control key and other keys problem with VmWare running

Quote:
Originally Posted by dvaey View Post
I found this solution on another forum. Simply create a script called "/fix" with the following content. When your control keys stop working (often after switching out of vmware), you can either run /fix from an xterm or from the run dialog. Dont forget to run chmod u+x /fix to allow you to use the script.

This isnt a fix for the problem, but it is a bandaid solution to allow you to continue using your X session after vmware mucks up your keys.

As a side note, Ive found the 'alt' key is untouched, but if you want to switch to a text terminal, you must first click in the vmware window to give vmware full keyboard control, then use Ctl-Alt-FN to jump to text terminal, as the Ctl key wont be recognized unless vmware has keyboard focus.

--- /fix script below ---

#!/bin/sh
/usr/bin/xmodmap - << XXX
clear shift
add shift = Shift_L Shift_R
clear lock
add lock = Caps_Lock
clear control
add control = Control_L Control_R
clear mod1
add mod1 = Alt_L Alt_R
clear mod2
add mod2 = Num_Lock
clear mod3
clear mod4
add mod4 = Super_L Super_R
clear mod5
add mod5 = Scroll_Lock
XXX

--- end of /fix script ---
great script!! you save my life , i hate this vmware problem.
__________________
Juan Matias Granda
http://www.insulae.com.ar
GPG FINGERPRINT:459C 4A2D 330C CB8C 0C44 0C3A 572C CBCA 5457 508B
insulae is offline   Reply With Quote
Old September 19th, 2008   #10
trmentry
Gee! These Aren't Roasted!
 
trmentry's Avatar
 
Join Date: Jun 2006
Location: 41.878269,-87.632436
Beans: 220
Ubuntu 8.04 Hardy Heron
Re: Shift, control key and other keys problem with VmWare running

there is a bug filed on this.

https://bugs.launchpad.net/ubuntu/+s...rg/+bug/195982
trmentry is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:38 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry