Categories
Linux/Unix

VMware Player and Ubuntu 8.10 keyboard mapping issues

Yesterday I installed VMware Workstation 6.5 on my fresh install of Ubuntu 8.10. After powering on a Windows XP vm, I realized that I could not use the arrow keys properly. On hitting the left arrow key, start menu was being displayed and other arrow keys had similar issues. Also, using VMware player was completely impossible as ctrl-alt-del wasn’t working.

After searching around a bit I found that many others had faced similar issue. Apparently it is not a bug with VMware Workstation. Due to some updates to Ubuntu 8.10, the keyboard mappings were screwed up. I found good amount of information in the VMware communities forum.

To fix this issue, you simply need to run the following command,

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

and if VMware Player/Server/Workstation was running, just restart it.

You should then be good to go…

41 replies on “VMware Player and Ubuntu 8.10 keyboard mapping issues”

Yes…. Marvelously fixed my gigantic problem 🙂
Thanks

Oh god… Fixed my arrow problem but not my keyboard layout.

Not working for PT layout :/

Add the following code to your /etc/vmware/config file:

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

Thanks Carlos but it did not fixed my keys..

?£ and ?ß?° and those…

the “7” and “/” is fine, but the “special” keys (~?ß-_’`?°) dont work :S

Any ideas ?

Thanx will try this!

See if it works! I·?ø on a standard US layout so things should be fine!

Yes, i think the only problem is with PT_PT 🙁

Damn-weird-hard-language 😛

superb man… kudos
i searched high and low and your answer was simply and it worked

THANK YOU

Thanks – I was unable to select entries in the Grub boot menu of the physical disk I assigned to a VM. Now it’s working again!

Thanks, it fixed my arrow keys problem on my toshiba laptop.
AltGr key not working but i can go around it by using Alt + Ctrl keys.

This was the answer I was looking for. Simple and effective. Thanks.

Great hint! In vmware sever 1.08 I had to copy the string into /etc/vmware/config for it to work, but pay attention, use the “>>” and not “>” for echo, i overwrote the entire config file and nedeed to launch vmware-config.pl to turn back ^^;
Thank you

Worked like magic on vmware player, ubuntu 8.10.
Amazing!! Thank you!

Great post. Been looking for an easy solution and your one line command just sorted it all. I just knew there had to be a config line for this. Thank you for a great post which ranks nicely on Google using the phrase “ubuntu 8.10 vmware workstation keyboard problem”.

Cheers!

Excellent, that is the answer in a nice easy way to understand 🙂

I made this changes in my ~/.vmware/config file and the portuguese special keys (¬?¬™~^?ß?ᬥ`\|’?¬´¬ª) work fine.

xkeymap.keycode.61 = 0x035 # –
xkeymap.keycode.61 = 0x5f # _
xkeymap.keycode.47 = 0x027 # ?ß
xkeymap.keycode.47 = 0xc7 # ?á
xkeymap.keycode.48 = 0x028 # ¬?
xkeymap.keycode.48 = 0xaa # ª
xkeymap.keycode.51 = 0x02b # ~
xkeymap.keycode.51 = 0xfe52 # ^
xkeymap.keycode.34 = 0x01a # +
xkeymap.keycode.34 = 0x2a # *
xkeymap.keycode.35 = 0x01b # ´
xkeymap.keycode.35 = 0xfe50 # `
xkeymap.keycode.20 = 0x00c # ‘
xkeymap.keycode.20 = 0x3f # ?
xkeymap.keycode.21 = 0xab # ¬´
xkeymap.keycode.21 = 0xbb # »
xkeymap.keycode.49 = 0x029 # \
xkeymap.keycode.49 = 0x056 # |

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

arrow keys don’t work in ubuntu, kubuntu, mint, left and up and down and right are not respecting speed repeat rates of rest of keyboard… making coding annoying

Obrigado Pedro Bastos das Neves,

encontrar este post foi mesmo um luxo 🙂

I’m no linux expert (in fact I just installed ubuntu 8.10 and am having keyboard issues) but shouldn’t the command have a >> instead of > ? You wouldn’t want to overwrite the config file…

I didn’t notice it was a “>”, so… by default is there anything at the config file?
I agree with Rahul, it must be “>>” instead of “>”.
Anyway, it solved my problem! thank you!

i love you. needed safe mode in win xp vm but arrow keys did not function. thanks!

arrow keys don’t work in ubuntu, kubuntu, mint, left and up and down and right are not respecting speed repeat rates of rest of keyboard… making coding annoying

You rock 100 times over…Thanks for posting this…you saved my ass.

Thanks A LOT! I am an ubuntu 9.04 user; and the problem has flown away thanks to you!

Comments are closed.