surface3-scripts/README.md

32 lines
714 B
Markdown
Raw Normal View History

2015-01-01 10:48:49 +00:00
Surface3-Scripts
2015-01-05 15:32:39 +00:00
================
2015-01-01 10:48:49 +00:00
2015-01-01 10:53:35 +00:00
Some simple scripts for Linux on the Surface Pro 3.
2015-01-05 15:32:39 +00:00
Autorotate: autorotate.py run with python2 needs
autorotate.py
=============
2015-01-05 15:36:34 +00:00
Script for managing autorotation of the screen and deactivation of the touchscreen through the pen.
2015-01-05 15:32:39 +00:00
Instalation
-----------
2015-01-05 15:34:02 +00:00
* install libnotify and python2-gobject (needed for notifications)
* copy autorotate.py, touch.py, changeautorotatestatus.py, touch.txt, status.txt in the same folder
2015-01-05 15:32:39 +00:00
Usage
-----
2015-01-05 15:36:34 +00:00
Start script:
2015-01-05 15:32:39 +00:00
```
2015-01-05 15:36:54 +00:00
$ python2 /path/to/autorotate.py
2015-01-05 15:32:39 +00:00
```
2015-01-05 15:36:34 +00:00
Deactivate/reactivate autorotation:
```
2015-01-05 15:36:54 +00:00
$ python2 /path/to/changeautorotatestatus.py
2015-01-05 15:36:34 +00:00
```
Deactivate/reactivate touch:
```
$ python2 path/to/touch.py
```