HomeLinuxThe way to Forestall Ubuntu from Going into Sleep Mode

The way to Forestall Ubuntu from Going into Sleep Mode


You will need to have observed it. You will have put in Ubuntu and it appears all good. You allow the system inactive for 5 minutes or so and it’s locked!

You enter your account password and log again in. To date, so good. However you permit it for a couple of minutes once more and it will get locked once more.

It’s important to enter your password once more. And it goes on.

For laptops, it’s even worse. The laptop computer goes into sleep mode, forcing you to make use of the facility button to wake it from sleep.

That is annoying. It is irritating to enter the password repeatedly since you left the system unattended. The nice factor is that you do not have to dwell like this ceaselessly.

It’s because of the default power-saving settings in Ubuntu and you may simply change it.

📋

I’ve observed the identical conduct in Fedora so it isn’t unique to Ubuntu. It’s GNOME desktop’s settings. And the steps talked about right here needs to be relevant to different distributions utilizing the GNOME desktop atmosphere.

Press the Tremendous key (Home windows key) and seek for settings.

GNOME system settings

Forestall display screen locking

Within the Settings software, go to Energy settings. Underneath the Energy Saving Choices, it’s best to see a couple of choices of curiosity.

For instance, you possibly can change the display screen clean settings from the default 5 minutes to as much as quarter-hour.

You can too disable the display screen dimming totally by selecting By no means. This manner, the display screen by no means dims and by no means locks.

Change power settings in Ubuntu
Click on to enlarge

That takes care of display screen dimming and locking. Let’s deal with the automated droop challenge.

Forestall computerized sleep

📋

Droop and sleep means the identical in Ubuntu’s context. Extra data right here.

One other setting it’s best to change right here is the Automated Susepend. You’ll be able to flip it off fully or change its time interval.

This manner, Ubuntu won’t go in sleep mode and you do not have to push the facility button after which enter your password once more to entry the system.

Prevent ubuntu from sleep
Click on to enlarge

In case you do not wish to change the facility settings but in addition like the choice to disable display screen locking, there’s a helpful instrument you can use.

Alternatively, use the Caffeine app

The concept is to provide some caffeine (espresso) to your Linux system in order that it doesn’t sleep.

Let’s have a look at how one can brew it. I imply how one can use it.

First, set up Caffeine in your Ubuntu system. You’ll be able to search for it within the software program middle and set up it from there.

Install Caffiene on Ubuntu

Alternatively, you should utilize the next command within the terminal:

sudo apt set up caffeine

As soon as put in, seek for it within the exercise space (press the Home windows key and kind caffeine).

Begin the Caffeine Indicator because it comes with an applet indicator that sits on the highest panel.

Start Caffeine app in Linux

You may now discover a espresso icon within the prime panel. Click on on it and click on allow to activate the app.

Enable Caffeine indicator

That is it. So long as your system is on caffeine, it will not sleep 😉

When you wish to return to regular conduct, deactivate the Caffeine app the identical manner you activated it.

Extra energy settings tweaks

If you wish to hold the laptop computer lid closed whereas it’s related to exterior screens, here is what you are able to do.

Make Ubuntu Not Go in Droop When Laptop computer Lid is Closed

In case you use Ubuntu on a laptop computer, you may need observed that the system is suspended whenever you shut the lid. That’s the anticipated conduct. It saves the battery in addition to your work. You elevate the lid, the system wakes up, and you may log in and proceed

I hope this fast little tutorial helped you forestall Ubuntu from going into sleep mode.

Let me know in case you have questions or ideas.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments