Giter Club home page Giter Club logo

keep-presence's Introduction

Keep Presence

This program moves the mouse or press a key when it detects that you are away.
It won't do anything if you are using your computer.
Useful to trick your machine to think you are still working with it.

Demo

Demo

Install with Snap

sudo snap install keep-presence
Run
keep-presence

If you don't have the snap command available, you might be able to find instructions for your distro here.

Classical installation

  • Clone the project
  • Install python3 and pip3.
  • Execute pip3 install pynput
Run
python3 keep-presence.py

Optional arguments

-h, --help                        show this help message and exit
            
-s SECONDS, --seconds SECONDS     Define in seconds how long to wait after a user is
                                  considered idle. Default 300.
            
-p PIXELS, --pixels PIXELS        Set how many pixels the mouse should move. Default 1.
            
-m MODE, --mode MODE              Available options: keyboard, mouse, both; default is
                                  mouse. This is the action that will be executed when
                                  the user is idle: If keyboard is selected, the program
                                  will press the shift key. If mouse is selected, the
                                  program will move the mouse. If both is selected, the
                                  program will do both actions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.