AutoRotate – Ubuntu Installation Instructions
These are the instructions for installing the autorotate script on Ubuntu laptops using a prepackaged binary. If you are not using Ubuntu, then follow the general installation instructions.
Installation Instructions (Ubuntu Karmic Koala)
- Make sure you have a working accelerometer that is reading the proper orientation.
- Add my ThinkPadX61T PPA repository by appending the following line to the end of the /etc/apt/sources.list file:
deb http://ppa.launchpad.net/kkrizka/thinkpad-x61t/ubuntu karmic main - Update apt-get’s package list:
sudo apt-get update - Install the script and necessary packages:
sudo apt-get install wacom-tools python-xrandr autorotate - You can have the auto-rotate.py damon to start with GDM, so it will be available to all users, even during login. This is done by adding the following line to the end of the /etc/gdm/Init/Default file before the exit 0 command:
auto-rotate.py& - Restart GDM to start the script:
sudo /etc/init.d/gdm restart - Swivel down your screen into the tablet mode, and tilt it at around 45 degrees to test if everything is working.
- Follow the general instructions for setting up buttons for manual rotation.



Sir,
I am desparate for help getting Karmic to work adequately on my tablet-PC. From all of my internet research, you seem to have the most extensive handle on what to do and how to do it. I have no desire to profit from these efforts beyond a working tablet. Please tell me there is some way that you are able to help me to help myself.
My troubles extend from total failure of “sleep” and “hibernate” to issues with almost everything “tablet” (rotate, stylus, blue-keys, extra keys and buttons) and the X6-Ultrabase(tm) and ultra-bay devices.
Today I fetched the parts for your autorotate and I will work to deploy that tonight.
My next most urgent “need” is for “sleep” and “hibernate” to work. This is coupled with the need to sort out the multi-boot aspects of GRUB2.
I recently loaded Karmic onto my EmperorLinux Raven Tablet (Lenovo Thinkpad X61 Tablet). I replaced the as-built HDD with a new and larger drive and did a cold install of v9.10. Previously I used the Hardy (v8.04.3 LTS) edition of Ubuntu.
Thanks in advance,
~~~ 0;-Dan
PS/ Using Karmic and Firefox 3.5.7, I had trouble with navigation from your “projects” menu. Items would drop down, but would vanish before I could make a selection. ~~~ 0;-/
For me, hibernate and sleep worked out of the box, without any problems, on Ubuntu Karmic. What kind of graphics card do you have? Those are usually the problem.
Also, to get to the project list. Just click the “Projects” link and forget the drop down that comes. I’ll try to fix the drop down later though.
well i finally got my screen to rotate but the problem is that once the screen is rotated the mouse messes up. up becomes down and right key becomes left.
so if i have to point to applications (top left corner) on my desktop i have to actually move my stylus to right bottom corner.
Can you run the auto-rotate.py script from command line and let me know what messages it prints out?
It might be a problem with wacom tools not detecting the devices, a known problem in Ubuntu Karmic. But apparently it was fixed for the next version of Ubuntu. For now, you can fix it by following these instructions:
https://help.ubuntu.com/community/X61T#Fixing Touch