To disable automatic suspend, but leave manual suspend working in Ubuntu 14.04, create the text file:
/etc/polkit-1/localauthority/50-local.d/com.ubuntu.disable-suspend.pkla
with contents:
[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
« ‹ | December 2024 | › » | ||||
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |