Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installing

Releases are on the project’s GitHub releases page:

FileWhat it is
quitlock-<version>.apkThe phone app
quitlock-<version>-linux-x86_64The command-line tool for Linux
quitlock-<version>-windows-x86_64.exeThe command-line tool for Windows
quitlock-gui-<version>-linux-x86_64The desktop app for Linux
quitlock-gui-<version>-windows-x86_64.exeThe desktop app for Windows
SHA256SUMSChecksums of all of them
  1. Check the downloads: sha256sum -c SHA256SUMS --ignore-missing. Releasing shows how to check further, down to rebuilding a release from the source.
  2. Choose the desktop app, the CLI, or both. The desktop app does setup, everyday use, partners and the exit in a window; the CLI does all of that too, and also app updates, the dash view, bundles written as files and the Linux udev rule. Both use the same keys. Run the desktop app from wherever you saved it (on Linux, chmod +x it first).
  3. Put the CLI on your path, named quitlock (quitlock.exe on Windows). On Linux: chmod +x it and move it to ~/.local/bin/quitlock.
  4. Get adb (Android’s platform tools) for setting the phone up. Both programs find it on your path; the CLI also takes --adb <path>. After setup, Linux needs no adb at all.
  5. Linux only: let your user open the phone over USB. quitlock setup offers this when it is needed; on its own, run quitlock setup --udev. It shows a udev rule for /etc/udev/rules.d/70-quitlock.rules and, if you agree, writes it with sudo. Unplug the phone and plug it in again afterwards.

You do not need to install the APK yourself: quitlock setup (or quitlock provision, or the desktop app’s Set up page) installs it, and refuses a QuitLock APK that is not signed with the release key. It can also download the latest release itself, checked against its SHA256SUMS.

Then: Setting up a phone.