VMware Communities
Jeff_Cox
Contributor
Contributor
Jump to solution

Problems with Arrow keys

Hi all,

Host is x86 Ubuntu (8.10) running Workstation 6.5, guest is XP Pro SP3. My arrow keys all seem to trigger ctrl, alt, super (aka windows key) instead of acting normal. Is this a problem with Workstation 6.5, or perhaps my OS?

Host specs: Thinkpad T61p, C2D 2.5ghz, 4gb RAM, Quadro FX 570M.

Reply
0 Kudos
1 Solution

Accepted Solutions
jdahl
Contributor
Contributor
Jump to solution

I found this solution from google (but I can't relocate the link).

Create .vmware/config with the following:

xkeymap.keycode.108 = 0x138 # Alt_R

xkeymap.keycode.106 = 0x135 # KP_Divide

xkeymap.keycode.104 = 0x11c # KP_Enter

xkeymap.keycode.111 = 0x148 # Up

xkeymap.keycode.116 = 0x150 # Down

xkeymap.keycode.113 = 0x14b # Left

xkeymap.keycode.114 = 0x14d # Right

xkeymap.keycode.105 = 0x11d # Control_R

xkeymap.keycode.118 = 0x152 # Insert

xkeymap.keycode.119 = 0x153 # Delete

xkeymap.keycode.110 = 0x147 # Home

xkeymap.keycode.115 = 0x14f # End

xkeymap.keycode.112 = 0x149 # Prior

xkeymap.keycode.117 = 0x151 # Next

xkeymap.keycode.78 = 0x46 # Scroll_Lock

xkeymap.keycode.127 = 0x100 # Pause

xkeymap.keycode.133 = 0x15b # Meta_L

xkeymap.keycode.134 = 0x15c # Meta_R

xkeymap.keycode.135 = 0x15d # Menu

View solution in original post

Reply
0 Kudos
21 Replies
dbungert-hp
Contributor
Contributor
Jump to solution

Hi Jeff,

I am seeing the same problem on Ubuntu 8.10. Guessing that is our culprit Smiley Happy

Similar software setup with workstation 6.5 and guest xp pro sp3, also on server 2003 guest. This on HP 8510w hardware w/ usb external keyboard.

No other solution to offer other than see what changed in 8.10

-Dan

Jeff_Cox
Contributor
Contributor
Jump to solution

Well that narrows it down quite a bit. I imagine this has something to do with 8.10's new "feature" of not needing an xorg.conf file. Must be that the layout is wrong for VMWare.

Reply
0 Kudos
jdahl
Contributor
Contributor
Jump to solution

I found this solution from google (but I can't relocate the link).

Create .vmware/config with the following:

xkeymap.keycode.108 = 0x138 # Alt_R

xkeymap.keycode.106 = 0x135 # KP_Divide

xkeymap.keycode.104 = 0x11c # KP_Enter

xkeymap.keycode.111 = 0x148 # Up

xkeymap.keycode.116 = 0x150 # Down

xkeymap.keycode.113 = 0x14b # Left

xkeymap.keycode.114 = 0x14d # Right

xkeymap.keycode.105 = 0x11d # Control_R

xkeymap.keycode.118 = 0x152 # Insert

xkeymap.keycode.119 = 0x153 # Delete

xkeymap.keycode.110 = 0x147 # Home

xkeymap.keycode.115 = 0x14f # End

xkeymap.keycode.112 = 0x149 # Prior

xkeymap.keycode.117 = 0x151 # Next

xkeymap.keycode.78 = 0x46 # Scroll_Lock

xkeymap.keycode.127 = 0x100 # Pause

xkeymap.keycode.133 = 0x15b # Meta_L

xkeymap.keycode.134 = 0x15c # Meta_R

xkeymap.keycode.135 = 0x15d # Menu

Reply
0 Kudos
dbungert-hp
Contributor
Contributor
Jump to solution

jdahl, thanks, I think that worked.

I was attempting the suggestions from , which said to shutdown guest os and workstation before putting things into .vmware/config.

Reply
0 Kudos
bofh_wannabe
Contributor
Contributor
Jump to solution

I found this solution from google (but I can't relocate the link).

I found it at which has a link to original post at

http://communities.vmware.com/message/508070#508070

I haven't tried it yet, but i hope it works :smileyblush:

Reply
0 Kudos
Jeff_Cox
Contributor
Contributor
Jump to solution

Thank you, jdahl. That did the trick. Certainly a strange problem!

Reply
0 Kudos
ritterwolf
Enthusiast
Enthusiast
Jump to solution

This seems to have worked for me as well.

Reply
0 Kudos
mitch1710
Contributor
Contributor
Jump to solution

Thanks!

It seems to be a problem with 8.10 only. I upgraded from 8.04 and the arrow keys were messed up. Very good fix!!

Reply
0 Kudos
ritchkock
Contributor
Contributor
Jump to solution

Works fine with me!!! Thanks!!!!!!

Reply
0 Kudos
jaysauce
Contributor
Contributor
Jump to solution

ROCKIN'!!!! That worked! Thanks Jdahl!

Reply
0 Kudos
dfum3
Contributor
Contributor
Jump to solution

I found the same solution after a google search. I'm posting to report that placing the mappings in ~/.vmware/preferences also works (This file was already present, and there was no config file in my directory). Are there any issues that would favor placing the settings in one file or the other?

Reply
0 Kudos
kaneda
Contributor
Contributor
Jump to solution

Happy to report success with VMware Workstation 6.5.1 build 126130 on Ubuntu 8.10 AMD64

Reply
0 Kudos
davidmcq
Contributor
Contributor
Jump to solution

VMWare Server 1.06, Ubuntu 8.10

Worked perfectly! Just copied jdahl's keymappings into a new file called ~/.vmware/config and restarted VMWare

Reply
0 Kudos
rolf2
Contributor
Contributor
Jump to solution

Thank you!

same problem here.

(ubuntu 8.10 (kernel 2.6.27-9-generic ) with ws 5.5.9)

Quickly solved this way!

Reply
0 Kudos
edb456
Contributor
Contributor
Jump to solution

I tried adding the key mappings above but several keys still don't work when running my VMware session. any other ideas?

Ubuntu 8.10 is my host. XP SP2 is guest host. lenovo T61 hardware.

page up - is a duplicate "/" instead

page down - now right mouse click

delete - does nothing

left arrow - is a duplicate "alt" key

right arrow - does nothing

top arrow - does nothing

down arrow - now the windows special key

windows special key - does nothing

Reply
0 Kudos
jbruelasdgo
Virtuoso
Virtuoso
Jump to solution

you could type this on a terminal:

echo 'xkeymap.nokeycodeMap = true' > ~/.vmware/config

Jose

Jose B Ruelas http://aservir.wordpress.com
Reply
0 Kudos
edb456
Contributor
Contributor
Jump to solution

the additional command in the config file did the trick! thanks

Reply
0 Kudos
jbruelasdgo
Virtuoso
Virtuoso
Jump to solution

glad I could help

do not forget to provide points

Jose

Jose B Ruelas http://aservir.wordpress.com
Reply
0 Kudos
Bernk
Contributor
Contributor
Jump to solution

OMG, thank you so much. This has been driving me crazy since i upgraded to Ubuntu 8.10 at the beginning of this week. You just don't realize how much you use the directional keys until they're gone. If you're ever in Philly, I owe you dinner.

Reply
0 Kudos