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 watch, howto install a battery watch for Laptop< Next Oldest | Next Newest >
freeze Offline





Group: Members
Posts: 26
Joined: Jan. 2006
Posted: Jan. 23 2006,23:17 QUOTE

Hello all,
does anyone know how to install a battery watch. I've got a hd-install on my Laptop and it works brilliant.
I was thinking maybe a gkrellm plugin would do the job. But I haven't tried it yet. And I think I have to uninstall the one that comes with dsl first, cause you can't configure it with the F1 button and i can't find other options.
So if anyone has experience that would be really great.

THX a lot

edited SOLUTION:

altered /home/dsl/.xinitrc
Code Sample

# put X windows programs that you want started here.
# Be sure to add at the end of each command the &

KEYTABLE="$(getknoppixparam.lua KEYTABLE)"
DESKTOP=`cat $HOME/.desktop`

# For German Keyboards
if [ $KEYTABLE == "de" ]; then
 xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" &
fi

if egrep -qv noicons /proc/cmdline 2>/dev/null; then
 iconsnap.lua &>/dev/null &
 xtdesk &>/dev/null &
fi
#dillo /usr/share/doc/dsl/getting_started.html &>/dev/null &
case $DESKTOP in
 fluxbox )
   fluxter -w &>/dev/null &
   mount.app &>/dev/null &
   asmem -withdrawn -bg black -fg white -memory red &>/dev/null &
   wmcpuload &>/dev/null &
   wmnet -w &>/dev/null &
   wmix &>/dev/null &
   wmapm &                                     #<============================ thats the one
   exec fluxbox 2>/dev/null
 ;;
 jwm )
   ./.background
   sleep 1
   exec jwm
 ;;
 * )
   exec fluxbox 2>/dev/null
 ;;
esac


one mor thing I had to do was:
Code Sample

ln -s /usr/bin/wmapm /opt/wmapm/wmapm

cause it didn't have that link in my box as default.

Thanks to cbagger01


--------------
"There is *always* one more bug." -Lubarsky's Law of Cybernetic Entomology
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Jan. 24 2006,17:28 QUOTE

Visit the Window Manager section of the MyDSL Repository.

There are 2 battery monitoring programs, depending on the type of power management that is used by your laptop.

One is wmacpi the other is wmapm
Back to top
Profile PM 
freeze Offline





Group: Members
Posts: 26
Joined: Jan. 2006
Posted: Jan. 25 2006,09:40 QUOTE

Thank you very much.

Just one more thing how can I make sure wich one is my PowerMangement?
I've got a Bios where I can only configure a little and I can't choose to shut off ACPI for example.
And is it important to know which one or can I just install both and see wich one reacts?

Thanks for your help...


--------------
"There is *always* one more bug." -Lubarsky's Law of Cybernetic Entomology
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Jan. 25 2006,18:23 QUOTE

Try both.

See which one works :)
Back to top
Profile PM 
freeze Offline





Group: Members
Posts: 26
Joined: Jan. 2006
Posted: Jan. 27 2006,07:28 QUOTE

APM works totally great.
Thank you very much cbagger01.
To make this Post complete allow me to ask one more thing:
How do I make the "Plugin", if thats what I can call it, stay in the gkrellm app? So it comes up at boot in a "dsl-hdinstall".

Could be that this should be another Post or even has been answered somewhere else allready, but it seems a lot of people are looking at this Post so, bla bla bla...
Thank you for your help :)


--------------
"There is *always* one more bug." -Lubarsky's Law of Cybernetic Entomology
Back to top
Profile PM 
11 replies since Jan. 23 2006,23:17 < 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 watch

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