diff options
author | David Barksdale <amatus@amatus.name> | 2014-10-27 09:49:10 -0500 |
---|---|---|
committer | David Barksdale <amatus@amatus.name> | 2014-10-27 09:49:10 -0500 |
commit | 744ca80687aea3a9f0160a87d26f175a1c28a288 (patch) | |
tree | f91d965bfd5d5a1aa7219eb4748f4eacc7a783b4 /gobook-xr1.sh | |
parent | b7506ecfda9fe30d4b29af5ca2cba8992c5ec6cb (diff) |
New script for users of the GoBook XR-1
Diffstat (limited to 'gobook-xr1.sh')
-rwxr-xr-x | gobook-xr1.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gobook-xr1.sh b/gobook-xr1.sh new file mode 100755 index 0000000..cacefce --- /dev/null +++ b/gobook-xr1.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +# Enable touchscreen +sudo install -m 755 gobook-xr1-touchscreen /etc/init.d/ +sudo update-rc.d gobook-xr1-touchscreen defaults + +# Calibrate touchscreen +sudo apt-get install -y xinput-calibrator +xinput_calibrator | sed -n -e '/Section/,/EndSection/p' > 99-calibration.conf +sudo install -m 644 99-calibration.conf /usr/share/X11/xorg.conf.d/ +rm 99-calibration.conf |