#11878 NORM 12.1.0: gnome battery icon unresponsive

Zarro Boogs per Child bugtracker at laptop.org
Wed May 30 12:37:21 EDT 2012


#11878: gnome battery icon unresponsive
-------------------------------------+--------------------------------------
           Reporter:  pgf            |       Owner:  martin.langhoff                  
               Type:  defect         |      Status:  new                              
           Priority:  normal         |   Milestone:  12.1.0                           
          Component:  gnome-desktop  |     Version:  Development build as of this date
         Resolution:                 |    Keywords:                                   
        Next_action:  diagnose       |    Verified:  0                                
Deployment_affected:                 |   Blockedby:                                   
           Blocking:                 |  
-------------------------------------+--------------------------------------

Comment(by martin.langhoff):

 Got some help and managed to get debug logs from gnome-settings-daemon
 (where power-plugin drives the battery icon we care about).

 In summary, the logs show that g-s-m's internal state is consistent with
 upower and with what the kernel events see.

 Looks like the same #11860 bug that hides the icon prevents updates to the
 icon.

 For reference, here's how to get good logs --

 At the end of olpc-session

 {{{
   G_MESSAGES_DEBUG=power-plugin # did not work for me

   # exec $desktop
   $desktop --debug 2>~/.desktop.errlog >~/.desktop.log

 }}}

 then replace g-s-d thus:

 {{{

  mv /usr/libexec/gnome-settings-daemon{,.real}
  cat >/usr/libexec/gnome-settings-daemon <<EOF
  #!/bin/bash
  exec /usr/libexec/gnome-settings-daemon.real --debug
  EOF
  chmod ugo+x /usr/libexec/gnome-settings-daemon

 }}}

 Now you are ready for

 {{{
 systemctl restart prefdm.service
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/11878#comment:4>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list