Skip to content

Releases: mssever/sleep-inhibit

Sleep Inhibitor 1.0.0

Choose a tag to compare

@mssever mssever released this 20 May 01:32
v1.0.0
64a7730

This is the first production release version of Sleep Inhibit. Please report any bugs you find.

Installation (or Equivalent)

There are several ways to install. You can use the version in this release, or run the most up-to-date code on the master branch (which is intended--but not guaranteed--to always be usable).

Run from Source (Easiest Method)

No installation is necessary. Just:

  1. Install the dependencies. Sleep Inhibit requires xdotool and xprintidle to be installed as commands on
    your $PATH. If you want to modify behavior based on whether you're running on
    battery, you'll also need the acpi command available.
  2. Place the app directory wherever you want the app to live. Having it on your $PATH is not necessary.
  3. From the directory you selected, run sleep_inhibit.py.
  4. If you want the app to automatically start every time you log in, open the icon's menu, select Preferences, and enable it in the preferences window. (This installation won't make Sleep Inhibitor available from your system menu, so enabling autostart is recommended to prevent you from having to launch it from the command line every time.)
  5. If you decide to uninstall it, quit Sleep Inhibit, then run cleanup.py, being sure to answer yes to all questions. Then delete the directory, and all traces will be gone.

Install from Package

Ubuntu users (and probably Debian users) can build and install a .deb package from this release. Unfortunately, GitHub doesn't allow me to upload a .deb file directly.

  1. Install build dependencies. You can remove them after the package is created, if you want.

    sudo apt install packaging-dev dpkg-deb dh-make
    
  2. Download and extract Sleep Inhibitor, then point your terminal to the source directory.

  3. Run ./build_package.py --deb to build the package.

  4. Install the resulting .deb file, found in the directory builddir. Here's one way to do it:

    gdebi-gtk builddir/*.deb
    

Sleep Inhibitor 1.0.0 Beta

Pre-release

Choose a tag to compare

@mssever mssever released this 11 May 21:26
ef6e31a

This is the first release. I believe it's stable but since it's the first release, I'm marking it pre-release. Please report any bugs you find.

To install, simply run the file sleep_inhibit. No installation is necessary. Many people will find it useful to open preferences and enable autostart.

To uninstall, there will be a config file left behind. Run cleanup.py to get rid of everything. You can then delete the directory and nothing will be left behind.