Releases: mssever/sleep-inhibit
Release list
Sleep Inhibitor 1.0.0
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:
- Install the dependencies. Sleep Inhibit requires
xdotoolandxprintidleto 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 theacpicommand available. - Place the app directory wherever you want the app to live. Having it on your
$PATHis not necessary. - From the directory you selected, run
sleep_inhibit.py. - 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.)
- 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.
-
Install build dependencies. You can remove them after the package is created, if you want.
sudo apt install packaging-dev dpkg-deb dh-make -
Download and extract Sleep Inhibitor, then point your terminal to the source directory.
-
Run
./build_package.py --debto build the package. -
Install the resulting
.debfile, found in the directorybuilddir. Here's one way to do it:gdebi-gtk builddir/*.deb
Sleep Inhibitor 1.0.0 Beta
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.