{"id":13467236,"url":"https://github.com/WhyNotHugo/caffeine-ng","last_synced_at":"2025-03-26T01:30:34.155Z","repository":{"id":37432075,"uuid":"133092914","full_name":"WhyNotHugo/caffeine-ng","owner":"WhyNotHugo","description":" ⚠ This project has migrated to codeberg.org","archived":true,"fork":false,"pushed_at":"2022-07-09T09:03:52.000Z","size":3960,"stargazers_count":180,"open_issues_count":1,"forks_count":21,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-19T19:53:03.793Z","etag":null,"topics":["caffeine","display","linux","screen"],"latest_commit_sha":null,"homepage":"https://codeberg.org/WhyNotHugo/caffeine-ng","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WhyNotHugo.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-11T22:07:02.000Z","updated_at":"2025-02-16T06:12:02.000Z","dependencies_parsed_at":"2022-07-14T06:10:37.330Z","dependency_job_id":null,"html_url":"https://github.com/WhyNotHugo/caffeine-ng","commit_stats":null,"previous_names":["caffeine-ng/caffeine-ng"],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhyNotHugo%2Fcaffeine-ng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhyNotHugo%2Fcaffeine-ng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhyNotHugo%2Fcaffeine-ng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhyNotHugo%2Fcaffeine-ng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WhyNotHugo","download_url":"https://codeload.github.com/WhyNotHugo/caffeine-ng/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245571685,"owners_count":20637375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["caffeine","display","linux","screen"],"created_at":"2024-07-31T15:00:54.316Z","updated_at":"2025-03-26T01:30:33.648Z","avatar_url":"https://github.com/WhyNotHugo.png","language":"Python","funding_links":[],"categories":["Python","HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"Caffeine-ng\n===========\n\n⚠️ Migrated to codeberg.org\n--------------------------\nThis project has `migrated to codeberg.org`_\n--------------------------------------------\n\n.. _migrated to codeberg.org: https://codeberg.org/WhyNotHugo/caffeine-ng\n\n.. image:: https://travis-ci.com/caffeine-ng/caffeine-ng.svg?branch=master\n  :target: https://travis-ci.com/caffeine-ng/caffeine-ng\n  :alt: build status\n\n.. image:: https://img.shields.io/pypi/v/caffeine-ng.svg\n  :target: https://pypi.python.org/pypi/caffeine-ng\n  :alt: version on pypi\n\n.. image:: https://img.shields.io/pypi/l/caffeine-ng.svg\n  :target: https://github.com/caffeine-ng/caffeine-ng/blob/master/LICENCE\n  :alt: licence\n\nCaffeine is a little daemon that sits in your systray, and prevents the\nscreensaver from showing up, or the system from going to sleep. It does so when\nan application is fullscreened (eg: youtube), or when you click on the systray\nicon (which you can do, when, eg: reading).\n\nHistory\n-------\n\nCaffeing-ng (since 2014) started as a fork of `Caffeine 2.4`_, since the\noriginal version dropped support for the systray icon in favour of only\nautomatic detection of fullscreen apps only, which turned to be a rather\n`controversial`_ decision.\n\nThe intention of this fork is to also evolve on its own, not only fixing\nissues, but also implemented missing features, when relevant.\n\nCaffeine-ng was shortly know as Taurine, a play on its successor's name, since\ntaurine is a known stimulant, commonly found in energy drinks.  However, this\nname did not last, since the artwork would not match adequately, and changing\nit was undesirable.\n\n.. _Caffeine 2.4: http://launchpad.net/caffeine/\n.. _controversial: https://bugs.launchpad.net/caffeine/+bug/1321750\n\nSystem requirements\n-------------------\n\n* Python 3.6 to 3.9 is required.\n\n* ``caffeine-ng`` works with the following screensavers / screenlockers:\n\n  * Anything that implements the ``org.freedesktop.ScreenSaver`` API (this\n    includes KDE, amongst others)\n  * gnome-screensaver\n  * XSS\n  * Xorg + DPMS\n  * xautolock\n  * xidlehook.\n\nSee ``setup.py`` for required python packages\n\nInstallation\n------------\n\nGeneric installation\n....................\n\nTo manually install caffeine-ng, run::\n\n      python setup.py build\n      sudo python setup.py install\n      sudo glib-compile-schemas /usr/share/glib-2.0/schemas\n\nDebian and derivatives\n......................\n\nFirst install all the required packages::\n\n      apt install python-click python-ewmh python-setproctitle python-wheel python-xdg\n\nAnd mark them auto if you wish::\n\n      apt-mark auto python-click python-ewmh python-setproctitle python-wheel python-xdg\n\nThen you need to build sources with::\n\n      make clean\n      make build\n\nCreate a package for your distribution::\n\n      checkinstall --pkgname=caffeine-ng --pkgversion=3.4 --requires=\"python-click \\(\\\u003e=0.6.2\\),python-ewmh \\(\\\u003e=0.1.4\\),python-setproctitle \\(\\\u003e=1.1.10\\),python-wheel \\(\\\u003e=0.29.0\\),python-xdg \\(\\\u003e=0.25\\)\" --conflicts=\"caffeine\" --nodoc python ./setup.py install --install-layout=deb\n\nReplace version string with correct version and append this command with\n``--install=no`` should you wish to inspect created package before installing\nit Replace ``python`` with ``python3`` in package names above if you wish to\nbuild caffeine-ng with python 3\n\nReplace ``python`` with ``python3`` in ``checkinstall`` invocation to use\nspecific python version to build caffeine-ng.\n\n``checkinstall`` is available for various distributions, so you may follow\nthese steps adapting them to your distribution\n\nArchLinux\n.........\n\nOn ArchLinux, caffeine-ng is available at the `AUR`_.\n\n.. _AUR: https://aur.archlinux.org/packages/caffeine-ng/\n\nGentoo\n......\n\nGentoo users may find `caffeine-ng \u003chttps://github.com/PF4Public/gentoo-overlay/tree/master/x11-misc/caffeine-ng\u003e`_ in `::pf4public \u003chttps://github.com/PF4Public/gentoo-overlay\u003e`_ Gentoo overlay\n\nAuto-start\n----------\n\nTo have Caffeine-ng run on startup, add it to your System Settings =\u003e Startup\nPrograms list.\n\nLicense\n-------\n\nCopyright (C) 2009 The Caffeine Developers\nCopyright (C) 2014-2022 Hugo Osvaldo Barrera \u003chugo@barrera.io\u003e\n\nCaffeine-ng is distributed under the GNU General Public License, either version\n3, or (at your option) any later version. See LICENCE for details.\n\nThe Caffeine-ng status icons are Copyright (C) 2014 mildmojo\n(http://github.com/mildmojo), and distributed under the terms of the GNU Lesser\nGeneral Public License, either version 3, or (at your option) any later\nversion.  See LGPL.\n\nThe Caffeien-ng SVG shortcut icons are Copyright (C) 2009 Tommy Brunn\n(http://www.blastfromthepast.se/blabbermouth), and distributed under the\nterms of the GNU Lesser General Public License, either version 3, or (at\nyour option) any later version. See LGPL.\n\nHacking\n-------\n\n* To run: ``./bin/caffeine``\n* To compile translations: ``./update_translations``\n\nIf you want to test out a translation without changing the language for the\nwhole session: \"LANG=ru_RU.UTF-8 ./bin/caffeine\" (Replace ru_RU.UTF-8\nwith whatever language you want to use. You will need to a language pack\nfor the specific language) Be aware that some stock items\nwill not be translated unless you log in with a given language.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWhyNotHugo%2Fcaffeine-ng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWhyNotHugo%2Fcaffeine-ng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWhyNotHugo%2Fcaffeine-ng/lists"}