#!/bin/bash ### Run this script in the background, i.e. ### ./autorot & ### in a terminal while running X ### ### This is for the eFun NextBook 8 ### # Change this larger to save battery power. # Note timer is broken for me right now, so I use 1 second. timeout=1 # Change this to the default output OUTPUT=DSI1 while true; do change=no while [ $change == no ]; do if [ $(