You are not logged in.

#26 2008-12-05 12:22:55

merlin
Member
From: Maine
Registered: 2008-10-06
Posts: 12

Re: gnome power manager doesn't give shutdown or suspend options

An alternative to editing config files and adding lines is to install hal from testing. Seems to work fine.

Offline

#27 2008-12-07 03:09:29

cemsbr
Member
From: Brazil
Registered: 2008-05-03
Posts: 111
Website

Re: gnome power manager doesn't give shutdown or suspend options

Thank you kesara10. It worked without restarting X!

Offline

#28 2008-12-07 03:23:49

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: gnome power manager doesn't give shutdown or suspend options

merlin wrote:

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.

Offline

#29 2008-12-07 14:36:58

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: gnome power manager doesn't give shutdown or suspend options

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

#30 2008-12-10 19:32:27

bhadotia
Member
From: Karnal, India
Registered: 2008-12-09
Posts: 87

Re: gnome power manager doesn't give shutdown or suspend options

simao wrote:

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.

simao wrote:

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.

Berseker wrote:

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

#31 2008-12-11 19:27:53

bhadotia
Member
From: Karnal, India
Registered: 2008-12-09
Posts: 87

Re: gnome power manager doesn't give shutdown or suspend options

bhadotia wrote:

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

#32 2009-01-02 05:02:03

giltwist
Member
Registered: 2008-04-29
Posts: 3

Re: gnome power manager doesn't give shutdown or suspend options

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

#33 2009-01-02 08:21:07

tomekzet
Member
From: Poland
Registered: 2008-08-06
Posts: 6

Re: gnome power manager doesn't give shutdown or suspend options

giltwist wrote:

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

#34 2009-01-04 21:41:37

giltwist
Member
Registered: 2008-04-29
Posts: 3

Re: gnome power manager doesn't give shutdown or suspend options

Thanks, worked like a charm.

Offline

#35 2009-01-09 12:40:18

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: gnome power manager doesn't give shutdown or suspend options

Thanks

Offline

#36 2009-01-09 13:08:31

dr/owned
Member
Registered: 2009-01-09
Posts: 136

Re: gnome power manager doesn't give shutdown or suspend options

"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

#37 2009-01-19 08:25:53

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: gnome power manager doesn't give shutdown or suspend options

yes, but I think the majority uses them..

Offline

#38 2009-01-21 22:05:10

yama
Member
From: Norway
Registered: 2008-04-03
Posts: 71

Re: gnome power manager doesn't give shutdown or suspend options

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 big_smile

Offline

#39 2009-01-30 13:47:49

nylan
Member
Registered: 2009-01-30
Posts: 4

Re: gnome power manager doesn't give shutdown or suspend options

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

#40 2009-01-30 14:01:12

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: gnome power manager doesn't give shutdown or suspend options

have you added your user to power, hal, dbus groups?

Offline

#41 2009-01-30 16:11:33

nylan
Member
Registered: 2009-01-30
Posts: 4

Re: gnome power manager doesn't give shutdown or suspend options

before:
yes,no and no -> no effect
your hint:
yey,yes and yes -> no effect

Offline

#42 2009-03-29 12:46:21

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 457

Re: gnome power manager doesn't give shutdown or suspend options

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

#43 2009-03-29 15:13:46

cemsbr
Member
From: Brazil
Registered: 2008-05-03
Posts: 111
Website

Re: gnome power manager doesn't give shutdown or suspend options

hoschi wrote:

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

#44 2009-03-30 19:50:09

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 457

Re: gnome power manager doesn't give shutdown or suspend options

A special logfile I have to look for, or simply everything from /var/log?

Offline

#45 2009-03-30 23:30:11

cemsbr
Member
From: Brazil
Registered: 2008-05-03
Posts: 111
Website

Re: gnome power manager doesn't give shutdown or suspend options

Anything in /var/log/messages.log?

Offline

#46 2009-04-14 19:01:38

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 457

Re: gnome power manager doesn't give shutdown or suspend options

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 smile

Offline

#47 2009-05-15 18:42:54

BlackSwan
Member
From: Toronto, ON, Canada
Registered: 2009-05-15
Posts: 6

Re: gnome power manager doesn't give shutdown or suspend options

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

#48 2009-07-05 12:42:55

lamnk
Member
Registered: 2008-01-30
Posts: 65
Website

Re: gnome power manager doesn't give shutdown or suspend options

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)

dr/owned wrote:

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

#49 2010-07-04 20:45:25

gdw
Member
Registered: 2008-05-24
Posts: 7

Re: gnome power manager doesn't give shutdown or suspend options

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:

http://wiki.archlinux.org/index.php/GNO … GNOME_menu

Offline

#50 2011-06-28 05:20:27

w00tlarz
Member
Registered: 2011-06-28
Posts: 2

Re: gnome power manager doesn't give shutdown or suspend options

Install gnome-tweak-tool.
Run gnome-tweak-tool.
You should see the option for both AC and battery power under the 'Shell' tab.

Offline

Board footer

Powered by FluxBB