Difference between revisions of "KThinkBat"
(40 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
==Description== | ==Description== | ||
− | [ | + | [http://lepetitfou.dyndns.org/KThinkBat KThinkBat] is a laptop battery monitor for the KDE-Kicker. It is inspired by the Windows Application "Battery Maximizer" which is included with ThinkPads. |
− | + | It can use the SMAPI BIOS (through the [[tp_smapi]] driver) or [[How to make ACPI work|ACPI]] to collect the data. It shows you the current power consumption of the laptop and brings support for a second battery. It is fully customizable including sizes, color, fonts and battery number | |
− | + | Homepage: http://lepetitfou.dyndns.org/KThinkBat | |
− | Latest Version: 0. | + | Author: [http://lepetitfou.dyndns.org Tobias Roeser] |
+ | |||
+ | Latest Version (2007-07-29): 0.2.8 | ||
==Screenshot== | ==Screenshot== | ||
Line 13: | Line 15: | ||
[[Image:KThinkBat.png]] | [[Image:KThinkBat.png]] | ||
− | Offline Mode: | + | Offline Mode: you see how much charge is left and the current discharging rate. |
− | [[Image: | + | [[Image:KThinkBat_dual.png]] |
− | Online Mode: | + | Online Mode: you see how much charge is left and the current charging rate. This screenshot is taken with the disabled "summarize batteries" option. |
==Installation== | ==Installation== | ||
Line 26: | Line 28: | ||
make | make | ||
su -c 'make install' | su -c 'make install' | ||
+ | |||
+ | Alternatively, to minimize filesystem clutter you can install KThinkBat into {{path|/opt/kthinkbat}} and add just a few symlinks under {{path|/usr}}: | ||
+ | |||
+ | mkdir -p /opt/kthinkbat | ||
+ | ./configure --prefix=/opt/kthinkbat | ||
+ | make | ||
+ | make install | ||
+ | cd /usr/lib/kde3 | ||
+ | ln -vfs ../../../opt/kthinkbat/lib/* ./ | ||
+ | cd /usr/share/apps/kicker/applets | ||
+ | ln -vfs ../../../../../opt/kthinkbat/share/apps/kicker/applets/kthinkbat.desktop ./ | ||
+ | |||
+ | (The above paths are for {{Fedora}} 4 and 5, and may need to be adjusted for other distributions.) | ||
+ | |||
+ | If you already have the applet running, run {{cmduser|killall kicker; kicker}} to restart it. | ||
==Gentoo== | ==Gentoo== | ||
− | + | KThinkBat is available through the Gentoo tree as app-laptop/kthinkbat. Use your favorite package manager to install it. | |
− | + | emerge -av kthinkbat | |
− | + | If you want to use the info provided by the [[tp_smapi]] module, enable the ''smapi'' USE flag. | |
− | + | ==openSuSE== | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | KThinkBat is included into the community builds (see KDE/Community/openSUSE_Factory, [[ftp://ftp5.gwdg.de/%2fpub/linux/suse/opensuse/repositories/KDE%3A/Community/openSUSE_Factory/x86_64/ here]] for example), though the version is quite outdated atm - 0.2.2. | |
− | + | You can find newer versions on [http://linux01.gwdg.de/~pbleser/index.php Guru's RPM Site], see [http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=System/kthinkbat/ RPMs for KThinkBat] compiled for all SuSE versions back to 9.3. | |
− | + | ==Debian== | |
− | |||
− | |||
− | + | deb http://debian.cp69.de/ unstable main non-free contrib | |
− | + | deb-src http://debian.cp69.de/ unstable main non-free contrib | |
− | + | ||
+ | deb http://debian.cp69.de/ testing main non-free contrib | ||
+ | deb-src http://debian.cp69.de/ testing main non-free contrib | ||
− | + | To get the repository key, do a: | |
− | + | ||
+ | wget http://debian.cp69.de/repo.asc -O - | sudo apt-key add - | ||
==Download== | ==Download== | ||
− | * [http://lepetitfou.dyndns.org/ | + | * [http://lepetitfou.dyndns.org/KThinkBat#Download Download from the KThinkBat Site] |
− | * [ | + | |
+ | |||
+ | |||
+ | ==See Also== | ||
+ | |||
+ | * [[How to use UltraBay batteries]] | ||
[[Category:Tools]] [[Category:Gentoo]] | [[Category:Tools]] [[Category:Gentoo]] |
Latest revision as of 01:59, 25 June 2008
Contents
Description
KThinkBat is a laptop battery monitor for the KDE-Kicker. It is inspired by the Windows Application "Battery Maximizer" which is included with ThinkPads.
It can use the SMAPI BIOS (through the tp_smapi driver) or ACPI to collect the data. It shows you the current power consumption of the laptop and brings support for a second battery. It is fully customizable including sizes, color, fonts and battery number
Homepage: http://lepetitfou.dyndns.org/KThinkBat
Author: Tobias Roeser
Latest Version (2007-07-29): 0.2.8
Screenshot
Offline Mode: you see how much charge is left and the current discharging rate.
Online Mode: you see how much charge is left and the current charging rate. This screenshot is taken with the disabled "summarize batteries" option.
Installation
KThinkBat uses the autotools. For a standard installation use
./configure make su -c 'make install'
Alternatively, to minimize filesystem clutter you can install KThinkBat into /opt/kthinkbat and add just a few symlinks under /usr:
mkdir -p /opt/kthinkbat ./configure --prefix=/opt/kthinkbat make make install cd /usr/lib/kde3 ln -vfs ../../../opt/kthinkbat/lib/* ./ cd /usr/share/apps/kicker/applets ln -vfs ../../../../../opt/kthinkbat/share/apps/kicker/applets/kthinkbat.desktop ./
(The above paths are for Fedora 4 and 5, and may need to be adjusted for other distributions.)
If you already have the applet running, run $ killall kicker; kicker
to restart it.
Gentoo
KThinkBat is available through the Gentoo tree as app-laptop/kthinkbat. Use your favorite package manager to install it.
emerge -av kthinkbat
If you want to use the info provided by the tp_smapi module, enable the smapi USE flag.
openSuSE
KThinkBat is included into the community builds (see KDE/Community/openSUSE_Factory, [here] for example), though the version is quite outdated atm - 0.2.2. You can find newer versions on Guru's RPM Site, see RPMs for KThinkBat compiled for all SuSE versions back to 9.3.
Debian
deb http://debian.cp69.de/ unstable main non-free contrib deb-src http://debian.cp69.de/ unstable main non-free contrib deb http://debian.cp69.de/ testing main non-free contrib deb-src http://debian.cp69.de/ testing main non-free contrib
To get the repository key, do a:
wget http://debian.cp69.de/repo.asc -O - | sudo apt-key add -
Download