randr.sh -

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

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Andrea Cimitan
HOMEPAGE:
cimi.netsons.org
CATEGORY:
ROOT \ Utilities
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

#rotate screen #rotate desktop #randr script #randr.sh #rotate #screen #desktop

Add your review!

SUBMIT