Turn off ubuntu gnome screenlock: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
I don't know what Ubuntu 20.04 is doing but none of the UI settings work for shit in i3.
FINALLY found this, it gets it killed.
To make it persistent, put this line in ~/.xsessionrc:
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 lock-enabled false
  reboot
  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

Latest revision as of 13:35, 25 March 2022

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

FINALLY found this, it gets it killed. To make it persistent, put this line in ~/.xsessionrc:

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