Skip to content

yourealwaysbe/grox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

GROX

A simplish script for rotating touchscreens. Takes care of rotating the touchscreen co-ordinates also, and optionally disables the keyboard and touchpad for all rotations except the normal orientation (useful for laptops with flip screens).

DEPENDS

Xrandr

SETUP

Set the variables at the top of the file with your screen, touchscreen, keyboard and touchpad names (from xinput --list).

Set $controlKeys to false if you don't want the script to turn your keyboard and touchpad on for normal orientation, and off for all others.

RUN

$ grox.sh <dir>

Where

is one of:

normal, left, right, invert: 
    absolute orientations
+left, +right, flip: 
    relative rotations

About

Ruby script for rotating touchscreens

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages