FS#22010 - [conky] does not show anything about APC status
Attached to Project:
Arch Linux
Opened by ugaciaka (ugaciaka) - Tuesday, 07 December 2010, 18:23 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 05 January 2011, 01:25 GMT
Opened by ugaciaka (ugaciaka) - Tuesday, 07 December 2010, 18:23 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 05 January 2011, 01:25 GMT
|
Details
Description:
Conky not show anything about APC status Additional info: * package version(s): 1.8.1-1, 1.8.1-2 * config: I have this line in my .conkyrc and work after upgrade conky to 1.8.1 ${apcupsd localhost 3551}${color0}Autonomia:${apcupsd_timeleft}m ${alignr}Capacità: ${apcupsd_charge}% ${color0}Carico:${apcupsd_load}% Steps to reproduce: start conky with and see in the desktop N/A without real value. |
This task depends upon
* config:
I have this line in my .conkyrc and *not* work after upgrade conky to 1.8.1
${apcupsd localhost 3551}${color0}Autonomia:${apcupsd_timeleft}m ${alignr}Capacità: ${apcupsd_charge}%
${color0}Carico:${apcupsd_load}%
http://sourceforge.net/tracker/index.php?func=detail&aid=3083859&group_id=143975&atid=757308
Are you sure apcupsd is running? What does "ncat localhost 3551" says?
Edit: Additionally, if you downgrade to conky-1.8.0, do things start working as soon as you restart conky?
2. conky -v|grep apc
* apcupsd
yes, conky in archlinux is compiled from obtain information from apcustatus
3. If I downgrade conky to 1.8.0 everything works.
4. I can't see "ncat localhost 3551" now (I'm not using my pc now).
tnx
Did it solve your problem to patch conky-1.8.1 with the apcupsd code from 1.8.0?
Edit: Also, maybe try using 127.0.0.1 rather than localhost.
ncat localhost 3551 or ncat 127.0.0.1 3551
show nothing
However, there is not much more we can do since copying the file from 1.8.0 is a drastic change and we only include clean and simple patches that have been approved by upstream.
P.S. I meant using 127.0.0.1 in your conky configuration in place of localhost: ${apcupsd 127.0.0.1 3551}
I write 127.0.0.1 instead of localhost but this not effect
Unfortunately, Arch is not the place for this problem to be fixed.