Installing Python modules to your home folder on a Mac

It turns out that by default, on Leopard, Python 2.5 looks at ~/Library/Python/2.5/site-packages for Python modules. The problem is that nothing installs there by default. However, distutils (and setuptools) will read settings from ~/.pydistutils.cfg allowing you to configure some default settings for the install and easy_install commands. After a little bit of work, here’s the final result:

Charting in Numbers is rather disappointing...

So, I bought IWork ‘08 the other day and started playing around with it. I was glad to see they fixed a couple of things with IWork ‘06–there was some bug with gradient fills and tables that ended up leaving a thin line of background near the top edge of the cell… but only when you printed or made the PDF.

Mouse grabbing in VMWare...

Yesterday I was setting up a new VM under VMWare Workstation when I noticed that mouse grabbing was not working. Now I use my VMs extensively, so I expect this feature to work as it slows productivity when it doesn’t. After digging around, I found that the VMWare Tools installer hadn’t modified the xorg.conf to handle the mouse. It turns out that they released the Xorg drivers as open source and now they’re maintained by the Xorg team! So, in this case, I fired up Synaptic and installed the vmmouse input driver, modified the driver line in my xorg.conf to be ‘vmmouse’ instead of ‘mouse’, and restarted X. Tada! I now have mouse grabbing without having to start the vmware-toolbox.