朴素的KDE……
- karron
- 帖子: 6226
- 注册时间: 2005-06-11 14:03
- 来自: 不明真相的群众
- 联系:
- mjxian
- 帖子: 233
- 注册时间: 2005-10-25 8:44
superkaramba...
主题是Liquid Weather++、sys_mon、calendercyn,在kde-look.org下载的。字体和显示文字是自己改过了的……
这里有一份superkaramba的手册:http://netdragon.sourceforge.net/ssensors.html
主题是Liquid Weather++、sys_mon、calendercyn,在kde-look.org下载的。字体和显示文字是自己改过了的……
这里有一份superkaramba的手册:http://netdragon.sourceforge.net/ssensors.html
- mjxian
- 帖子: 233
- 注册时间: 2005-10-25 8:44
贴个sys_mon.theme吧,自己改过的。 有兴趣也可以自己改……
sys_mon.theme:
calendercyn.theme
把上面的两个主题和附件都放在同一个目录。例如$HOME/.kde/share/apps/superkaramba/themes/brightcynapsis下面。解压img.tar.gz。然后用superkaramba加载这两个themes就行了。
用的字体是HandelGotD,也一起发上来了
sys_mon.theme:
代码: 全选
################################################################################
# ___ __ __ ___ __ _____ ____ __ ____
# /'___\/\ \/\ \ /' _ `\ /'__`\ /\ '__`\ /',__\ /'__`\ /',__\
# /\ \__/\ \ \_\ \/\ \/\ \/\ \L\.\_\ \ \L\ \/\__, `\/\ __//\__, `\
# \ \____\\/`____ \ \_\ \_\ \__/.\_\\ \ ,__/\/\____/\ \____\/\____/
# \/____/ `/___/> \/_/\/_/\/__/\/_/ \ \ \/ \/___/ \/____/\/___/
# /\___/ \ \_\
# \/__/ \/_/
################################################################################
#
# cynapses monitor by Andreas schneider <mail@cynapses.org>
# tweaked by Ranveer Kunal <ranveerkunal@gmail.com>
#
################################################################################
karamba x=0 y=0 w=500 h=300 locked=true interval=1000
################################################################################
# Background Image
################################################################################
image x=0 y=0 path="img/background.png"
################################################################################
# System Info
# DON'T FORGET TO CHANGE THE PATH FOR THE OSINFO.SH SCRIPT
################################################################################
<group> x=10 y=10
image x=0 y=10 path="img/icons/sysinfo.png"
text x=75 y=10 value="System Info" color=255,255,0 fontsize=18 font="handelgotd" shadow=1
clickarea x=0 y=0 w=64 h=64 onclick="kinfocenter"
text x=75 y=35 sensor=program program="echo ${USER}@`hostname`" line=1 color=0,255,0 fontsize=11 font="handelgotd" shadow=1
text x=75 y=40 sensor=program program="sh /path/to/osinfo.sh" line=1 color=109,248,10 fontsize=11 font="handelgotd" shadow=1
text x=75 y=48 value="Kernel" color=0,255,0 fontsize=11 font="handelgotd" shadow=1
text x=110 y=48 sensor=program program="uname -r" line=1 color=0,255,0 fontsize=11 font="handelgotd" shadow=1
text x=76 y=62 sensor=program program="kde-config --version | grep KDE" line=1 color=0,255,0 fontsize=11 font="handelgotd" shadow=1
text x=10 y=82 value="System Running :"color=0,255,255 fontsize=11 font="handelgotd" shadow=1
text x=100 y=82 sensor=uptime interval=1000 line=1 format="%d Days %H : %M : %S" color=0,255,255 fontsize=11 font="handelgotd" shadow=1
</group>
################################################################################
#image x=25 y=105 path="img/line.png"
################################################################################
################################################################################
# CPU
################################################################################
<group> x=10 y=115
image x=160 y=0 path="img/icons/cpu.png"
text x=25 y=7 value="CPU Load" color=255,255,0 fontsize=18 font="handelgotd" shadow=1
image x=20 y=30 path="img/cpugrid.png"
graph x=20 y=29 w=140 h=24 color=109,248,10 sensor=cpu
text x=20 y=58 sensor=program program="cat /proc/cpuinfo | grep 'model name' | sed -e 's/.*: //'" line=1 color=0,255,255 fontsize=11 shadow=1 font="handelgotd"
text x=165 y=9 sensor=CPU format="%v%" color=109,248,10 align=right fontsize=15 font="handelgotd" shadow=1
</group>
################################################################################
#image x=25 y=185 path="img/line.png"
################################################################################
################################################################################
# Memory
################################################################################
<group> x=10 y=205
image x=-0 y=15 path="img/icons/memory.png"
text x=75 y=0 value="Memory Load" color=255,255,0 fontsize=18 font="handelgotd" shadow=1
bar x=60 y=43 w=140 vertical=false path="img/bar.png" sensor=memory format="%um"
image x=60 y=43 path="img/backbar.png"
text x=60 y=25 value="Ram:" color=0,255,255 fontsize=11 font="handelgotd" shadow=1
text x=110 y=25 sensor=memory format="%um" color=109,248,10 fontsize=11 font="handelgotd" shadow=1
text x=206 y=39 sensor=program program="echo $( echo `expr \`cat /proc/meminfo | grep 'MemTotal' | awk '{print $2}'\` - \`cat /proc/meminfo | grep 'MemFree' | awk '{print $2}'\`` \* 100 / `cat /proc/meminfo | grep 'MemTotal' | awk '{print $2}'` | bc )'%'" align="right" interval=1000 line=1 color=109,248,10 fontsize=11 font="handelgotd" shadow=1
text x=140 y=25 sensor=memory format="of %tm Mb" color=109,248,10 fontsize=11 font="handelgotd" shadow=1
bar x=60 y=69 w=140 vertical=false path="img/bar.png" sensor=memory format="%us"
image x=60 y=69 path="img/backbar.png"
text x=110 y=52 sensor=memory format="%us" color=109,248,10 fontsize=11 font="handelgotd" shadow=1
text x=140 y=52 sensor=memory format="of %ts Mb" color=109,248,10 fontsize=11 font="handelgotd" shadow=1
text x=60 y=52 value="Swap:" color=0,255,255 fontsize=11 font="handelgotd" shadow=1
text x=200 y=40 sensor=program program="echo $( echo `expr \`cat /proc/meminfo | grep 'SwapTotal' | awk '{print $2}'\` - \`cat /proc/meminfo | grep
#Add the next line if no swapfile
#text x=182 y=65 value="Na" color=109,248,10 fontsize=11 font="handelgotd" shadow=1
#Comment out next line if no swapfile
text x=200 y=65 sensor=program program="echo $( echo `expr \`cat /proc/meminfo | grep 'SwapTotal' | awk '{print $2}'\` - \`cat /proc/meminfo | grep
'SwapFree' | awk '{print $2}'\`` \* 100 / `cat /proc/meminfo | grep 'SwapTotal' | awk '{print $2}'` | bc )'%'" align="right" interval=1000 color=109,248,10 fontsize="11" font="handelgotd" shadow=1
</group>
################################################################################
#image x=25 y=255 path="img/line.png"
################################################################################
################################################################################
# Disks
################################################################################
<group> x=250 y=10
image x=0 y=30 path="img/icons/disks.png"
text x=80 y=10 value="Disk Usage" color=255,255,0 fontsize=18 font="handelgotd" shadow=1
clickarea x=0 y=0 w=54 h=40 onclick="kdf"
text x=138 y=40 sensor=disk interval="10000" format="%u" align="right" color=109,248,10 fontsize=11 font="handelgotd" mountpoint="/" shadow=1
text x=140 y=40 sensor=disk interval="10000" format="of %t Mb" color=109,248,10 fontsize=11 font="handelgotd" shadow=1
mountpoint="/"
image x=60 y=57 path="img/backbar.png"
bar x=61 y=58 w=115 h=3 vertical=false path="img/bar.png" sensor=disk format="%u" align="left"
text x=206 y=53 sensor=disk format="%up%" color=109,248,10 shadow=1 font="handelgotd" mountpoint="/" align="right" fontsize=11
text x=60 y=40 value="Linux:" font="handelgotd" fontsize=11 color=0,255,255 shadow=1
text x=138 y=70 sensor=disk interval="10000" format="%u" align="right" color=109,248,10 fontsize=11 font="handelgotd" mountpoint="/root" shadow=1
text x=140 y=70 sensor=disk interval="10000" format="of %t Mb" color=109,248,10 fontsize=11 font="handelgotd" mountpoint="/root" shadow=1
image x=60 y=88 path="img/backbar.png"
bar x=61 y=89 w=115 h=3 vertical=false path="img/bar.png" sensor=disk format="%u" align="left" mountpoint="/root"
text x=206 y=84 sensor=disk format="%up%" color=109,248,10 shadow=1 font="handelgotd" mountpoint="/root" align="right" fontsize=11 shadow=1
text x=60 y=70 value="Home:" font="handelgotd" fontsize=11 shadow=1 color=0,255,255 shadow=1
#text x=14 y=55 value="/" color=109,248,10 fontsize=11 font="handelgotd"
#text x=64 y=55 sensor=DISK interval="10000" format="%u" color=109,248,10 fontsize=11 font="handelgotd" mountpoint="/"
#text x=110 y=55 sensor=DISK interval="10000" format="of %t Mb %up%" color=109,248,10 fontsize=11 font="handelgotd" mountpoint="/"
#text x=14 y=65 value="/home" color=109,248,10 fontsize=11 font="handelgotd"
#text x=64 y=65 sensor=DISK interval="10000" format="%u" color=109,248,10 fontsize=11 font="handelgotd" mountpoint="/home"
#text x=110 y=65 sensor=DISK interval="10000" format="of %t Mb %up%" color=109,248,10 fontsize=11 font="handelgotd" mountpoint="/home"
</group>
###############################################################################
#image x=25 y=325 path="img/line.png"
################################################################################
################################################################################
# Network
################################################################################
<group> x=250 y=150
image x=160 y=-20 PATH="img/icons/network.png"
text x=15 y=0 value="Network Load" color=255,255,0 fontsize=18 font="handelgotd" shadow=1
################################################################################
# Sensor network upload
# range is up to 100 kb. change 'max' value if needed.
image x=70 y=30 path="img/netgrid-up.png"
graph x=70 y=31 w=140 h=28 color=109,248,10 sensor=network format="%in" interval=1000 max=30
text x=30 y=32 sensor=network color=109,248,10 format="%in Kb" fontsize=11 font="handelgotd" decimals=1 shadow=1
text x=10 y=32 value="In:" color=0,255,255 fontsize=11 font="handelgotd" DECIMALS=1 shadow=1
################################################################################
# Sensor network upload
# range is up to 16 kb. change 'max' value if needed.
image x=70 y=70 path="img/netgrid-down.png"
graph x=70 y=71 w=140 h=28 color=67,148,230 sensor=network format="%out" interval=1000 max=20
text x=35 y=72 sensor=NETWORK color=109,248,10 format="%out Kb" fontsize=11 font="handelgotd" DECIMALS=1 shadow=1
text x=5 y=72 value="Out:" color=0,255,255 fontsize=11 font="handelgotd" DECIMALS=1 shadow=1
text x=60 y=44 sensor=program program="/sbin/ifconfig eth0 | grep 'RX byte' | awk '{print $3 $4}'"color=109,248,10 align=right fontsize=11 font="handelgotd" interval=1000 shadow=1
text x=40 y=84 sensor=program program="/sbin/ifconfig eth0 | grep 'RX byte' | awk '{print $7 $8}'" color=109,248,10 align=center fontsize=11 font="handelgotd" interval=1000 shadow=1
text x=10 y=115 value="IP:" color=0,255,255 fontsize=11 font="handelgotd" shadow=1
text x=30 y=115 sensor=program program="/sbin/ip addr show eth0 | grep 'inet ' | cut -d t -f2 | cut -d / -f1 | cut -b 2-" color=109,248,10 fontsize=10 font="handelgotd" shadow=1
</group>
################################################################################
#image x=25 y=450 path="img/line.png"
################################################################################
calendercyn.theme
代码: 全选
################################################################################
# ___ __ __ ___ __ _____ ____ __ ____
# /'___\/\ \/\ \ /' _ `\ /'__`\ /\ '__`\ /',__\ /'__`\ /',__\
# /\ \__/\ \ \_\ \/\ \/\ \/\ \L\.\_\ \ \L\ \/\__, `\/\ __//\__, `\
# \ \____\\/`____ \ \_\ \_\ \__/.\_\\ \ ,__/\/\____/\ \____\/\____/
# \/____/ `/___/> \/_/\/_/\/__/\/_/ \ \ \/ \/___/ \/____/\/___/
# /\___/ \ \_\
# \/__/ \/_/
################################################################################
#
# cynapses monitor by Andreas schneider <mail@cynapses.org>
#
################################################################################
karamba x=0 y=0 w=250 h=210 locked=true interval=1000
################################################################################
# Background Image
################################################################################
image x=0 y=0 path="img/background.png"
################################################################################
# System Info
# DON'T FORGET TO CHANGE THE PATH FOR THE OSINFO.SH SCRIPT
################################################################################
###############################################################################
# time/uptime/date
###############################################################################
<group> x=10 y=3 interval=1000
image x=140 y=5 path="img/icons/korganizer.png"
text x=40 y=10 value="Calender" color=255,255,0 fontsize=18 font="handelgotd" shadow=1
clickarea x=140 y=3 w=64 h=64 onclick="korganizer"
text x=164 y=50 sensor=time format="dddd" color=0,255,255 align="center" fontsize=12 font="handelgotd" shadow=1
text x=164 y=20 sensor=time format="dd" color=255,0,255 align="center" fontsize=18 font="handelgotd" shadow=1
text x=38 y=34 interval=1000 sensor=program program="date | awk '{print $5}'" color=109,248,10 fontsize=18 font="handelgotd" shadow=1
# text x=31 y=188 color=109,248,10 fontsize=13 font="handelgotd" value="uptime: " shadow=1
# text x=195 y=188 align="right" sensor=uptime format="%dd %Hh:%Mm" color=109,248,10 fontsize=13 font="handelgotd" shadow=1 align="center"
#month
text x=71 y=67 sensor=program program="date | awk '{print $1}'" shadow=1 interval=30000 fontsize=17 font="handelgotd" align="center" color=255,255,0
text x=125 y=67 sensor=program program="date | awk '{print $2}'" shadow=1 interval=30000 fontsize=17 font="handelgotd" align="center" color=255,255,0
text x=168 y=67 sensor=program program="date | awk '{print $3}'" shadow=1 interval=30000 fontsize=17 font="handelgotd" align="center" color=255,255,0
text x=32 y=85 sensor=program program="cal -m | grep -v 200 | cut -b -2" shadow=1 interval=30000 color=255,255,255 fontsize=13 font="handelgotd"
text x=57 y=85 sensor=program program="cal -m | grep -v 200 | cut -b 4-5" shadow=1 interval=30000 color=255,255,255 fontsize=13 font="handelgotd"
text x=82 y=85 sensor=program program="cal -m | grep -v 200 | cut -b 7-8" shadow=1 interval=30000 color=255,255,255 fontsize=13 font="handelgotd"
text x=107 y=85 sensor=program program="cal -m | grep -v 200 | cut -b 10-11" shadow=1 interval=30000 color=255,255,255 fontsize=13 font="handelgotd"
text x=132 y=85 sensor=program program="cal -m | grep -v 200 | cut -b 13-14" shadow=1 interval=30000 color=255,255,255 fontsize=13 font="handelgotd"
text x=157 y=85 sensor=program program="cal -m | grep -v 200| cut -b 16-17" shadow=1 interval=30000 color=0,255,255 fontsize=13 font="handelgotd"
text x=182 y=85 sensor=program program="cal -m | grep -v 200 | cut -b 19-20" shadow=1 interval=30000 color=0,255,255 fontsize=13 font="handelgotd"
<group>
用的字体是HandelGotD,也一起发上来了
- 附件
-
- HandelGotD.tar.gz
- (12.74 KiB) 已下载 50 次
-
- img.tar.gz
- (58.28 KiB) 已下载 53 次