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…

Related Posts

17 Responses to “VMware Player and Ubuntu 8.10 keyboard mapping issues”


  1. 1 Andre Chies

    Just wat I need. Many thanks.

  2. 2 Artur Martins

    Yes…. Marvelously fixed my gigantic problem :) Thanks

  3. 3 Artur Martins

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

    Not working for PT layout :/

  4. 4 Carlos

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

    xkeymap.keycode.108 = 0×138 # Alt_R
    xkeymap.keycode.106 = 0×135 # KP_Divide
    xkeymap.keycode.104 = 0×11c # KP_Enter
    xkeymap.keycode.111 = 0×148 # Up
    xkeymap.keycode.116 = 0×150 # Down
    xkeymap.keycode.113 = 0×14b # Left
    xkeymap.keycode.114 = 0×14d # Right
    xkeymap.keycode.105 = 0×11d # Control_R
    xkeymap.keycode.118 = 0×152 # Insert
    xkeymap.keycode.119 = 0×153 # Delete
    xkeymap.keycode.110 = 0×147 # Home
    xkeymap.keycode.115 = 0×14f # End
    xkeymap.keycode.112 = 0×149 # Prior
    xkeymap.keycode.117 = 0×151 # Next
    xkeymap.keycode.78 = 0×46 # Scroll_Lock
    xkeymap.keycode.127 = 0×100 # Pause
    xkeymap.keycode.133 = 0×15b # Meta_L
    xkeymap.keycode.134 = 0×15c # Meta_R
    xkeymap.keycode.135 = 0×15d # Menu

  5. 5 Artur Martins

    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 ?

  6. 6 Luuk

    Thanx will try this!

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

  7. 7 Artur Martins

    Yes, i think the only problem is with PT_PT :(
    Damn-weird-hard-language :P

  8. 8 Chris

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

    THANK YOU

  9. 9 sajal

    awesome. that fixed it…

    wasnt too bothered about the issue untill i needed to mess with the bios of a vm…

  10. 10 Rene

    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!

  11. 11 César

    Hey Nalin!
    Thank you a lot!!!
    This is very useful

  12. 12 P.Silva

    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.

  13. 13 madsage

    Thank you very much!

    Fixed my problem as well.

    cheers

  14. 14 Mark D.

    Thanks for posting this simple fix!

  15. 15 John McCormick

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

  16. 16 Paul C.

    This also helped me out, thanks a lot!

  17. 17 mc.god

    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

Leave a Reply