I hacked together this little ruby script to read the G-measuring device in the Thinkpad’s harddisk (HDAPS) and rotate the desktop cube of Beryl when sudden movement occurs. A bit like what has been done for the MacBook already.
http://w-nz.com/~darkshines/projects/rtollina.rb
GPL, obviously. It’s not really perfect yet. I’ll try to improve it tomorrow and add support for compiz and maybe even make a little widget out of it.
It’s based on code by Fer, which is for Compiz instead of Beryl.
Testing new hashcash.