How do I prevent Ubuntu from putting my monitor to sleep?
Solution 1
Check System>Preferences>Screensaver and see if "Activate screensaver when computer is idle" is checked.
Also, if you hit Alt + F2
and enter gconf-editor
then navigate to /apps/gnome-power-manager/lock
you can see if blank screen
is checked.
Solution 2
Things have changed since this post was submitted. Go to System Settings in the top right corner of your screen, select Brightness and Lock and set "turn screen off when inactive" to never.
hope this helps all future users.
Solution 3
You can use gsettings for enabling and disabling monitor from going to sleep:
- Disable turning off screen
gsettings set org.gnome.desktop.session idle-delay 0
- Enable turning off screen with 5 min delay
gsettings set org.gnome.desktop.session idle-delay 300
source : https://askubuntu.com/a/788456/88543
Related videos on Youtube
CT.
Updated on September 17, 2022Comments
-
CT. over 1 year
Ubuntu 10.04
Under Preferences > Power Management I have changed the settings to never put the computer to sleep and never to put the display to sleep.
My display still goes to sleep and I am prompted for my password when I leave the computer unattended.
I would like to be able to hit the "Lock Screen" app I added to the top panel to lock my screen, but otherwise I would like it to just stay on.
Thank you.
-
David Krider over 11 yearsSeems Ubuntu-specific. Should it not be moved to askubuntu.com? (Where I'm pretty sure it would be a dupe.)
-
-
rybl almost 14 yearsWhich one out of curiosity?
-
CT. almost 14 yearsI believe the screensaver setting did the trick. I also did check in /apps/gnome-power-manager/lock and blank screen is not checked.
-
Peter Chaula almost 5 yearsNope, doesn't work. The screen still turns off when you lock
-
Brotzka almost 3 yearsAlso works for PopOS 21.xx
-
Slaus about 2 yearsDid so, but it sill goes sleepy
-
Admin about 2 yearsThe configuration editor shows only /apps/gconf-editor and /apps/schemas/apps/gconf-editor. The both have an entry called bookmarks and nothing else is there.