Here is a simple screen rotation app, it won\'t work if you use matchbox, but only with Xfce.
http://151.1.32.173/~fiore/pdaxrom/rotatio....1_armv5tel.ipkInvoke it with /usr/local/bin/rotation
To use it under matchbox you need to comment the lines
<keybind key=\"Sys_Req\">
<action name=\"Execute\"><execute>chkhinge</execute></action>
</keybind>
using <!--- and -->
in /etc/xdg/openbox/rc.xml.
Note that this will disable auto-rotation, but will let you choose 4 different rotation options.
Also please disable the rotation bash script i described in the xfce4 post.
If someone is interested i\'ll manage to make a \"dockable\" version of this which also support autorotation and preferences.