FS#11851 - On Gnome, I cannot able to choose to shutdown when I press poweroff button on laptop

Attached to Project: Arch Linux
Opened by Alessandro Nakamuta (alessandro_ufms) - Wednesday, 22 October 2008, 18:01 GMT
Last edited by Jan de Groot (JGC) - Saturday, 07 February 2009, 20:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:On Gnome, I cannot able to choose to shutdown when I press poweroff button on laptop. On combobox in Power Manager, I only able to choose suspend or ask.


Additional info:
* package version(s) libgnome 2.24.1-1
* config and/or log files etc.


Steps to reproduce:
Go to System->Preferences->Power Manager->General->Actions.
On comboxes only appears suspend and ask. On Gnome 2.22 there was shutdown option.
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 07 February 2009, 20:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  Hal moved to extra.
Comment by Jan de Groot (JGC) - Thursday, 23 October 2008, 07:51 GMT
There's three bugs here:
- gnome-power-manager 2.24.0 uses a deprecated policykit name for hal shutdown permissions, fixed in 2.24.1
- our policykit contains hal configuration, this should not be in the policykit package
- our hal package is compiled without support for policykit
Comment by Bartek Piech (delor) - Friday, 31 October 2008, 05:33 GMT
I have 'suspend', 'himernate', 'interactive', no 'shutdown' option. Forcing settings in gconf-editor will not change anything.
Comment by Freek (teek) - Monday, 10 November 2008, 07:55 GMT
Same here, I've read a couple of people who have this, its a snall thing but it requires some extra clicking when shutting down.
Comment by Jan de Groot (JGC) - Saturday, 06 December 2008, 19:00 GMT
The hal version in testing fixes this problem. It's held back in testing because of  bug 12221 .
Comment by Alessandro Nakamuta (alessandro_ufms) - Monday, 15 December 2008, 11:17 GMT
I add this code the below code:

<match action="org.freedesktop.hal.power-management.shutdown">
<return result="yes"/>
</match>

in /etc/PolicyKit/PolicyKit.conf and the option to shutdown back.
Comment by Jan de Groot (JGC) - Monday, 15 December 2008, 11:46 GMT
That's not the solution. The only solution is to upgrade to hal from testing. Your "solution" allows anything with access to the system bus to shutdown your computer.

Loading...