About
tk_docapp is a small user interface to monitor the battery status under OpenBSD. I use it under the cwm windows manager.
What's new
27. February 2015:
- Version 0.6.0 is out
Features
- tk_docapp is a stand alone application for any window manager
- it can monitor the status of your laptop battery under OpenBSD
- tk_docapp wakes up only once a minute to save energy
- at the moment no support for NetBSD anymore (perhaps in a later version...)
- tk_docapp is written in pure tcl/tk (no tcl/tk-extensions are required)
- a German translation of the program is available
The requirements
- OpenBSD
- tcl/tk-version 8.5 or higher
Download
This software stands under the GNU GENERAL PUBLIC LICENSE and comes with NO warranty of any kind. You use it at your own risk.
date | version | description |
27. February 2015 | 0.6.0 |
- removed the current average function again
(didn't deliver good results) - after startup we make some extra polling of the battery |
21. August 2014 | 0.5.0 |
- using an average for the discharge current to have a more
realistic time prediction - protect the formulas agains dividing by zero |
13. April 2014 | 0.4.0 |
- rewritten from scratch - tk_docapp monitors the laptop battery (only) under OpenBSD now |
Installation
Only try out without installation:
- copy tk_docapp_x_x.tgz on a place you want (e.g. /usr/local/src)
- uncompress tk_docapp in this directory (tar -xvzf ./tk_docapp_x_x.tgz)
- cd ./tk_docapp
- run ./tk_docapp.tcl
An installation into your system is very easy:
- copy tk_docapp_x_x.tgz on a place you want (e.g. /usr/local/src)
- uncompress tk_docapp in this directory (tar -xvzf ./tk_docapp_x_x.tgz)
- cd ./tk_docapp
- run ./configure
- and "make install" as root
Thats all. Now you can start the program with "tk_docapp".
Hint for FreeBSD and OpenBSD-user: on your system the tclsh is installed with a version prefix (e.g. tclsh8.5) but we need a simple "tclsh". Before you can start the program you must set a link: e.g. ln -s /usr/local/bin/tclsh8.5 /usr/local/bin/tclsh
Uninstallation
- go back to your tk_docapp source directory (e.g. /usr/local/src/tk_docapp)
- run "make uninstall"
Thats all.
Bugs
Nobody is perfect - bugreports, comments and opinions are very welcome.
I wish you a good time
Falk
falk.richter*at*yandex.com
Last change: 27. February 2015