Install gnome-shell-extension-suspend-button by entering the following commands in the terminal:
sudo apt update sudo apt install gnome-shell-extension-suspend-button
Description:
Gnome-shell extension to modify the suspend/shutdown buttons
This Gnome-shell extension allows you to control the suspend/shutdown buttons in the status menu . Please note that you have to manually enable the extension, for example using gnome-tweak-tool.
Homepage: https://github.com/laserb/gnome-shell-extension-suspend-button
Version: 0~git20171025-2
Section: universe/gnome