]> git.webhop.me Git - lcd4linux.git/commitdiff
[lcd4linux @ 2000-04-03 06:53:09 by reinelt]
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 3 Apr 2000 06:53:09 +0000 (06:53 +0000)
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 3 Apr 2000 06:53:09 +0000 (06:53 +0000)
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

README.KDE [new file with mode: 0644]
lcd4kde.conf [new file with mode: 0644]
lcd4linux.conf.sample
lcd4linux.xpm [new file with mode: 0644]

diff --git a/README.KDE b/README.KDE
new file mode 100644 (file)
index 0000000..a4cff7f
--- /dev/null
@@ -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 (file)
index 0000000..d0f24c0
--- /dev/null
@@ -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
index 271ca3a0b11ec7e913e6b1aac1ab48fe7ef1930f..2f37c775b6ba6814aa901518cbad403cd3751774 100644 (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"
diff --git a/lcd4linux.xpm b/lcd4linux.xpm
new file mode 100644 (file)
index 0000000..f319ae7
--- /dev/null
@@ -0,0 +1,24 @@
+/* XPM */
+static char *lcd4linux[] = {
+"38 18 2 1",
+"# c #102000",
+". c #a0d000",
+"......................................",
+"......................................",
+"..##............######....######......",
+"..##............######....######......",
+"..##..........##......##..##....##....",
+"..##..........##......##..##....##....",
+"..##..........##..........##......##..",
+"..##..........##..........##......##..",
+"..##..........##..........##......##..",
+"..##..........##..........##......##..",
+"..##..........##..........##......##..",
+"..##..........##..........##......##..",
+"..##..........##......##..##....##....",
+"..##..........##......##..##....##....",
+"..##########....######....######......",
+"..##########....######....######......",
+"......................................",
+"......................................",
+};