View Single Post
Posts: 17 | Thanked: 1 time | Joined on May 2008
#142
Originally Posted by Benson View Post
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.
i typed that command in xterm but it tells not found. I installed xmodmap , put both files in correct location , what exactly should I type to assign a button for that rotate.sh script?