aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-04-03 06:53:09 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-04-03 06:53:09 +0000
commit48fd69bbdd3941bd87ee66c249554998145dbe9f (patch)
tree5bbfe8ff8ce16ef3f78358550e5b18fe323ee865
parent7b287b37280afaabd240f9bb250aa8ae0a722a61 (diff)
downloadlcd4linux-48fd69bbdd3941bd87ee66c249554998145dbe9f.tar.gz
[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
-rw-r--r--README.KDE42
-rw-r--r--lcd4kde.conf19
-rw-r--r--lcd4linux.conf.sample1
-rw-r--r--lcd4linux.xpm24
4 files changed, 86 insertions, 0 deletions
diff --git a/README.KDE b/README.KDE
new file mode 100644
index 0000000..a4cff7f
--- /dev/null
+++ b/README.KDE
@@ -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!
diff --git a/lcd4kde.conf b/lcd4kde.conf
new file mode 100644
index 0000000..d0f24c0
--- /dev/null
+++ b/lcd4kde.conf
@@ -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
diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample
index 271ca3a..2f37c77 100644
--- a/lcd4linux.conf.sample
+++ b/lcd4linux.conf.sample
@@ -23,6 +23,7 @@ foreground \#102000
halfground \#90c000
background \#a0d000
+
#Row1 "*** %o %v ***"
#Row2 "%p CPU %r MB RAM"
#Row3 "Busy %cb%% $r10cs+cb"
diff --git a/lcd4linux.xpm b/lcd4linux.xpm
new file mode 100644
index 0000000..f319ae7
--- /dev/null
+++ b/lcd4linux.xpm
@@ -0,0 +1,24 @@
+/* XPM */
+static char *lcd4linux[] = {
+"38 18 2 1",
+"# c #102000",
+". c #a0d000",
+"......................................",
+"......................................",
+"..##............######....######......",
+"..##............######....######......",
+"..##..........##......##..##....##....",
+"..##..........##......##..##....##....",
+"..##..........##..........##......##..",
+"..##..........##..........##......##..",
+"..##..........##..........##......##..",
+"..##..........##..........##......##..",
+"..##..........##..........##......##..",
+"..##..........##..........##......##..",
+"..##..........##......##..##....##....",
+"..##..........##......##..##....##....",
+"..##########....######....######......",
+"..##########....######....######......",
+"......................................",
+"......................................",
+};