User Feedback :: Battery power monitor on desktop
Where can I find details of how the battery monitor on the desktop works, or the scripts used for it. It works great on my laptop and am wondering if I can see how it works and what bits of the laptop it gets it's info from. I'm trying to get a battery applet on Puppy Linux to work but it won't whereas the DSL one works great. Thanks.
It's a program called torsmo. See ~/.torsmorc
There's also an updated fork of torsmo called conky.
You can look at my torsmo script here:
http://damnsmalllinux.org/cgi-bin....t=18266
As you can see the information about the level of charge comes from some pseudofiles written to by ACPI.
Thanks for that. Is it always done by ACPI ?
How do I view ~/.torsmorc ....(and conky if possible)
I mounted the DSL partition, opened emelfm and looked for /.torsmorc. Beginners info required, but do I look in a certain folder, do I need to unhide files somehow. Probably easy but I'm stuck.
apm and acpi, I think, are the 2 standards.
That's in ~/ , and not /
~ means the user's home directory (ie /home/dsl ) and is autoexpanded if used.
If you wish to view it in emelfm, hit ctrl+h or the "H" button.
Next Page...
original here.