Skip to content

crystal-linux/gnome-shell-extension-caffeine

 
 

Repository files navigation

This extension is barely maintained anymore, new maintainers are welcome!

gnome-shell-extension-caffeine

  • Fill the cup to inhibit auto suspend and screensaver
  • This extension supports GNOME Shell 3.4 -> 42
    • master: 40 -> 42
    • gnome-shell-3.36-3.38: 3.36 -> 3.38
    • gnome-shell-3.32-3.34: 3.32 -> 3.34
    • gnome-shell-3.10-3.30: 3.10 -> 3.30
    • gnome-shell-before-3.10: 3.4 -> 3.8

Screenshots

Screenshot

  • Empty cup = normal auto suspend and screensaver
  • Filled cup = auto suspend and screensaver off

Preferences

Installation from GNOME Extensions

  • Get the extension here

Installation from source

make build
make install
  • Restart the shell
  • Enable the extension

CLI

  • Get current state:
    gsettings --schemadir ~/.local/share/gnome-shell/extensions/caffeine@patapon.info/schemas/ get org.gnome.shell.extensions.caffeine user-enabled
  • Enable Caffeine:
    gsettings --schemadir ~/.local/share/gnome-shell/extensions/caffeine@patapon.info/schemas/ set org.gnome.shell.extensions.caffeine user-enabled true
  • Disable Caffeine:
    gsettings --schemadir ~/.local/share/gnome-shell/extensions/caffeine@patapon.info/schemas/ set org.gnome.shell.extensions.caffeine user-enabled false

--schemadir — path to the extension schemas directory. It may be different on your system.

About

Disable screensaver and auto suspend

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.2%
  • Makefile 1.8%
  • Shell 1.2%
  • Nix 0.8%