I tried to disable suspension of my laptop using the methods described in comments #28 (Martin Pitt), #32 (Cédric Dufour) and #36 (Kjell L.), but I was unable to. I rebooted after trying each method, but suspension always worked from the indicator-session menu.
pkcheck --action-id org.freedesktop.devicekit.power.suspend --process $$
Not authorized.
What am I doing wrong? Or is indicator-session not ready yet?
I tried to disable suspension of my laptop using the methods described in comments #28 (Martin Pitt), #32 (Cédric Dufour) and #36 (Kjell L.), but I was unable to. I rebooted after trying each method, but suspension always worked from the indicator-session menu.
pkcheck --action-id org.freedesktop .devicekit. power.suspend --process $$
Not authorized.
What am I doing wrong? Or is indicator-session not ready yet?