Power Off Options is a GNOME Shell extension that adds additional buttons to the Power Off dialog:
- Turn Off Screen — Immediately turn off the monitor/display.
- Hybrid Sleep — Suspend to RAM and also save system state to disk (safe on power loss).
- Suspend Then Hibernate — Suspend the system to RAM and automatically hibernate after a timeout.
- Hibernate — Save system state to disk and power off (slower to resume than suspend).
- Restart user space (Soft Reboot) — Restart the user space without rebooting the entire system.
- Restart To BIOS — Reboot directly into the system BIOS setup.
- GNOME Shell;
- the screen off function only works in X11, Wayland is not supported;
- Hibernation, Hybrid Sleep and Reboot related options make use of
systemctl
respective commands and must be enabled and configured in your system to work properly.
Install from the GNOME Extensions website:
https://extensions.gnome.org/extension/8189/power-off-options/
Otherwise it can be installed manually:
- download or clone this repository;
- move into the extension directory;
- run:
make
to install the extension;make uninstall
to uninstall the extension;
- restart GNOME Shell to apply the changes (e.g. log out and log back in).
You can enable or disable each button individually using the built-in preferences window:
gnome-extensions prefs [email protected]
The same window is also accessible from the GNOME Extensions application.