Difference between revisions of "KThinkBat"

From ThinkWiki
Jump to: navigation, search
 
 
(64 intermediate revisions by 13 users not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
  
KThinkBat is a laptop battery monitor for the KDE-Kicker. It is inspired by the "Battery Maximizer" includes with IBM ThinkPads (now Levono).  
+
[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
 +
 
 +
Author: [http://lepetitfou.dyndns.org Tobias Roeser]
 +
 
 +
Latest Version (2007-07-29): 0.2.8
  
 
==Screenshot==
 
==Screenshot==
  
https://lepetitfou.dyndns.org/download/kthinkbat/screenshot_1.png
+
[[Image:KThinkBat.png]]
 +
 
 +
Offline Mode: you see how much charge is left and the current discharging rate.
 +
 
 +
[[Image:KThinkBat_dual.png]]
 +
 
 +
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 11: Line 25:
 
KThinkBat uses the autotools. For a standard installation use  
 
KThinkBat uses the autotools. For a standard installation use  
  
./configure
+
./configure
 +
make
 +
su -c 'make install'
  
make
+
Alternatively, to minimize filesystem clutter you can install KThinkBat into {{path|/opt/kthinkbat}} and add just a few symlinks under {{path|/usr}}:
  
su -c 'make install'
+
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==
You can use the ebuild at https://lepetitfou.dyndns.org/download/kthinkbat/kthinkbat-0.1.3.ebuild.  
+
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==
  
* https://lepetitfou.dyndns.org/download/kthinkbat/kthinkbat-0.1.3.tar.bz2
+
* [http://lepetitfou.dyndns.org/KThinkBat#Download Download from the KThinkBat Site]
* https://lepetitfou.dyndns.org/download/kthinkbat/kthinkbat-0.1.3.ebuild
+
 
 +
 
 +
 
 +
==See Also==
 +
 
 +
* [[How to use UltraBay batteries]]
 +
 
 +
[[Category:Tools]] [[Category:Gentoo]]

Latest revision as of 02:59, 25 June 2008

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

KThinkBat.png

Offline Mode: you see how much charge is left and the current discharging rate.

KThinkBat dual.png

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


See Also