Skip to content

Status bar application able to temporarily inhibit the screensaver and sleep mode.

Notifications You must be signed in to change notification settings

HarmtH/caffeine-ng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caffeine-ng

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, since later versions dropped support for the systray icon in favour of only automatic detection of fullscreen apps only, which resulted rather controversial.

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.

  • Python 3

  • pygobject, pyxdg, dbus-python, docopt, pyewmh.

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:

  • On ArchLinux, caffeine-ng is available at the AUR

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 [email protected]

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.

About

Status bar application able to temporarily inhibit the screensaver and sleep mode.

Resources

Stars

Watchers

Forks

Packages

No packages published