All Projects → wdbm → Spin

wdbm / Spin

Licence: gpl-3.0
a small utility to assist in setting usage modes of laptop-tablet devices

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Spin

Pytorch A3c
Simple A3C implementation with pytorch + multiprocessing
Stars: ✭ 364 (+600%)
Mutual labels:  multiprocessing
Imgp
📸 High-performance cli batch image resizer and rotator
Stars: ✭ 744 (+1330.77%)
Mutual labels:  multiprocessing
Autooffload.jl
Automatic GPU, TPU, FPGA, Xeon Phi, Multithreaded, Distributed, etc. offloading for scientific machine learning (SciML) and differential equations
Stars: ✭ 21 (-59.62%)
Mutual labels:  multiprocessing
Aioprocessing
A Python 3.4+ library that integrates the multiprocessing module with asyncio
Stars: ✭ 438 (+742.31%)
Mutual labels:  multiprocessing
Complex Yolov4 Pytorch
The PyTorch Implementation based on YOLOv4 of the paper: "Complex-YOLO: Real-time 3D Object Detection on Point Clouds"
Stars: ✭ 691 (+1228.85%)
Mutual labels:  multiprocessing
Skillbox Chat 08 19
Skillbox demo application for the Python course
Stars: ✭ 25 (-51.92%)
Mutual labels:  pyqt
Crypto Rl
Deep Reinforcement Learning toolkit: record and replay cryptocurrency limit order book data & train a DDQN agent
Stars: ✭ 328 (+530.77%)
Mutual labels:  multiprocessing
Vscode Qt For Python
Qt for Python (PyQt5 and PySide2) extension for Visual Studio Code.
Stars: ✭ 47 (-9.62%)
Mutual labels:  pyqt
Tuchart
Tuchart is a visualization interface for the Chinese stock market. Tuchart supports candlestick charts, price charts, tick data, high-frequency data and distribution of top shareholders for individual stocks. Tuchart是一个基于pyqt和echarts的股票视觉化应用。Tuchart 支持日/月线,分笔,高频数据,前十股东分笔的视觉化
Stars: ✭ 694 (+1234.62%)
Mutual labels:  pyqt
Fiber
Distributed Computing for AI Made Simple
Stars: ✭ 866 (+1565.38%)
Mutual labels:  multiprocessing
Parallel
Parallel processing for PHP based on Amp.
Stars: ✭ 478 (+819.23%)
Mutual labels:  multiprocessing
Scihubeva
A Cross Platform Sci-Hub GUI Application
Stars: ✭ 683 (+1213.46%)
Mutual labels:  pyqt
Hidpytoy
A GUI app for playing with HID devices, written in Python
Stars: ✭ 25 (-51.92%)
Mutual labels:  pyqt
Plutus
An automated bitcoin wallet collider that brute forces random wallet addresses
Stars: ✭ 404 (+676.92%)
Mutual labels:  multiprocessing
Load Qss
Change look and feel for Qgis
Stars: ✭ 30 (-42.31%)
Mutual labels:  pyqt
Resetter
The easiest way to reset your debian or ubuntu based linux back to stock
Stars: ✭ 333 (+540.38%)
Mutual labels:  pyqt
Cleanmywechat
自动删除 PC 端微信缓存数据,包括从所有聊天中自动下载的大量文件、视频、图片等数据内容,解放你的空间。
Stars: ✭ 816 (+1469.23%)
Mutual labels:  pyqt
Coala Quickstart
A tool that generates an initial coala config file for you!
Stars: ✭ 47 (-9.62%)
Mutual labels:  multiprocessing
Picacg Windows
哔咔漫画window客户端,界面使用PySide2,已实现分类、搜索、收藏夹、下载、在线观看、waifu2x等功能。
Stars: ✭ 35 (-32.69%)
Mutual labels:  pyqt
Sqliv
massive SQL injection vulnerability scanner
Stars: ✭ 840 (+1515.38%)
Mutual labels:  multiprocessing

spin

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

features

  • automatic palm rejection when using stylus
  • automatic disable/enable of touchpad and nipple when device toggled between laptop and tablet states
  • manual control of display orientation and input devices

setup

This utility requires X11.

Install PyQt5. On Ubuntu 16.04 LTS, run the following:

sudo apt install python-qt5

On Ubuntu 18.04 LTS, run the following:

sudo apt install pyqt5-dev pyqt5-dev-tools

Now install spin by running the following:

sudo pip install python_spin

To set up globally a Linux desktop launcher with icon, execute the following:

sudo wget --content-disposition -N -P /usr/share/icons/ https://raw.githubusercontent.com/wdbm/spin/master/python_spin/static/spin.svg

sudo wget --content-disposition -N -P /usr/share/applications/ https://raw.githubusercontent.com/wdbm/spin/master/python_spin/static/spin.desktop

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

spin

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

spin --no_GUI

There are other options which are described by spin --help.

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.

compatibility

computer model operating system and setup comment
ThinkPad S1 Yoga Ubuntu 16.04 (X11, Unity) working
ThinkPad S120 Yoga Ubuntu 16.04 (X11, Unity) working
ThinkPad Yoga 14 Ubuntu 16.04 (X11, Unity) possibly working with some reduced functionality
ThinkPad Yoga P40 Ubuntu 16.04 (X11, Unity) possibly working

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.

future

Under consideration is state recording in order to avoid execution of unnecessary commands and better handling of subprocesses.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].