Hi,
Is there a way to remove the sleep, suspend, hybernate, sleep and combos from
the logout menu within Trinity?
So far I have been unable to find configuration options for this. Therefor I
used polkit to disable these options system wide. I used the following code
in a file I created for this purpose in:
/etc/polkit-1/localauthority/50-local.d
[Disable suspend (logind)]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend;org.freedesktop.login1.suspend-multiple-sessions;org.freedesktop.login1.hibernate;org.freedesktop.login1.hibernate-multiple-sessions
ResultActive=no
ResultInactive=no
ResultAny=no
This would remove all the undesired options in the logout menu. However, after
I updated to Trinity 14.1.1, the logout menu has now added a freeze option.
Searching for that on the internet gives me just about all the possible
results related to hanging or crashed systems but not what I'm looking for.
So my question is:
a) does Trinity have a native way to remove these suspend/hybernate/freeze/aso
options?
if not, then
b) does anyone know what needs to be added to the above Action line to let
polkit do it for me?
I'm running Trinity on Devuan 4, so no systemd here.
Regards,
Rody