How to suspend Ubuntu 20.04 Focal Fossa Linux Desktop

This tutorial will provide the reader with some native and alternative methods on how to suspend ( suspend to RAM ) Ubuntu 20.04 Focal Fossa Linux Desktop.

In this tutorial you will learn:

  • How to suspend system
  • Suspend from Activities
  • How to suspend the system from command line

How to suspend Ubuntu 20.04 Focal Fossa Linux Desktop

How to suspend Ubuntu 20.04 Focal Fossa Linux Desktop

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Installed Ubuntu 20.04 or upgraded Ubuntu 20.04 Focal Fossa
Software N/A
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ – requires given linux commands to be executed as a regular non-privileged user

How to suspend Ubuntu 20.04 step by step instructions

  1. Once the suspend button is shown simply click the button to suspend your system

    The first method on how to suspend Ubuntu 20.04 is the simplest. First, open the top-right panel. Next, click on Power / Log Out and Suspend to suspend you Ubuntu 20.04 system.

  2. click an the Suspend icon

    Search top left Activities menu for suspend and click an the Suspend icon

  3. The third method involves suspending your Ubuntu system from the command line. Simply open up a terminal window and enter the following command:
    $ systemctl suspend
    


    Suspend the Ubuntu system from command line

    Suspend the Ubuntu system from command line

    The following message may appear while other users are logged into the system:

    Please retry operation after closing inhibitors and logging out other users.
    Alternatively, ignore inhibitors and users with 'systemctl suspend -i'.
    

    In that case, make sure that all users are logged out before you suspend the systems. Alternatively, you can force the suspend by ignoring the closing inhibitors using the below command:

    $ systemctl suspend -i
    
    Forcing the system suspend by ignoring closing inhibitors and logged in users

    Forcing the system suspend by ignoring closing inhibitors and logged in users