eonpatapon / gnome-shell-extension-caffeine

Disable screensaver and auto suspend
GNU General Public License v2.0
588 stars 108 forks source link

gnome-shell-extension-caffeine

License GitHub release (latest by date)

Enable / disable auto suspend with quick setting toggle.

Quick Toggle Caffeine

Version

This extension supports GNOME Shell 3.4 -> 45

Branch Version Compatible GNOME version
master 53 GNOME 45 -> 46
gnome-shell-43-44 51 GNOME 43 -> 44
gnome-shell-40-42 42 GNOME 40 -> 42
gnome-shell-3.36-3.38 37 GNOME 3.36 -> 3.38
gnome-shell-3.32-3.34 33 GNOME 3.32 -> 3.34
gnome-shell-3.10-3.30 - GNOME 3.10 -> 3.30
gnome-shell-before-3.10 - GNOME 3.4 -> 3.8

Installation From source

make build
make install

Screenshots & features

Scroll Indicator Icon

ScreenshotScreenshot

You can scroll on the indicator icon to enable / disable auto suspend:

Note: the option "Show status indicator" must be set on "always" (see below).

Notifications

Screenshot Screenshot

Timer option

This option enable Caffeine for a given amount of time (similar to Caffeine in LineageOS).

ScreenshotScreenshot

Preferences

Preferences

CLI

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