arrow keys not working with vmware

you may experience some problems with arrow keys, pg up/pg down and home/end keys with vmware 6.5 and Ubuntu Linux Intrepid 8.10.

a workaround for those problems is to create a file named config under .vmware folder in your home directory and fill it with either (both workarounds work!):

a)

xkeymap.nokeycodeMap = true

b)
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

Related posts:

  1. VMware Workstation 6.5.3 on Ubuntu Karmic 9.10
  2. Installing VMware 6.0.2 and VMware Server on Ubuntu Hardy 8.04
  3. Migrate VMware to VirtualBox
  4. vmware-config.pl gcc version error
  5. Basic commands for working with VI (and VIM)
  6. working with system logs
  7. Swap Area not working
| Print This Post Print This Post | Email This Post Email This Post
RSS 2.0 | Trackback | Comment

9 Responses to “arrow keys not working with vmware”

  1. Peter says:

    this did not work for me, but the following hint did:
    http://bias9.blogspot.com/2008/10/keys-not-working-in-vmware.html

  2. James J Catchpole says:

    I have the same problem with Fedora 10; everything else works fine. I
    want to change the boot sequence so that it always tries to boot from the CD
    before booting from the virtual HDD. When I enter BIOS I am unable
    to tab over to the boot tab. I created the config file as indicated for Ubunto
    but clearly it is not applicable to Fedora.

  3. Kamal says:

    Your example doesn’t work because you’re using the × character instead of a normal x in the text. E.g.

    xkeymap.keycode.108 = 0×138 # Alt_R

    instead of the correct

    xkeymap.keycode.108 = 0×138 # Alt_R

    HTH

  4. Kamal says:

    OK it seems it’s your blog software that is changing the character… ;)

    • aldeby says:

      Thank you Kamal for pointing this out.

      I’m sorry it was a WordPress bug or feature: when an x is found between two digits it is automatically converted to a multiply mark.

      Now I have fixed it by setting the string as preformatted.

  5. SirYes says:

    Thanks for a good, working hint, that was awesome!

    Finally I can run my virtual machines in Intrepid :)

  6. cybydude says:

    Thanks for the tip. I think Peter’s link is much easy and simple though.

  7. EpsilonZero says:

    Everything I could ask for, finally – thanks!

  8. Adnan says:

    thnx that worked

Leave a Reply

XHTML: You can use these tags: b, cite, code, em, i, q cite="", strike, strong.