Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

a small utility to assist in setting usage modes of laptop-tablet devices

Project Description

a small utility to assist in setting usage modes of laptop-tablet devices


sudo apt-get -y install python-qt4
sudo pip install python_spin

quick start

This utility can be run in its default graphical mode or in a non-graphical mode. The graphical mode is engaged by running

while the non-graphical mode is engaged by using the option --nogui: --nogui

By default, this utility disables the touchscreen on detecting the stylus in proximity and it changes between the laptop and tablet modes on detecting toggling between the laptop and tablet usage configurations. These default behaviours are provided by both the graphical and non-graphical modes of this utility. This utility should be initiated in the laptop usage configuration.


This utility has been tested on the following operating systems:

  • Ubuntu 14.10
  • Ubuntu 15.04
  • Ubuntu 16.10

This utility has been tested on the following computer models:

  • ThinkPad S1 Yoga
  • ThinkPad S120 Yoga

There is evidence that it does not run with full functionality on the ThinkPad Yoga 14.

acceleration control

There is an experimental acceleration control included which is deactivated by default. It can be activated by selecting the appropriate button in the graphical mode.


Under consideration is state recording in order to avoid execution of unnecessary commands, better handling of subprocesses, clearer logging and a more ergonomic graphical mode.

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(7.3 kB) Copy SHA256 Hash SHA256
Source None Jan 16, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers