Ubuntu – Stop monitor from going to sleep in ubuntu 19.10


I'm searching for a new solution to stop monitor going to sleep in ubuntu 19.10 desktop when I lock screen.

This solution with gscreen doesn't work anymore: https://askubuntu.com/a/788456/1020896.

On the energy settings I also configured turn off display: Never.

Best Answer

  • This worked for me:

    gsettings set org.gnome.desktop.session idle-delay 0
    gsettings set org.gnome.desktop.screensaver lock-enabled false

    But maybe someone can confirm if this is the recommended way. I just watch the settings with command below and try something:

    gsettings list-recursively