This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ $# > 1 || ($1 != "enable" && $1 != "disable") ]]; then | |
echo "Usage: $0 <enable|disable>" | |
exit 1 | |
fi | |
if [[ $1 == "enable" ]]; then | |
TOGGLE=`grep '\*disabled' /proc/acpi/wakeup | cut -d ' ' -f1` | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Straight Google | |
// @id straight_google_pokerface | |
// @version 1.17.13 | |
// @author Pokerface - Kevin | |
// @namespace in.co.tossing.toolkit.google | |
// @description Remove URL redirection from google products | |
// @license GPL v3 or later version | |
// @downloadURL https://userscripts.org/scripts/source/121261.user.js | |
// @updateURL https://userscripts.org/scripts/source/121261.meta.js |