Turn off ubuntu gnome screenlock

From Bitpost wiki
Revision as of 13:31, 25 March 2022 by M (talk | contribs)

I don't know what Ubuntu 20.04 is doing but none of the UI settings work for shit in i3.

I think this FINALLY gets it killed.

xset -dpms s off s noblank s 0 0 s noexpose

Other stuff that probably matches the UI and probably doesn't work:

gsettings set org.gnome.desktop.screensaver lock-enabled false
gsettings set org.gnome.desktop.screensaver idle-activation-enabled false
gsettings set org.gnome.desktop.session idle-delay 0
gsettings set org.gnome.settings-daemon.plugins.power idle-dim false
emacs ~/.xscreensaver
  timeout:	12:00:00    # the max timeout is 12 hours
crontab -e
  # So... I have .xscreensaver set to max delay (12 hours)
  # and I call this every ten hours to restart the idle timer.
  * */10 * * * /usr/bin/xscreensaver-command --deactivate >/dev/null