VMware Workstation in full screen mode hobbles my keyboard

I have recently encountered an odd situation following my recent upgrade to Ubuntu 8.04: when I use VMware Workstation to run Windows XP in full screen mode, the keyboard no longer acts as it should. For instance, Caps Lock and Num Lock keys stop working as does the Shift key. Logging out and back in again is the least that’s needed to set things right but there has to be a better way to fix the problem. I am not saying that it’s limited to the scenario where I saw it happen but it’s still very odd behaviour. If you have a solution, please let me know. Of course, I’ll keep you posted if I find one. In the meantime, I’ll be avoiding full screen mode with VMware as much as I can.

Update 1:

I have done a spot of digging on this one since and gained the impression that there might be a conflict between VMware and the version of X.org Server that comes with Ubuntu. A restorative trick that I have seen suggested is to issue the following command in a terminal, replacing "gb" with your own locale, but I have yet to see if it works:

setxkbmap -rules xorg -layout "gb"

In any case, it looks as if it is not a permanent fix but just a way to keep working without resorting to system restarts, logging off and back on, etc.

Update 2:

I can now verify that the comand quoted above works for me. Of course, it would better to find a permanent fix and even better for the behaviour never to occur at all but any fix is better than none whatsoever.

VMware going amuck…

Over the last week, I have had VMware misreport the speed of my CPU and have virtual machines like they’re on speed. To cure it, I tried restarting the PC a few times but that yield no joy, even if it did work the last time that VMware did this on me. Following some instructions from the Ubuntu forums set things back onto an even keel again. The commands required follow:

sudo apt-get install linux-headers-$(uname -r) build-essential gcc-3.4

tar xzf VMware-workstation-6.0.2-59824.x86_64.tar.gz

export CC=/usr/bin/gcc-3.4 && cd vmware-distrib && sudo ./vmware-install.pl

The first of these adds in a specific version of the GNU C compiler while also adding kernel headers; the latter weren’t needed on my system since I already had them. The second extracts files from the tarball while the last performs the required installation rites.