I've been pulling my hair out on this one today on a lucid test system, wondering why I couldn't get the parts that should work working. Finally realized that it was a simple mistake, but thought I'd point it out here in the hopes that it will save someone else some time.
In *lucid*, the policykit "actions" have changed. They used to be org.freedesktop.devicekit.power.* but are now org.freedesktop.upower.* So, Martin's example in #28 goes like this on lucid: $ sudo cat /etc/polkit-1/localauthority/50-local.d/disable-suspend.pkla [Disable suspend] Identity=unix-user:* Action=org.freedesktop.upower.suspend;org.freedesktop.upower.hibernate ResultActive=no ResultAny=no $ pkcheck --action-id org.freedesktop.upower.suspend --process $$ Not authorized. Once this change is made, everything's happy, except for the Indicator applet, which is still an open issue. -- Do not show suspend/hiberate related UI if suspend is disabled in polkit https://bugs.launchpad.net/bugs/432598 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
