/
Disable Ubuntu sleep timer
Disable Ubuntu sleep timer
If you do not want your Ubuntu system from sleeping.
Command
Run as root
cd /etc/polkit-1/localauthority/50-local.d/ touch com.ubuntu.disable-suspend.pkla nano com.ubuntu.disable-suspend.pkla ##insert the following [Disable suspend (upower)] Identity=unix-user:* Action=org.freedesktop.upower.suspend ResultActive=no ResultInactive=no ResultAny=no [Disable suspend (logind)] Identity=unix-user:* Action=org.freedesktop.login1.suspend ResultActive=yes ResultInactive=no ResultAny=yes [Disable suspend when others are logged in (logind)] Identity=unix-user:* Action=org.freedesktop.login1.suspend-multiple-sessions ResultActive=yes ResultInactive=no ResultAny=yes ##save and reboot system
Solution found from this thread: https://askubuntu.com/questions/452908/how-to-disable-suspend-in-14-04
, multiple selections available,
Related content
[Windows] How to delete hiberfil.sys / disabling Hibernation mode
[Windows] How to delete hiberfil.sys / disabling Hibernation mode
More like this
[Drivers] Ubuntu NVIDIA driver installation/re-installation
[Drivers] Ubuntu NVIDIA driver installation/re-installation
More like this
Power Drain System
Power Drain System
More like this
Disable hibernate/sleep on CentOS
Disable hibernate/sleep on CentOS
More like this
Restore on AC/Power Loss settings (TS4-672693)
Restore on AC/Power Loss settings (TS4-672693)
More like this
Rocky Linux 8 NVIDIA Driver Installation from fresh OS install (Example)
Rocky Linux 8 NVIDIA Driver Installation from fresh OS install (Example)
More like this