GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
caffeine(1) FreeBSD General Commands Manual caffeine(1)

caffeine - utility to temporarily disable (inhibit) screensavers

caffeine
caffeine start Starts caffeine
caffeine kill Kills a running caffeine instance

caffeine shows an icon on the system tray. When activated, screensavers, screen dimming, and sceenlockers will be temporarily disabled (also referred to as "inhibiting").

start

Runs caffeine and shows a tray icon. This is the default when no command is specified.

kill

Kills a running caffeine instance. May not work between different major versions (e.g.: v3 and v4). Be sure to stop before updating. Otherwise the old version will continue running until the next reboot / logout.

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.

On Xorg, caffeine will automatically detect fullscreen applications, and disable the screensaver while they are active.

Caffeine will auto-detect which screensaver is being used at runtime.

Caffeine includes a GTK3+ preferences interface. It is not, as of yet, configurable via the command line.

The following environment variables may optionally be defined:

CAFFEINE_LEGACY_TRAY

This will use legacy APIs rather than AppIndicator APIs. This may fail on Wayland, and may allow left-clicking on some Xorg status tray implementations.

Caffine does not require any network connectivity.

When the pulseaudio peak detection feature is enabled, caffeine will detect peaks in volume to determine if audio is being used.

For issues and general development inquiries, see the project home currently hosted at Codeberg:

https://codeberg.org/WhyNotHugo/caffeine-ng

  • http://launchpad.net/caffeine/
  • https://bugs.launchpad.net/caffeine/+bug/1321750

Developed by Hugo O. Barrera <hugo@whynothugo.nl>, with invaluable contributions from the community.

caffeine-ng is an open source project licensed under the GPLv3+ licence and developed for anyone to use freely. If you would like to sponsor this project, see:

https://liberapay.com/WhyNotHugo/
2025-07-19

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.