In 17.04 I could suspend\hibernate from the power off menu button.
I can't find how to do this in Ubuntu 17.10 GNOME Shell.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityOption 1
Hold "Alt" when in the menu, this will switch the power off button into suspend button.
Option 2
When in the menu, click and hold on the power off button until it turns into suspend button.
Option 3
Now you can just click the power button to suspend.
There isn't any, Welcome to GNOME!
But like in most of the other cases there's an extension which adds one: Suspend Button. It
Allows to modify the suspend/shutdown button in the status menu.
(screenshot source: extension's homepage at extensions.gnome.org)
Alternatively, if you press alt, the power button should change to the suspend ("pause" symbol) button.
Sleep
/Restart...
/Shut down
. Maybe it was there ages ago, but someone at Apple may have correctly figured out it made no sense whatsoever, perhaps.
Apr 23, 2019 at 18:16
On newer GNOME versions (v3.26 or higher, so Ubuntu 17.10 and later), you can suspend from the 'Activities' overview. Simply click the "Activities" button or press Super and search for "suspend", an icon should appear:
Click it to suspend your system.
Note that you can also perform other actions like shutdown, logout, screen locking in the same way.
You can add a keyboard shortcut for suspend action like below:
+
sign at the bottom of page to set a custom shortcutSleep
and command as /bin/systemctl suspend
Alternatively, you can do it in two steps:
first you lock your session with the lock icon from the "power" menu, then you reach again the same menu from the lock screen, and it proposes the suspend icon this time.
Weird and confusing...
Our house has 3 Ubuntu 18.04 desktop systems and while we often use suspend we rarely use power off so here is our shortcut.
# Provide desktop shortcut to suspend command.
# A solution for Ubuntu 18.04 gnome somewhat hidden mouse nav to suspend.
# Place file in ~/Desktop/Suspend.desktop
# and chmod a+x ~/Desktop/Suspend.desktop
[Desktop Entry]
Encoding=UTF-8
Type=Application
Terminal=true
Icon=/usr/share/icons/Adwaita/24x24/emotes/face-cool.png
Name=Suspend
Exec=/bin/systemctl suspend
Categories=Utility
suspend
button, why it's not working? another problem.