ragtag / spin

a small utility to assist in setting usage modes of laptop-tablet devices
GNU General Public License v3.0
36 stars 8 forks source link

Fixed issue #1: Some features break after suspend #5

Closed KNejad closed 8 years ago

KNejad commented 8 years ago

Now if you have spin.py as a startup application it will restart the daemon in login instead of quiting.

ragtag commented 8 years ago

Thanks. That fixes the pen proximity issue, but there all the threads spawned still seem broken (can't switch mode, disable rotation etc.).

It does introduce a new issue, in that you can run multiple instances of spin.py --daemon, which is not really desirable. When I get around it it, I'll implement a simple pid or lock file, to prevent this, and see if I can't get full functionality back after suspend.