Screen turning off when idle even with power settings disabled

6,785

This is from another answer I posted recently. You may not need the Login screen section.

Terminal CLI method

To prevent screen from turning off you need two settings, one under battery power the other when plugged into wall outlet (A/C).

For battery timeout:

gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout <time_in_seconds>

For AC timeout:

gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout <time_in_seconds>

So for both Battery and A/C set the time to 0 (never).

For Login screen:

gsettings set org.gnome.desktop.screensaver idle-activation-enabled false

Disable dimming screen when idle:

In Unix & Linux someone complained when on battery screen dims every 20 seconds and wants to turn that feature off:

gsettings set org.gnome.settings-daemon.plugins.power idle-dim false
Share:
6,785

Related videos on Youtube

Ubuntuthrow
Author by

Ubuntuthrow

Updated on September 18, 2022

Comments

  • Ubuntuthrow
    Ubuntuthrow over 1 year

    I have Blank screen disabled but my PC seems to be ignoring this. This issue also ignores the Caffeine extension. This is pretty recent behavior as it's been working for a long while now.

    Power settings

    Disabling idle-dim in dconf seems to have done it.

  • Ubuntuthrow
    Ubuntuthrow over 6 years
    I'm on a desktop so I don't think those apply. They're both set to 'nothing' either way. The third suggestion was already disabled. There is an idle-dim option that's enabled though. I'll try disabling that.
  • WinEunuuchs2Unix
    WinEunuuchs2Unix over 6 years
    Did the idle-dim work? I'm curious why you accepted my answer if it was incomplete? None-the-less I'm adding idle-dim to the answer.
  • Ubuntuthrow
    Ubuntuthrow over 6 years
    Sorry, I accepted it because it led me to that option. If that was wrong my bad. I left my screen on for 40 minutes while I did other stuff and it didn't turn off so yes I think that worked.
  • WinEunuuchs2Unix
    WinEunuuchs2Unix over 6 years
    I'm not complaining that you accepted it... I added the idledim` option to the answer so it will help others. Just let me know if the answer is correct now is all I ask. Thanks.