Skip to main content

A status bar application able to temporarily prevent the activation of both the screensaver and the "sleep" powersaving mode.

Project description

Caffeine is a little daemon that sits in you systray, and prevents the screensaver from showing up, or the systems from going to sleep. It does so when an application is fullscreened (eg: youtube), or when you click on the systray icon (which you can do, when, eg: reading).

This is a fork of [Caffeine 2.4](http://launchpad.net/caffeine/), since later versions dropped support for the systray icon in favour of only automatic detection of fullscreen apps only, which resulted rather [controversial](https://bugs.launchpad.net/caffeine/+bug/1321750).

The intention of this fork is to also evolve on its own, not only fixing issues, but also implemented missing features, when relevant.

Caffeine-ng was shortly know as Taurine, a play on its successor’s name, since taurine is a known stimulant, commonly found in energy drinks. However, this name did not last, since the artwork would not match adequately, and changing it was undesirable.

System requirements

  • Either a screensaver that implements the org.freedesktop.ScreenSaver API (this includes KDE, amongst others) API, gnome-screensaver, XSS and/or DPMS, xautolock.

  • Python 3

See requirements.txt for required python packages

Installation

To manually install caffeine-ng, run:

python setup.py build sudo python setup.py install sudo glib-compile-schemas /usr/share/glib-2.0/schemas

Or pre-packaged:

To have Caffeine-ng run on startup, add it to your System Settings => Startup Programs list.

License

Copyright (C) 2009 The Caffeine Developers Copyright (C) 2014 Hugo Osvaldo Barrera <hugo@barrera.io>

Caffeine-ng is distributed under the GNU General Public License, either version 3, or (at your option) any later version. See GPL for details.

The Caffeine-ng status icons are Copyright (C) 2014 mildmojo (http://github.com/mildmojo), and distributed under the terms of the GNU Lesser General Public License, either version 3, or (at your option) any later version. See LGPL.

The Caffeien-ng SVG shortcut icons are Copyright (C) 2009 Tommy Brunn (http://www.blastfromthepast.se/blabbermouth), and distributed under the terms of the GNU Lesser General Public License, either version 3, or (at your option) any later version. See LGPL.

Hacking

To run: `./bin/caffeine` To compile translations: `./update_translations`

If you want to test out a translation without changing the language for the whole session: “LANG=ru_RU.UTF-8 ./bin/caffeine” (Replace ru_RU.UTF-8 with whatever language you want to use. You will need to a language pack for the specific language) Be aware that some stock items will not be translated unless you log in with a given language.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

caffeine-ng-3.3.4.tar.gz (164.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

caffeine_ng-3.3.4-py3-none-any.whl (169.3 kB view details)

Uploaded Python 3

File details

Details for the file caffeine-ng-3.3.4.tar.gz.

File metadata

  • Download URL: caffeine-ng-3.3.4.tar.gz
  • Upload date:
  • Size: 164.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for caffeine-ng-3.3.4.tar.gz
Algorithm Hash digest
SHA256 de02a5267aeceddcdb52cceaf5fd7d31f84f17ead3884dcef00f94dc6b1b00e4
MD5 af7bbeb371cca29a9d58b45aa086e58b
BLAKE2b-256 6faff9087d1a5e2a08be14edc78740feffa63a13ee0eb1ef78581d062c533b1e

See more details on using hashes here.

File details

Details for the file caffeine_ng-3.3.4-py3-none-any.whl.

File metadata

File hashes

Hashes for caffeine_ng-3.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 98ce5148d975a685c21fbc25857e9dbf67a4de686841ac5c9c1f3b4ade26b9ad
MD5 e230a9ab06bcbb83af126fbd1448936f
BLAKE2b-256 44a23e8f2d0eed756b3820161f9603f0e4ad812c34cc3c8ccd499131e9db81ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page