Turn off ubuntu gnome screenlock: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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


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


{| 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 17:
   # 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
|}

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