33 lines
845 B
Markdown
33 lines
845 B
Markdown
# mycaffeine
|
|
|
|
a little linux tools that moves your pointer regularly to avoid the automatic screen lock on a computer you can't configure. it doesn't need root.
|
|
|
|
# how to install
|
|
|
|
you may want to copy the file /mycaffeine in the $PATH or somewhere you can run it quickly. you don't need to, it's just a standalone script.
|
|
|
|
# how to use
|
|
|
|
these commands assume you copied ./mycaffeine
|
|
|
|
## how to start it
|
|
```sh
|
|
$ mycaffeine start
|
|
```
|
|
|
|
## how to stop it
|
|
```sh
|
|
$ mycaffeine stop
|
|
```
|
|
|
|
## how to check if it's currently running
|
|
there is no command to do that, but you can just start it or stop it again to be sure it's running.
|
|
|
|
## how to specify the interval
|
|
change the value of the variable $DELAY in the script.
|
|
|
|
## how to check if it works
|
|
change the delay to 1 seconds and see if your pointer moves lol
|
|
|
|
## what if it doesn't work
|
|
i have no idea
|