Thread
:
How to rotate screen on os2008
View Single Post
Benson
2008-03-13 , 21:42
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
xrandr+rotate.sh.zip
(19.9 KB, 313 views)
Last edited by Benson; 2008-03-14 at
12:44
.
Quote & Reply
|
The Following 2 Users Say Thank You to Benson For This Useful Post:
nemo
,
qwerty12
Benson
View Public Profile
Send a private message to Benson
Find all posts by Benson