Skip to main content

First, open up the terminal and type this in and your root password:

  1. sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

    Open up the terminal and type this in and your password:

     sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
    
  2. Change your directory to /etc/default. Type in these commands:

Second, change your directory to /etc/default. Type in these commands:

2a. sudo cp /etc/default/acpi-support /etc/default/acpi-support.bak 2b. sudo apt install gedit 2c. sudo gedit /etc/default/acpi-support

Look for the line SUSPEND_METHODS=. Type this in and save the document:

  • sudo cp /etc/default/acpi-support /etc/default/acpi-support.bak
  • sudo apt install gedit
  • sudo gedit /etc/default/acpi-support

3a. SUSPEND_METHODS="none" 3b. exit gedit

  1. Look for the line SUSPEND_METHODS=. Type this in and save the document:

Finally, restart your desktop, notebook or server to make the changes take into effect

  • SUSPEND_METHODS="none" *. exit gedit

4a. done

  1. Restart your desktop, notebook or server to make the changes take into effect.

First, open up the terminal and type this in and your root password:

  1. sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Second, change your directory to /etc/default. Type in these commands:

2a. sudo cp /etc/default/acpi-support /etc/default/acpi-support.bak 2b. sudo apt install gedit 2c. sudo gedit /etc/default/acpi-support

Look for the line SUSPEND_METHODS=. Type this in and save the document:

3a. SUSPEND_METHODS="none" 3b. exit gedit

Finally, restart your desktop, notebook or server to make the changes take into effect

4a. done

  1. Open up the terminal and type this in and your password:

     sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
    
  2. Change your directory to /etc/default. Type in these commands:

  • sudo cp /etc/default/acpi-support /etc/default/acpi-support.bak
  • sudo apt install gedit
  • sudo gedit /etc/default/acpi-support
  1. Look for the line SUSPEND_METHODS=. Type this in and save the document:
  • SUSPEND_METHODS="none" *. exit gedit
  1. Restart your desktop, notebook or server to make the changes take into effect.
Source Link
Welly Wu
  • 121
  • 2
  • 5

First, open up the terminal and type this in and your root password:

  1. sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Second, change your directory to /etc/default. Type in these commands:

2a. sudo cp /etc/default/acpi-support /etc/default/acpi-support.bak 2b. sudo apt install gedit 2c. sudo gedit /etc/default/acpi-support

Look for the line SUSPEND_METHODS=. Type this in and save the document:

3a. SUSPEND_METHODS="none" 3b. exit gedit

Finally, restart your desktop, notebook or server to make the changes take into effect

4a. done