Comment 26 for bug 432598

Revision history for this message
Raphael Campos (optgeek) wrote : Re: [Bug 432598] Re: provide a way to disable suspend/hibernate

I'd like to second Magoun's post. I got two or three calls complaining about
the hibernate function not working. In one of our ISOs I had to make the
hibernate function get the computer in S3 state instead of S4. It would be
great if we could remove the menu option, instead of making workarounds for
the S3/S4 issues.

2010/1/20 Steve Magoun <email address hidden>

> For the OEM use case we need to be able to disable suspend/hibernate
> from the user interface without having to patch any packages (adding a
> new package that contains a gconf key of other standalone configuration
> file/option is ok).
>
> The devkit-power solution sounds like it might work, provided that all
> UI components respect those values. For example, in Karmic we have to
> modify the following to fully remove suspend/hibernate options from the
> UI:
>
> gdm
> gnome-power-manager
> gnome-session
> indicator-session
>
> --
> provide a way to disable suspend/hibernate
> https://bugs.launchpad.net/bugs/432598
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in OEM Priority Project: Triaged
> Status in “gnome-power-manager” package in Ubuntu: In Progress
> Status in “gnome-power-manager” source package in Lucid: In Progress
> Status in “gnome-power-manager” source package in Karmic: Triaged
>
> Bug description:
> Binary package hint: gnome-power-manager
>
> System: Ubuntu Karmic alpha6
> gnome-power-manager: 2.27.92.0ubuntu1
>
> The following settings in gconf-editor aren't respected:
> /apps/gnome-power-manager/general/can_hibernate
> /apps/gnome-power-manager/general/can_suspend
>
>
> The problem can be reproduced at least in these three dialogs:
>
> Power Management Preferences:
> Even though suspend or hibernate is disabled, the option is still visible
> as an action.
>
> Shut Down the Computer:
> When I press the shutdown-button on my laptop to enter "interactive-mode",
> both actions are visible, regardless of the gconf-settings.
>
> Indicator-applet-session:
> Both suspend and hiberante shows up, regardless of the gconf-settings.
> (Although this could be a bug in the applet itself. See bug 423608)
>
>
> Other gconf-settings seems to work alright, even if I've changed them to
> non-default values.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/oem-priority/+bug/432598/+subscribe
>

--
Raphael Campos - http://www.optgeek.info/
https://launchpad.net/~optgeek