aboutsummaryrefslogtreecommitdiffstats
path: root/lcd4linux.conf.sample
blob: 62c0a626bfe135f7569ca76c376f5dd420c73df5 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
#Display LCD2041
#Port /dev/ttyS2
#Speed 19200
#Contrast 160

Display HD44780
#Port 0x378
Port /dev/parports/1
Size 24x2
#Delay 503

#Display BLC100x
#Port /dev/ttyS2
#Type 20x4

#Display USBLCD
#Port /dev/usb/usblcd
#Size 20x4

#Display PalmPilot
#Port /dev/ttyS2
#Speed 4800
#size 20x4
#font 6x8
#pixel 1+0
#gap 0x0
#border 2

#Display PPM
#size 20x4
#font 5x8
#pixel 3+0
#gap -1x-1
#border 10
#foreground \#102000
#halfground \#70c000
#background \#80d000

#Display PNG
#size 20x4
#font 5x8
#pixel 2+0
#gap -1x-1
#border 5
#foreground \#102000
#halfground \#70c000
#background \#80d000

#Display X11
#size 20x5
#font 5x8
#pixel 1+0
#gap -1x-1
#border 1
#foreground \#102000
#halfground \#90c000
#background \#a0d000

#Display Text
#size 40x8
#TextBar 1

#Display SIN
#Port /dev/tty9

Row1 "Busy %cb%% $r14cs+cb"
Row2 "Load%l1%L$r14l1"

#Row1 "*** %o %v ***"
#Row2 "%p CPU  %r MB RAM"
#Row3 "Busy %cb%% $r10cs+cb"
#Row4 "Load%l1%L$r10l1"

# e(x)ecute command in %x*
# Row5 %x1
# Row6 %x2
# x1 tail -1 /var/log/messages
# x2 echo $X1 | cut -b25-
# Note: PATH=/usr/local/bin:/usr/bin:/bin
# Note: $X1 .. $X8 is the text of lines x1 .. x8
#
# Tick_x1 10  # every 10 ticks
# Delay_x1 2  # every 2 seconds
# Max_x1 50 # max for scaling bars (default 100), value SHOULD be numeric ;-)
# Min_x1 10 # min (default 0), SHOULD be != Max_x1

#Row1 "Load%l1%L$r10cs+cb"
#Row2 "Disk%dm $R10dr+dw"
#Row3 "Net %nm $R10nr+nw"
#Row4 "ISDN%im $r10ii+io"
#Row4 "DSL %tm $r10ti+to"
#Row5 "Temp%s2�$r10s1+s2"

#Row1 "$u3l1$u3cb$u3cs $u3mu$u3ma$u3ms $u3dr$u3dw $u3nr$u3nw $u3ii$u3io"
#Row2 " "
#Row3 " "
#Row4 "CPU MEM IO IP"

Tick 100
Tack 400
Tau 500

Overload 2.0

# flash bp-Bar if below Battwarning
# I use Row6 "Bat%bp%bs%bd$r10bp+bp"
# which gives a nice flash effect
# default is 10

Battwarning 10

SetiDir /etc/setiathome

# normal local mbox
# Mailbox1 /var/spool/mail/michi

# POP3 mail @ machine
# Mailbox2 pop3:user:pass@machine

# IMAP4 mail folder @ machine
# Mailbox3 imap4:user:pass@machine/folder

# News server on 'server' group at.linux
# Mailbox4 nntp:server/at.linux

# Full syntax of pop3/imap4/nntp is:
# [user[:pass]@]machine[:port][/dir]
#
# display total/unseen mails/news of Mailbox3
# Row6 "Mails %e3/%u3"

# delay query of MailboxN in seconds (default = 5)
Delay_e1 5
Delay_e2 20
Delay_e3 20
Delay_e4 120

Sensor1 /proc/sys/dev/sensors/as99127f-i2c-0-2d/temp1
Sensor1_min 30
Sensor1_max 50

Sensor2 /proc/sys/dev/sensors/as99127f-i2c-0-2d/temp2
Sensor2_min 30
Sensor2_max 50

Sensor3 /proc/sys/dev/sensors/as99127f-i2c-0-2d/temp3
Sensor3_min 30
Sensor3_max 50