❦ 6 août 2012 08:22 CEST, Alexandru Băluț <[email protected]> :
> The battery indicator in the systray is not visible anymore since I
> upgraded to Ubuntu 12.04. I attached /proc/$(pidof awesome)/fd/2 - it sais
> something about the indicators, but I'm not sure what's to be fixed.
>
> Any idea how to investigate why it does not show up?
Is the indicator absent or not visible because black? In the later case:
#v+
xprop = assert(io.popen("xprop -root _NET_SUPPORTING_WM_CHECK"))
wid = xprop:read():match("^_NET_SUPPORTING_WM_CHECK.WINDOW.: window id #
(0x[%S]+)$")
xprop:close()
if wid then
wid = tonumber(wid) + 1
os.execute("xprop -id " .. wid .. " -format _NET_SYSTEM_TRAY_COLORS 32c " ..
"-set _NET_SYSTEM_TRAY_COLORS " ..
"65535,65535,65535,65535,8670,8670,65535,32385,0,8670,65535,8670")
end
#v-
--
printk(KERN_ERR "msp3400: chip reset failed, penguin on i2c bus?\n");
2.2.16 /usr/src/linux/drivers/char/msp3400.c
--
To unsubscribe, send mail to [email protected].