Re: [gpm] If you want bleeding edge...



On Sat, 2006-04-15 at 11:03 -0700, Paul Ionescu wrote:
> Hi Richard,
> 
> --- Richard Hughes <hughsient gmail com> wrote:
> > > Here are some other thoughts:
> > > - In the event log, near the seconds, a human readable date/time (like "Sat Apr 15, 15:35:40")
> > > would be nice to have.
> > 
> > That's that plan. Any idea how to convert from the output of time() --
> > which is seconds since 1970 I think -- to this format? Or I might just
> > switch to using a GTimer -- again any idea how to take a GTimer and
> > convert to "Sat Apr 15, 15:35:40"?
> 
> maybe strftime() ?

Thanks, that hit the spot:

2006-04-15  Richard Hughes  <richard hughsie com>
 * src/gpm-info.c (gpm_info_get_time_string): Write the event log text
like "Sat Apr 15, 15:35:40" rather than just a random integer.

> > 
> > > - I cannot change the idle brightness of the screen and is always 30%. I tried with
> > gconf-editor,
> > > but it seems that the laptop_panel_dim_brightness key is ignored.
> > 
> > It's because the value is only read at g-p-m startup. Can you file a bug
> > please and I'll fix it so that it's monitored like the others.
> 
> done:
> http://bugzilla.gnome.org/show_bug.cgi?id=338628

2006-04-15  Richard Hughes  <richard hughsie com>
 * src/gpm-manager.c (gconf_key_changed_cb):
Monitor /apps/gnome-power-manager/laptop_panel_dim_brightness so we
don't have to restart to get the new setting. Should fix #338628

> > 
> > > - On battery, I have set the brightness to 0%, which works well, but then, after the idle
> > timeout,
> > > the lcd is bumped to 30%. So I think that maybe we need to check if the idle brightness is
> > higher
> > > than the current LCD brightness, and if it is, ignore the change. Otherwise we end up wasting
> > more
> > > power.
> > 
> > Yes, agreed. Bugzilla please, then I can reference it in the source.
> 
> done in:
> http://bugzilla.gnome.org/show_bug.cgi?id=338630

Working on this now, thanks.

> > > - I cannot find a way to launch the "Power information" window without left click on the gpm
> > icon
> > > and select it from there. Is there such a way ? If not, how do we launch it if the icon is
> > hiding.
> > 
> > That's a good question, and one that I've got no easy answer to.
> > 
> > Maybe an icon in Applications, System Tools, Power Information that just
> > fires off dbus-send with a ShowInfoWindow() type request to g-p-m?
> 
> Yeah, why not. Should I file a bug req for this too ?

Sure, saves me forgetting about it. ;-)

> Or maybe a short C program that can be used as an example of how to interact with gpm ? 

There's a python demo in docs... dbus-test-inhibit.py which seems to
work well. Maybe we could just write some more?

> I also filed a bug report about the order of batteries shown in the power-info window:
> http://bugzilla.gnome.org/show_bug.cgi?id=338634

Sweet, thanks.

Richard.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]