Ok, found a workaround (not clean at all, but that's the only thing I have now) : - edit /usr/share/polkit-1/actions/org.freedesktop.upower.policy - replace <allow_active>yes</allow_active> by <allow_active>no</allow_active> for both actions (suspend, hibernate)
I think you don't even have to reboot, the followindg test seems to indicate the modification is immediatly taken into account : $ pkaction --action-id org.freedesktop.upower.suspend -v org.freedesktop.upower.suspend: description: Suspend the system message: Authentication is required to suspend the system vendor: The UPower Project vendor_url: http://upower.freedesktop.org/ icon: system-suspend implicit any: no implicit inactive: no implicit active: no -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/860485 Title: bad default setting: suspend after 30min when plugged in Status in Gnome Settings Daemon: New Status in “gnome-settings-daemon” package in Ubuntu: Triaged Status in “gnome-settings-daemon” source package in Oneiric: Triaged Bug description: By default power setting is set to 'suspend after 30 min when plugged in' it should be 'Don't suspend' ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: gnome-settings-daemon 3.2.0-0ubuntu1 ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4 Uname: Linux 3.0.0-12-generic i686 ApportVersion: 1.23-0ubuntu1 Architecture: i386 Date: Tue Sep 27 13:36:56 2011 EcryptfsInUse: Yes ProcEnviron: PATH=(custom, user) LANG=en_US.utf8 SHELL=/bin/bash SourcePackage: gnome-settings-daemon UpgradeStatus: Upgraded to oneiric on 2011-07-12 (77 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-settings-daemon/+bug/860485/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

