All Projects → caffeine-ng → Caffeine Ng

caffeine-ng / Caffeine Ng

Licence: gpl-3.0
☕ Tray bar application able to temporarily inhibits the screensaver and sleep mode.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Caffeine Ng

Mons
POSIX Shell script to quickly manage monitors on X
Stars: ✭ 457 (+534.72%)
Mutual labels:  display, screen
lantern
[Android Library] Handling device flash as torch for Android.
Stars: ✭ 81 (+12.5%)
Mutual labels:  display, screen
Nocturnal
A Dimness and Night Shift menu bar app for macOS 🌙
Stars: ✭ 199 (+176.39%)
Mutual labels:  display, screen
choco-screen-resolution
Sets the screen resolution on Windows virtual machines (VMs)
Stars: ✭ 24 (-66.67%)
Mutual labels:  display, screen
BetterDummy
Unlock your displays on your Mac! Smooth scaling, HiDPI unlock, XDR/HDR extra brightness upscale, DDC, brightness and dimming, dummy displays, PIP and lots more!
Stars: ✭ 9,601 (+13234.72%)
Mutual labels:  display, screen
Evdi
Extensible Virtual Display Interface
Stars: ✭ 384 (+433.33%)
Mutual labels:  display, screen
Screentask
(📢 New Version Released) Screen sharing made easy! Share your screen across local devices without internet.
Stars: ✭ 466 (+547.22%)
Mutual labels:  screen
Swiftyoled
A Swift library for OLED displays based on SSD1306 and SSD1305 drivers.
Stars: ✭ 25 (-65.28%)
Mutual labels:  display
Kanshi
Dynamic display configuration
Stars: ✭ 448 (+522.22%)
Mutual labels:  display
Autoinch
优雅的iPhone全尺寸/等比例精准适配工具
Stars: ✭ 395 (+448.61%)
Mutual labels:  screen
Lightbulb
Reduces eye strain by adjusting gamma based on the current time
Stars: ✭ 1,153 (+1501.39%)
Mutual labels:  display
Bangjago Android Emulator
simple android emulator cli for mobile development
Stars: ✭ 56 (-22.22%)
Mutual labels:  screen
Lvgl
Powerful and easy-to-use embedded GUI library with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash).
Stars: ✭ 8,172 (+11250%)
Mutual labels:  display
Esp32 Hub75 Driver
A small, simple, passive driver for HUB75 based LED panels
Stars: ✭ 37 (-48.61%)
Mutual labels:  display
Gbt
Highly configurable prompt builder for Bash, ZSH and PowerShell written in Go.
Stars: ✭ 457 (+534.72%)
Mutual labels:  screen
Screenadaptation
🔥一种非常好用的 Android 屏幕适配——smallestWidth 限定符适配 https://www.jianshu.com/p/1302ad5a4b04
Stars: ✭ 1,123 (+1459.72%)
Mutual labels:  screen
Fakelogonscreen
Fake Windows logon screen to steal passwords
Stars: ✭ 710 (+886.11%)
Mutual labels:  screen
Micropython esp32 psram lobo
MicroPython for ESP32 with psRAM support
Stars: ✭ 636 (+783.33%)
Mutual labels:  display
Otterscreenadapter
DisplayPort to Ipad 3/4 panel adapter
Stars: ✭ 54 (-25%)
Mutual labels:  display
Guilite
✔️The smallest header-only GUI library(4 KLOC) for all platforms
Stars: ✭ 5,841 (+8012.5%)
Mutual labels:  display

Caffeine-ng

.. image:: https://travis-ci.com/caffeine-ng/caffeine-ng.svg?branch=master :target: https://travis-ci.com/caffeine-ng/caffeine-ng :alt: build status

.. image:: https://img.shields.io/pypi/v/caffeine-ng.svg :target: https://pypi.python.org/pypi/caffeine-ng :alt: version on pypi

.. image:: https://img.shields.io/pypi/l/caffeine-ng.svg :target: https://github.com/caffeine-ng/caffeine-ng/blob/master/LICENCE :alt: licence

Caffeine is a little daemon that sits in your systray, and prevents the screensaver from showing up, or the system 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.

.. _Caffeine 2.4: http://launchpad.net/caffeine/ .. _controversial: https://bugs.launchpad.net/caffeine/+bug/1321750

System requirements

  • Python 3.6 to 3.9 is required.

  • caffeine-ng works with the following screensavers / screenlockers:

    • Anything that implements the org.freedesktop.ScreenSaver API (this includes KDE, amongst others)
    • gnome-screensaver
    • XSS
    • Xorg + DPMS
    • xautolock
    • xidlehook.

See setup.py for required python packages

Installation

To install Caffeine-ng please follow steps from appropriate chapter below

Generic 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

Debian and derivatives

First install all the required packages::

  apt install python-docopt python-ewmh python-setproctitle python-wheel python-xdg

And mark them auto if you wish::

  apt-mark auto python-docopt python-ewmh python-setproctitle python-wheel python-xdg

Then you need to build sources with::

  make clean
  make build

Create a package for your distribution::

  checkinstall --pkgname=caffeine-ng --pkgversion=3.4 --requires="python-docopt \(\>=0.6.2\),python-ewmh \(\>=0.1.4\),python-setproctitle \(\>=1.1.10\),python-wheel \(\>=0.29.0\),python-xdg \(\>=0.25\)" --conflicts="caffeine" --nodoc python ./setup.py install --install-layout=deb

Replace version string with correct version and append this command with --install=no should you wish to inspect created package before installing it Replace python with python3 in package names above if you wish to build caffeine-ng with python 3

Replace python with python3 or python27 in checkinstall invocation to use specific python version to build caffeine-ng with

checkinstall is available for various distributions, so you may follow these steps adapting them to your distribution

ArchLinux

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.

.. _AUR: https://aur.archlinux.org/packages/caffeine-ng/

Gentoo

Gentoo users may find caffeine-ng <https://github.com/PF4Public/gentoo-overlay/tree/master/x11-misc/caffeine-ng>_ in ::pf4public <https://github.com/PF4Public/gentoo-overlay>_ Gentoo overlay

License

Copyright (C) 2009 The Caffeine Developers Copyright (C) 2014-2018 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 LICENCE 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].