How do I prevent Ubuntu from putting my monitor to sleep?

68,843

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

Share:
68,843

Related videos on Youtube

CT.
Author by

CT.

Updated on September 17, 2022

Comments

  • CT.
    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
      David Krider over 11 years
      Seems Ubuntu-specific. Should it not be moved to askubuntu.com? (Where I'm pretty sure it would be a dupe.)
  • rybl
    rybl almost 14 years
    Which one out of curiosity?
  • CT.
    CT. almost 14 years
    I 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
    Peter Chaula almost 5 years
    Nope, doesn't work. The screen still turns off when you lock
  • Brotzka
    Brotzka almost 3 years
    Also works for PopOS 21.xx
  • Slaus
    Slaus about 2 years
    Did so, but it sill goes sleepy
  • Admin
    Admin about 2 years
    The 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.