Skip to content

Instantly share code, notes, and snippets.

@sambar-fgfs
sambar-fgfs / rotate_desktop.sh_Fujitsu FARQ30W
Last active December 1, 2019 13:20 — forked from mildmojo/rotate_desktop.sh
Script to rotate the screen and touch devices for Fujitsu FARQ30WRJ/WBJ (QH30/W)
#!/bin/bash
#
# rotate_desktop.sh for Fujitsu arrows tab QH30/W(FARQ30WRJ/FARQ30WBJ)
#
# 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