View Single Post
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#28
Here's a script to xmodmap the dpad and rotate the screen. Also included is the xrandr binary, which is a CLI for the RandR extension, and is used by the script. Install them both to executable places (I put xrandr in /usr/bin, and rotate.sh in /home/user/apps) and invoke as:
Code:
rotate.sh [ cw | ccw | normal | left | inverted | right ]
EDIT: Use the script below, if you want to be able to rotate one notch clockwise or counterclockwise from current position.
EDIT: Script rezipped; now this zip contains the most recent version of the script, able to rotate one notch clockwise or counterclockwise from current position.
Attached Files
File Type: zip xrandr+rotate.sh.zip (19.9 KB, 313 views)

Last edited by Benson; 2008-03-14 at 12:44.
 

The Following 2 Users Say Thank You to Benson For This Useful Post: