thinkwhack 0.1

If you have read about the thinkwhack thingy I am building and you have a thinkpad laptop, you can see some of the action now since there is a 0.1.

Right now it does probably not properly enforce dependencies so you have to manually make sure that “pygtk” and “pygst” (python gstreamer bindings) are installed as well as the hdaps module for your laptop loaded. You also need to have “xrandr” installed for the action to work.

The only thing properly implemented right now is “tilting” which means: The laptop realizes that it”s lieing on the side and rotates the display properly (which is actually quite cool for reading longer texts on the laptop).

“thinkwhack” starts disabled so you have to rightclick the tray icon and start it manually, the little circle on the icon shows you whether it”s off (red) or on (green). Turning the display around takes a while (since the program waits till it considers the state “stable”, but if you just turn it around on the table and set it on its side it should work.

I used the data I have from my laptop so the values might be somewhat off for yours, I”ll build configuration dialogs for those values as one of the next things so you can finetune the software to your needs.

Apart from that I”m going to add “Swing” and “Shock” events and allow more actions that just rotating the display.

If you have a thinkpad laptop you can check it out via the Python cheesechop/pypi viaeasy_install thinkwhack in your terminal or by downloading the tar.gz from the pypi page. if you download that tar.gz manually you”ll have to run “python setup.py install” in the directory you untard the sources to.