You are not logged in.
An alternative to editing config files and adding lines is to install hal from testing. Seems to work fine.
Offline
Thank you kesara10. It worked without restarting X!
Offline
An alternative to editing config files and adding lines is to install hal from testing. Seems to work fine.
This is the way you want to do it.
[git] | [AURpkgs] | [arch-games]
Offline
Upgraging to Hal in [testing] fixed it for me.
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
I am having a similar problem.
The options are there, but they don't work.
Hello, everybody.
I'm having the same problem. i'm completely new to Arch, so earlier I thought that there might be some missing confuiguration or package that might be preventing the things from going the right way, as everything is just working fine in my ubuntu8.10 installation. But after finding this thread, I find that I'm wrong. After following allan's post (the right way- placing the xml before </config> or whatever it was), I got the options in g-p-m but they don't work. I have an hp 530 laptop which has a problem with lid closing not being detected (https://bugs.launchpad.net/ubuntu/+sour … bug/277534) in ubuntu, but this problem is also there in Arch, as I find.
Although I can suspend/hibernate when I click the gnome-power-manager icon and choose hibernate/suspend, when I close the lid it does not suspend/hibernate.
I cannot even suspend/hibernate when I click the gnome-power-manager icon. And yes, I have added myself to the power group. When I do System>Shut Down and press any of the options- shutdown, suspend etc. (even if I log in as root), nothing happens.
allan's tip doesn't work for me, in fact, i can't even reboot\turn off the pc in a "graphic way", i've to "sudo reboot" or "sudo halt" to do so. suspend\hibernation buttons don't appear in the "stop the system" window.
EDIT:
Although kesara10's suggestions brought some more options in the gpm, I am still having a hard tiome here getting this thing to work. I understand that because my laptop lid close/open action is not detected these settings should not work. But, even the settings for the power button are not working and I'm not able to shutdown/hibernate/suspend/restart my computer from the graphical menu (the System>Shut Down menu)- I have to switch to console to do that.
Last edited by bhadotia (2008-12-10 19:53:24)
Offline
I'm having the same problem.
I just reinstalled the whole system using:
pacman -S $(comm -3 <(pacman -Qq) <(pacman -Qqm))
and everything has automagically started working now.
Offline
I'm having this problem, but I'm on an EEE 701 so I don't want suspend or hibernate. I want to have shutdown be an option. What would I need to put for that?
Offline
I'm having this problem, but I'm on an EEE 701 so I don't want suspend or hibernate. I want to have shutdown be an option. What would I need to put for that?
Add following code inside config tag in /etc/PolicyKit/PolicyKit.conf:
<match action="org.freedesktop.hal.power-management.shutdown">
<return result="yes"/>
</match>
Offline
Thanks, worked like a charm.
Offline
Offline
"Why isn't this default"
The Arch Way...not everyone wants/uses hibernate/suspend.
Last edited by dr/owned (2009-01-09 13:09:17)
Offline
yes, but I think the majority uses them..
Offline
Just wanted to give a big thanks to allan for sharing the lines. Almost giving me a headache how to get suspend to work on my eee. It works like a charm, and no reboot needed
Offline
None of the solutions presented work for me.
Added xml part to /etc/PolicyKit/PolicyKit.conf -> no effect
Used hal from testing -> no effect
reinstalled system as mentioned by bhadotia -> no effect
Recompiled hal with policy support -> no effect
Pressing the power button doesn't present the shutdown dialog, only logout is possible
Any other ideas?
Thanks!
Offline
have you added your user to power, hal, dbus groups?
Offline
before:
yes,no and no -> no effect
your hint:
yey,yes and yes -> no effect
Offline
my laptop currently only beeps if i try to suspend via gnome
i use the lines from the first page, and my users is granted via polkit-gnome-authorization, of course my user is member of power, optical and storage (not dbus or hal, or anything else which sounds like that?)
Offline
my laptop currently only beeps if i try to suspend via gnome
i use the lines from the first page, and my users is granted via polkit-gnome-authorization, of course my user is member of power, optical and storage (not dbus or hal, or anything else which sounds like that?)
Can you find anything useful in log files?
Offline
A special logfile I have to look for, or simply everything from /var/log?
Offline
Anything in /var/log/messages.log?
Offline
Solved:
The last gnome-updates and a second suspend-option (polkit-gnome-auth) which I discoverd today solved the problems.
Suspend: Works reliable in the Terminals and X11
Offline
I just installed Arch and was having the same problem: suspend and hibernate work properly (from the console), but Gnome Power Manager does not show suspend, hibernate, or shutdown options. Here's how I got it working.
Run (as user):
$ gnome-power-manager --verbose
Look through the output for these lines:
- failed to authorise for privilege org.freedesktop.devicekit.power.suspend
- failed to authorise for privilege org.freedesktop.devicekit.power.hibernate
If you see them, that's the problem, so run (as root):
# polkit-auth --grant org.freedesktop.devicekit.power.suspend --user <USERNAME>
# polkit-auth --grant org.freedesktop.devicekit.power.hibernate --user <USERNAME>
After a restart, G.P.M. should have full functionality.
Offline
Thank you BlackSwan, works wonderfully (side note: you only need to restart X, however after restart i need to remove the old power down button on the panel and re-add it)
The Arch Way...not everyone wants/uses hibernate/suspend.
Uhm, but a short mention in Gnome wiki entry would be nice
Last edited by lamnk (2009-07-05 12:46:49)
Offline
I tried everything posted above, and no luck. (As a matter of fact, I couldn't even find the policy kit files that most people were editing).
I ended up getting things working by editing my xinitrc as per the instructions here:
Offline
Install gnome-tweak-tool.
Run gnome-tweak-tool.
You should see the option for both AC and battery power under the 'Shell' tab.
Offline