mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
[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:
+42
@@ -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!
|
||||
@@ -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
|
||||
@@ -23,6 +23,7 @@ foreground \#102000
|
||||
halfground \#90c000
|
||||
background \#a0d000
|
||||
|
||||
|
||||
#Row1 "*** %o %v ***"
|
||||
#Row2 "%p CPU %r MB RAM"
|
||||
#Row3 "Busy %cb%% $r10cs+cb"
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
/* XPM */
|
||||
static char *lcd4linux[] = {
|
||||
"38 18 2 1",
|
||||
"# c #102000",
|
||||
". c #a0d000",
|
||||
"......................................",
|
||||
"......................................",
|
||||
"..##............######....######......",
|
||||
"..##............######....######......",
|
||||
"..##..........##......##..##....##....",
|
||||
"..##..........##......##..##....##....",
|
||||
"..##..........##..........##......##..",
|
||||
"..##..........##..........##......##..",
|
||||
"..##..........##..........##......##..",
|
||||
"..##..........##..........##......##..",
|
||||
"..##..........##..........##......##..",
|
||||
"..##..........##..........##......##..",
|
||||
"..##..........##......##..##....##....",
|
||||
"..##..........##......##..##....##....",
|
||||
"..##########....######....######......",
|
||||
"..##########....######....######......",
|
||||
"......................................",
|
||||
"......................................",
|
||||
};
|
||||
Reference in New Issue
Block a user