Skip to content

Latest commit

 

History

History
45 lines (37 loc) · 1.48 KB

README.md

File metadata and controls

45 lines (37 loc) · 1.48 KB

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/[email protected]/schemas/ get org.gnome.shell.extensions.caffeine user-enabled
  • Enable Caffeine:
    gsettings --schemadir ~/.local/share/gnome-shell/extensions/[email protected]/schemas/ set org.gnome.shell.extensions.caffeine user-enabled true
  • Disable Caffeine:
    gsettings --schemadir ~/.local/share/gnome-shell/extensions/[email protected]/schemas/ set org.gnome.shell.extensions.caffeine user-enabled false

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