Hello,
I would like to disable or hide the "Suspend" option from the shutdown menu that appears when you choose the shutdown option. The menu I'm talking about is this one:
I've found a possible way to achieve it on the Internet, by creating the /etc/polkit-1/localauthority/90-mandatory.d/disable-suspend.pkla
file with the following content:
[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=no
[Disable suspend for all sessions (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend-multiple-sessions
ResultActive=no
However, I would like to know if this also applies Ubuntu MATE before proceeding. If it doesn't, how could I remove the option from the menu?
Thanks in advance.