Skip to content

AutoRotate – General Installation Instructions

These are the instructions on now to install the AutoRotate daemon from source, if you are using something other than Ubuntu (for which binary packages are available, and recommended). I should note that I haven’t tested any other systems than Ubuntu, so I don’t guarantee that the instructions will work.

Let me know if you encounter any problems or successes.

Installation Instructions (From Source)

  1. Make sure you have a working accelerometer that is reading the proper orientation.
  2. Install wacom tools using your distribution’s package system.
  3. Install python-xrandr
    • Download python-xrandr 0.1.1 source
    • Unpack the sources tar -xvzf python-xrandr-0.1.1.tar.gz
    • Build and install cd python-xrandr-0.1.1 && sudo ./ install
  4. Install autorotate
    • Download autorotate 0.4 source
    • Unpack the sources tar -xvzf autorotate-0.4.tar.gz
    • Build and install cd autorotate-0.4 && sudo ./ install
  5. Have daemon on GDM. This way 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:
  6. Restart GDM to start the script:
    sudo /etc/init.d/gdm restart
  7. Swivel down your screen into the tablet mode, and tilt it at around 45 degrees to test if the script works!
  8. Follow the general instructions for setting up buttons for manual rotation.


Leave a comment
  1. Rubin / Feb 10 2010


    I’m trying to install your autorotate utility, however, I’m having trouble after running install:
    error: can’t copy ‘LICENSE’: doesn’t exist or not a regular file
    error: can’t copy ‘net.krizka.autorotate.service’: doesn’t exist or not a regular file
    error: can’t copy ‘net.krizka.autorotate.conf’: doesn’t exist or not a regular file

    These files seem to be missing from the autorotate-0.4.tar.gz files; A mistake mayhaps?
    Btw, I’m trying to package this and python-xrandr 0.1.1 for Fedora 12 x86_64 and i386.

    Kind regards,


Trackbacks and Pingbacks

  1. AutoRotate 0.3 Released | Karol Krizka
  2. AutoRotate 0.4 – The not-allowed-to-own-the-service-“net.krizka.autorotate”-due-to-security-policies Release | Karol Krizka
Leave a comment