Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Battery power monitor on desktop< Next Oldest | Next Newest >
setecio Offline





Group: Members
Posts: 89
Joined: Nov. 2006
Posted: April 11 2007,15:36 QUOTE

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.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: April 11 2007,21:31 QUOTE

It's a program called torsmo.  See ~/.torsmorc
There's also an updated fork of torsmo called conky.
Back to top
Profile PM 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: April 11 2007,22:06 QUOTE

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.
Back to top
Profile PM 
setecio Offline





Group: Members
Posts: 89
Joined: Nov. 2006
Posted: April 11 2007,22:39 QUOTE

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.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: April 12 2007,01:13 QUOTE

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.
Back to top
Profile PM 
12 replies since April 11 2007,15:36 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: Battery power monitor on desktop

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code