126

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.

dessert
  • 40,956
Kobi T
  • 1,969
  • 4
  • 22
  • 26

6 Answers6

193

Option 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

  • Go to settings
  • Choose Power
  • At the bottom, choose for the value Suspend for the When the Power Button is pressed

Now you can just click the power button to suspend.

enter image description here

54

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.

enter image description here
(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.

pomsky
  • 70,557
13

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:
enter image description here
Click it to suspend your system.


Note that you can also perform other actions like shutdown, logout, screen locking in the same way.

pomsky
  • 70,557
11

You can add a keyboard shortcut for suspend action like below:

  1. Go to settings -> keyboard
  2. Click on + sign at the bottom of page to set a custom shortcut
  3. Enter shortcut name as Sleep and command as /bin/systemctl suspend
  4. Now click on set shortcut button and set a keyboard shortcut

screenshot

5

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...

pomsky
  • 70,557
3

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
dmx
  • 31