You are not logged in.

#1 2007-04-11 07:45:25

Acker
Member
Registered: 2007-03-21
Posts: 11

Gnome Power Manager Applet

Hi all,

since the last update, the gnome power manager applet is gone. I can change the preferences with the gnome-power-preferences tool, but the applet in the system bar is gone... Any idea?

Acker

Offline

#2 2007-04-11 08:59:01

hjorthboggild
Member
From: Denmark
Registered: 2005-11-05
Posts: 89

Re: Gnome Power Manager Applet

Have you tried running your laptop on battery only? Because it seems the default setting for gnome-power-manager is to not show the applet in the system bar when the laptop is plugged in. Only when the laptop is running on battery it will appear in the system bar. You can of course change the setting so that the applet will always appear even when running on AC-power

Regards,
Simon

Offline

#3 2007-04-11 09:36:32

Captain Spaulding
Member
Registered: 2006-11-16
Posts: 115
Website

Re: Gnome Power Manager Applet

This is a know bug. Either restart the gnome-power-manager on logon or live without it. The functionality is not touched by this.

Offline

#4 2007-04-11 12:09:46

T-u-N-i-X
Member
From: İstanbul
Registered: 2006-03-14
Posts: 435
Website

Re: Gnome Power Manager Applet

I think that this is not excuse. If we care about quality, everything should work fine.


Quis custodiet ipsos custodiet?

Offline

#5 2007-04-11 18:42:27

wesamel
Member
Registered: 2007-04-11
Posts: 4

Re: Gnome Power Manager Applet

I have the same problem.  I just installed Arch for the first time a few days ago and I remember that the power manager worked fine then.  I suppose some update messed it up though because now it refuses to run and I can never tell how much power my battery has left, which is extremely annoying.  I tried killing the process and running it again but I got this error in the terminal:

(gnome-power-manager:6357): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

I don't agree with Captain Spaulding's idea that this is an insignificant problem.  The power manager is essential for laptop users, since it also controls standby and hibernation.  I hope that his "just live with it" attitude towards bugs isn't a reflection of the rest of the Arch community.

Offline

#6 2007-04-12 09:52:06

Captain Spaulding
Member
Registered: 2006-11-16
Posts: 115
Website

Re: Gnome Power Manager Applet

wesamel wrote:

I don't agree with Captain Spaulding's idea that this is an insignificant problem.  The power manager is essential for laptop users, since it also controls standby and hibernation.  I hope that his "just live with it" attitude towards bugs isn't a reflection of the rest of the Arch community.

It is your privilege to disagree with me, but at least read my post. I said:
1) It is a known bug. I. e. it is reported, by me, BTW, and probably already worked on.
2) The functionality is untouched. That means the only error is that the icon is not shown. gnome-power-manager is otherwise working normally, that means it suspends/hibernates your laptop just fine. It just doesn't show the icon in the notification area.

And on a more personal note, I really don't dig people that try to walk the community guilt road. Save your coercion for somebody else, please.  sad

Offline

#7 2007-04-12 17:20:23

wesamel
Member
Registered: 2007-04-11
Posts: 4

Re: Gnome Power Manager Applet

Captain Spaulding wrote:

It is your privilege to disagree with me, but at least read my post. I said:
1) It is a known bug. I. e. it is reported, by me, BTW, and probably already worked on.
2) The functionality is untouched. That means the only error is that the icon is not shown. gnome-power-manager is otherwise working normally, that means it suspends/hibernates your laptop just fine. It just doesn't show the icon in the notification area.

And on a more personal note, I really don't dig people that try to walk the community guilt road. Save your coercion for somebody else, please.  sad

You're right, I guess I read you're original post the wrong way.  I thought you were saying that it isn't a problem and that we should ignore it.  Sorry.

Offline

#8 2007-04-12 17:30:56

Master One
Member
From: Europe
Registered: 2007-01-21
Posts: 249

Re: Gnome Power Manager Applet

Is this a general Gnome problem upstream, or is it an Arch specific issue?

Offline

#9 2007-04-13 15:13:07

Master One
Member
From: Europe
Registered: 2007-01-21
Posts: 249

Re: Gnome Power Manager Applet

Ok, it's an Arch specific problem, just installed the lastest Foresight Linux 1.2 (with Gnome 2.18.1 wink), and the Gnome Power Manager Applet works exactly as supposed to.

Offline

#10 2007-04-15 02:28:13

vitalstatistix
Member
Registered: 2007-01-31
Posts: 28

Re: Gnome Power Manager Applet

By the way gnome-power-manager suspends my laptop immediately when I resume from suspend to disk - this didn't happen before (in 2.16) and it doesn't seem to respect my gconf settings. Anyone notice this?

Offline

#11 2007-04-16 09:10:43

Captain Spaulding
Member
Registered: 2006-11-16
Posts: 115
Website

Re: Gnome Power Manager Applet

vitalstatistix wrote:

By the way gnome-power-manager suspends my laptop immediately when I resume from suspend to disk - this didn't happen before (in 2.16) and it doesn't seem to respect my gconf settings. Anyone notice this?

I assume with "suspends my laptop immediatly" you mean that it immediatly hibernates (i. e. suspend to disk) the laptop again. Correct?

Offline

#12 2007-04-16 14:54:01

Master One
Member
From: Europe
Registered: 2007-01-21
Posts: 249

Re: Gnome Power Manager Applet

So what's going on?

I do not assume, that users of other distros have such problems, at least in Foresight Linux the applet is working as supposed to, which confirms that it's not an upstream problem. There is a bug open, but no info about any progress.

Is anybody working on a fix?

As seen from the screenshot threads, quite some Arch users are on Gnome, so that's surely not something just a minority is in need of.

What's with the Gnome 2.18.1 updates (though the working version of the Gnome Power Manager in Foresight Linux is 2.18.2 as well)?

Offline

#13 2007-04-16 16:05:40

jason
Member
From: /dev/null
Registered: 2003-01-13
Posts: 102

Re: Gnome Power Manager Applet

My battery device in /proc is missing now and if I switch to battery the gnome-power-manager icon stays at AC adapter.  Maybe something else was updated to break this?  My guess would be:

[04/16/07 00:19] upgraded kernel26 (2.6.20.6-4 -> 2.6.20.7-1)

Offline

#14 2007-04-16 21:20:42

karmapolice
Member
Registered: 2007-01-31
Posts: 113

Re: Gnome Power Manager Applet

@jason
I guess your didn't read the advice at the end of your update. You should go to
http://wiki.archlinux.org/index.php/ACPI_modules

Offline

#15 2007-04-16 21:22:31

jason
Member
From: /dev/null
Registered: 2003-01-13
Posts: 102

Re: Gnome Power Manager Applet

karmapolice wrote:

@jason
I guess your didn't read the advice at the end of your update. You should go to
http://wiki.archlinux.org/index.php/ACPI_modules

Yep I just saw it.. thanks though smile

Offline

#16 2007-04-17 08:54:04

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: Gnome Power Manager Applet

personally, I have this workaround:

#!/bin/sh
sleep 3
killall gnome-power-manager
sleep 3
gnome-power-manager

in a script, added to session startup (along with the usual 'Power Manager' entry)
makes g-p-m icon work 9 times out of 10

Last edited by lloeki (2007-04-17 08:54:52)


To know recursion, you must first know recursion.

Offline

#17 2007-04-17 09:43:26

Captain Spaulding
Member
Registered: 2006-11-16
Posts: 115
Website

Re: Gnome Power Manager Applet

Master One wrote:

So what's going on?

I do not assume, that users of other distros have such problems, at least in Foresight Linux the applet is working as supposed to, which confirms that it's not an upstream problem. There is a bug open, but no info about any progress.

Is anybody working on a fix?

Jan de Groot has been assigned to this task a few days ago. Jan works on 580 open tasks, most of which have a higher priority then this bug.

As seen from the screenshot threads, quite some Arch users are on Gnome, so that's surely not something just a minority is in need of.

What's with the Gnome 2.18.1 updates (though the working version of the Gnome Power Manager in Foresight Linux is 2.18.2 as well)?

Oh my, an icon is not shown, man the life boats. The gnome-power-manager works perfectly -- at least for me -- it just doesn't show an icon in the notification area. If you absolutely need the icon, deploy Iloeki's script. It should do the job.

Offline

#18 2007-04-17 10:26:04

Captain Spaulding
Member
Registered: 2006-11-16
Posts: 115
Website

Re: Gnome Power Manager Applet

Sorry, that was too snarky. My apologies.

Offline

#19 2007-04-18 04:45:04

emphire
Member
From: Canada
Registered: 2007-03-21
Posts: 203

Re: Gnome Power Manager Applet

Another thing that's broken with it.  I used to be able to click on the gnome-power-manager icon and then select a battery and it would give me more detailed information on the battery (including expected run time).  Now it doesn't show up any more.

Offline

#20 2007-04-18 10:38:11

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: Gnome Power Manager Applet

yup, same here. did not happen with the version in testing before the move (although the disappearing icon was)


To know recursion, you must first know recursion.

Offline

#21 2007-04-18 18:41:13

Acker
Member
Registered: 2007-03-21
Posts: 11

Re: Gnome Power Manager Applet

Hi,

thx for the script - it's working for me. But i'm still looking forward to a fix. The Battery information is displayed correctly (using 2.6.19-beyond).

Acker

Offline

#22 2007-04-19 18:20:08

Cimi
Member
From: Padova, Italy
Registered: 2006-01-16
Posts: 301
Website

Re: Gnome Power Manager Applet

#! /bin/bash
# Script to launch Gnome Power Manager Applet.

if [ `ps -A | grep gnome-power-man | wc -l` == "1" ]; then
        killall -9 gnome-power-manager
fi

launch="FALSE"

while [ $launch == "FALSE" ]
do
        if [ `ps -A | grep notification-ar | wc -l` == "1" ]; then
                launch="TRUE"  
        fi
        sleep 4
done

gnome-power-manager
exit 0

This code works 100%, since it wait till notification area is loaded before launching it

Last edited by Cimi (2007-04-19 18:21:46)


Murrine Creator - GNOME Developer

Offline

#23 2007-04-19 19:48:13

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Gnome Power Manager Applet

A fixed version is on its way, it's an upstream bug that is triggered by the way we configure gnome-power-manager. We compile it with xevents support, which is buggy at this moment: gnome-power-manager gets an incoming xevent for a destroyed or created notification area and doesn't know how to handle it. The next package release will have this fixed. It takes some time to upload, as it comes with the rest of gnome in /usr now.

Offline

#24 2007-04-20 10:40:04

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: Gnome Power Manager Applet

JGC, that's great news. thanks for the detailed information.

Cimi, thanks for the new script, but it still fails in some case (gpm gets started and script exits, but still no icon).


To know recursion, you must first know recursion.

Offline

Board footer

Powered by FluxBB