Turn off ubuntu gnome screenlock: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 1: Line 1:
gsettings set org.gnome.desktop.screensaver lock-enabled false
I don't know what Ubuntu 20.04 is doing but none of the UI settings work for shit in i3.
reboot


I think this FINALLY gets it killed.
xset -dpms s off s noblank s 0 0 s noexpose


{| class="mw-collapsible mw-collapsed wikitable"
Other stuff that probably matches the UI and probably doesn't work:
! Case Ubuntu will NOT stop blanking the screen
gsettings set org.gnome.desktop.screensaver lock-enabled false
|-
|Shit I've tried:
  gsettings set org.gnome.desktop.screensaver idle-activation-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.desktop.session idle-delay 0
  gsettings set org.gnome.settings-daemon.plugins.power idle-dim false
  gsettings set org.gnome.settings-daemon.plugins.power idle-dim false
xset -dpms s off s noblank s 0 0 s noexpose
 
|}
{| class="mw-collapsible mw-collapsed wikitable"
! Disabling xscreensaver
|-
|
  emacs ~/.xscreensaver
  emacs ~/.xscreensaver
   timeout: 12:00:00    # the max timeout is 12 hours
   timeout: 12:00:00    # the max timeout is 12 hours
Line 22: Line 16:
   # and I call this every ten hours to restart the idle timer.
   # and I call this every ten hours to restart the idle timer.
   * */10 * * * /usr/bin/xscreensaver-command --deactivate >/dev/null
   * */10 * * * /usr/bin/xscreensaver-command --deactivate >/dev/null
|}

Revision as of 13:31, 25 March 2022

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