This file contains 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 | |
# === INFO === | |
# altnetworking.sh | |
# Description: Run the specified application in a custom networking environment. | |
# Uses cgroups to run process(es) in a network environment of your own choosing (within limits!) | |
VERSION="0.1.0" | |
# Author: John Clark | |
# Requirements: Debian 8 Jessie (plus iptables 1.6 from unstable) | |
# |
This file contains 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/sh | |
# | |
# This script adjusts the Calibration Matrix for Debian Stretch running on my Voyo VBook V3 (Apollo Lake N4200) | |
# This calibration matrix works for me. It's likely the manufacturer changes the touchscreen sensor setup | |
# from time to time and so these particular factors may not work for you. | |
# | |
# Tested on Debian Stretch ONLY. | |
# | |
# Note: Debian Stretch uses libinput for touchscreen settings. Thus, xinput_calibrator didn't work for me so I had | |
# to research and roll-my-own solution, which is as shown below. |
This file contains 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
# Note: Tested and works on Debian Stretch (2017-03-29) | |
# Locate at /etc/udev/rules.d/99-voyo-v3-n4200-touchpad.rules | |
KERNEL=="event*",SUBSYSTEM=="input",ATTRS{name}=="silead_ts",ENV{LIBINPUT_CALIBRATION_MATRIX}="-2.072 0 1 0 -2.698 1" |