Re: Finding and debugging the battery "applet" in GNOME 3.4 fallback mode



Looks like the plugin has a log domain of "power-plugin", so you'll need to set:

G_MESSAGES_DEBUG=power-plugin

On Tue, May 29, 2012 at 10:45 PM, Martin Langhoff
<martin langhoff gmail com> wrote:
> On Tue, May 29, 2012 at 6:16 PM, Florian Müllner <fmuellner gnome org> wrote:
>> <martin langhoff gmail com> wrote:
>>> I am trying to characterize a bug in OLPC's development builds (based
>>> on F17) where the battery icon "applet" is out of sync with upower.
>>>
>>> Where is it controlled from? Under gnome-shell, it is
>>> /usr/share/gnome-shell/js/ui/status/power.js , but I've failed to find
>>> the fallback equivalent.
>>
>> It's in gnome-settings-daemon, see
>> http://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/power/gsd-power-manager.c
>
> Great -- thanks! I see calls to g_debug() -- how do I rig my session
> so as to read / log those debug messages? An env variable in my
> session setup before loading gnome?
>
>
>
> m
> --
>  martin langhoff gmail com
>  martin laptop org -- Software Architect - OLPC
>  - ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  - http://wiki.laptop.org/go/User:Martinlanghoff
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list gnome org
> https://mail.gnome.org/mailman/listinfo/desktop-devel-list



-- 
  Jasper


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