aboutsummaryrefslogtreecommitdiffstats
path: root/README.KDE
blob: a4cff7faf836c8dab3303c93cbb0d61387b0fedc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
# $Id: README.KDE,v 1.1 2000/04/03 06:53:09 reinelt Exp $
#

This is the README file for the KDE integration of lcd4linux


First: lcd4linux is  NO  KDE program!

But: lcd4linux with the X11-driver can be integrated in KDE, so that it
drives a little window in the KDE panel.

This so called 'swallowing on panel' can be accomplished by using a .kdelnk
file and a special configuration. Both files come with this package, but should
be adopted to your needs.

The KDE panel windows must have a size of 45x45 pixels. We get this size by
using a size of 6x5 characters, each character has 6x8 pixels. By using
a horizontal gap of 1 pixel between characters, we get a size of 

horizontal: 6 chars * 6 pixels + 5 gaps = 41 pixels
vertical:   5 chars * 8 pixels          = 40 pixels

With a border size of 2 pixels this gives a size of 45 x 44 pixels. Great!

I prefer using 5 vertical bars (load avg, CPU busy, CPU system, disk read+write,
network receive+transmit, ISDN in+out), but you use any other combination you
like.


INSTALLATION:

* download and compile lcd4linux
* edit lcd4linux.kdelnk and copy to $KDEDIR/share/applnk/apps/System
* copy lcd4linux.xpm to $KDEDIR/share/icons
* copy lcd4kde.conf to /etc
* create a /etc/lcd4X11.conf (this will be used if you start lcd4linux from the menu
  or by clicking on the panel window
* use "Panel/Add Application" from the K menu to create a panel entry
* restart KPanel

Enjoy!
Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * * $Log: timer.h,v $ * Revision 1.6 2005/05/08 04:32:45 reinelt * CodingStyle added and applied * * Revision 1.5 2005/01/18 06:30:24 reinelt * added (C) to all copyright statements * * Revision 1.4 2004/06/20 10:09:56 reinelt * * 'const'ified the whole source * * Revision 1.3 2004/06/01 06:45:30 reinelt * * some Fixme's processed * documented some code * * Revision 1.2 2004/03/03 03:47:04 reinelt * big patch from Martin Hejl: * - use qprintf() where appropriate * - save CPU cycles on gettimeofday() * - add quit() functions to free allocated memory * - fixed lots of memory leaks * * Revision 1.1 2004/01/13 08:18:20 reinelt * timer queues added * liblcd4linux deactivated turing transformation to new layout * */ #ifndef _TIMER_H_ #define _TIMER_H_ int timer_add(void (*callback) (void *data), void *data, const int interval, const int one_shot); int timer_process(struct timespec *delay); void timer_exit(); #endif