[lcd4linux @ 2000-04-03 06:53:09 by reinelt]

releasing 0.96
annoying X11 bugs hopefully fixed
KDE integration

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@35 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
reinelt
2000-04-03 06:53:09 +00:00
parent 7b287b3728
commit 48fd69bbdd
4 changed files with 86 additions and 0 deletions
+42
View File
@@ -0,0 +1,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!
+19
View File
@@ -0,0 +1,19 @@
Display X11
size 6x5
font 6x8
pixel 1+0
gap 1x0
border 2
foreground \#102000
halfground \#90c000
background \#a0d000
Row1 "$u5l1$u5cb$u5cs$u5dr+dw$u5nr+nw$u5ii+io"
Row2 ""
Row3 ""
Row4 ""
Row5 ""
Tick 100
Tack 400
Tau 500
+1
View File
@@ -23,6 +23,7 @@ foreground \#102000
halfground \#90c000
background \#a0d000
#Row1 "*** %o %v ***"
#Row2 "%p CPU %r MB RAM"
#Row3 "Busy %cb%% $r10cs+cb"
+24
View File
@@ -0,0 +1,24 @@
/* XPM */
static char *lcd4linux[] = {
"38 18 2 1",
"# c #102000",
". c #a0d000",
"......................................",
"......................................",
"..##............######....######......",
"..##............######....######......",
"..##..........##......##..##....##....",
"..##..........##......##..##....##....",
"..##..........##..........##......##..",
"..##..........##..........##......##..",
"..##..........##..........##......##..",
"..##..........##..........##......##..",
"..##..........##..........##......##..",
"..##..........##..........##......##..",
"..##..........##......##..##....##....",
"..##..........##......##..##....##....",
"..##########....######....######......",
"..##########....######....######......",
"......................................",
"......................................",
};