randr.sh -

randr.sh is a script that lets you to rotate your screen just pressing a button.
randr.sh is a script that lets you to rotate your screen just pressing a button.

#!/bin/sh
rotation=`xrandr -q | grep "Current rotation" | cut -d"-" -f2`
if [ $rotation = "normal" ] ;
then xrandr -o left
else
xrandr -o normal
fi

Usage:

- Copy the code above and paste it into a text editor (Gedit or Kate)
- make it executable with:

chmod +x randr.sh

last updated on:
March 5th, 2007, 20:05 GMT
price:
FREE!
developed by:
Andrea Cimitan
homepage:
cimi.netsons.org
license type:
GPL (GNU General Public License) 
category:
ROOT \ Utilities

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT