Skip to content

Instantly share code, notes, and snippets.

View kallyous's full-sized avatar
🔥
I'm fine.

Lucas Carvalho kallyous

🔥
I'm fine.
View GitHub Profile
@kallyous
kallyous / rotate_desktop.sh
Created June 6, 2018 02:20 — 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

Keybase proof

I hereby claim:

  • I am kallyous on github.
  • I am kallyous (https://keybase.io/kallyous) on keybase.
  • I have a public key whose fingerprint is BB7B 6436 F71C 9089 6B4A E201 C278 6194 2BBE 09FF

To claim this, I am signing this object: