Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am schrauger on github.
  • I am schrauger (https://keybase.io/schrauger) on keybase.
  • I have a public key whose fingerprint is 92D2 6A72 88B5 6943 B8B7 2541 D77F DCCF 49D3 578C

To claim this, I am signing this object:

@schrauger
schrauger / rotate_desktop.sh
Created December 29, 2015 04:51 — forked from mildmojo/rotate_desktop.sh
Script to rotate the screen and touch devices on modern Linux desktops. Great for convertible laptops.
#!/bin/bash
#
# rotate_desktop.sh
#
# Rotates modern Linux desktop screen and input devices to match. Handy for
# convertible notebooks. Call this script from panel launchers, keyboard
# shortcuts, or touch gesture bindings (xSwipe, touchegg, etc.).
#
# Using transformation matrix bits taken from:
# https://wiki.ubuntu.com/X/InputCoordinateTransformation