Image 01
profile-image

ultra101

Michael nenene
systemtux

Karamba & Superkaramba by skullbooks 22 comments

Hey! I've added the xmms modul in the theme... heres the code

#################################################
# systemtux SuperKaramba Theme #
#################################################
# made by tux.code under gpl #
# i want to thank all the people, #
# which programmed the other nice #
# karamba scripts, from which I took #
# parts and which helped me to write #
# this script. #
#################################################

## general settings ##

karamba x=500 y=50 w=200 h=402 ontop=false locked=true interval=1000
defaultfont fontsize=10 color=0,0,0 font="nimbus sans l" shadow=0 bgcolor=100,100,100


## module_background ##
#image x=0 y=0 path="image/bg-tux.png"


## module_top ##
x=0 y=0 w=200 h=10
image x=0 y=0 path="image/bg-top.png"


## module_clock ##
x=0 y=10 w=200 h=32
image x=0 y=0 path="image/bg-module.png"

image x=20 y=0 path="image/clock.png"

# time
text x=60 y=3 align="left" value="time:"
text x=180 y=3 align="right" sensor=time format="hh:mm:ss" interval=1000

# date
text x=60 y=17 align="left" value="date:"
text x=180 y=17 align="right" sensor=time format="dd-MM-yyyy" interval=1000



## module_hr ##
x=0 y=42 w=200 h=10
image x=0 y=0 path="image/bg-hr.png"



## module_cpu ##
x=0 y=47 w=200 h=32
image x=0 y=0 path="image/bg-module.png"
image x=0 y=32 path="image/bg-module16.png"

text x=180 y=3 align="right" sensor=program program="echo `grep 'model name' /proc/cpuinfo| sed -n '/: /s/.............//p'`"

image x=20 y=14 path="image/cpu.png"

# cpu speed
text x=60 y=17 align="left" value="cpu speed:"
text x=180 y=17 align="right" sensor=program program="cat /proc/cpuinfo | grep 'cpu MHz' | sed -e 's/.*: //'| sed -e 's/\..../ MHz/'" interval=1000

# cpu load
text x=60 y=31 align="left" value="cpu load:"
bar x=110 y=32 w=70 h=11 path="image/bar.png" sensor=cpu format="%v" interval=1000
graph x=110 y=32 w=35 h=11 SENSOR=CPU POINTS=35 COLOR=80,80,160 INTERVAL=60000
text x=180 y=31 align="right" sensor=CPU format="%v %" interval=1000



## module_hr ##
x=0 y=95 w=200 h=10
image x=0 y=0 path="image/bg-hr.png"



## modul_memory ##
x=0 y=100 w=200 h=32
image x=0 y=0 path="image/bg-module.png"

image x=20 y=0 path="image/memory.png"

# ram
text x=60 y=3 align="left" value="ram:"
bar x=110 y=4 w=70 h=11 path="image/bar.png" sensor=memory format="%umb" interval=1000
text x=180 y=3 align="right" sensor=memory format="%umb / %tm MB" interval=1000

# swap
text x=60 y=17 align="left" value="swap:"
bar x=110 y=18 w=70 h=11 path="image/bar.png" sensor=memory format="%usb" interval=1000
text x=180 y=17 align="right" sensor=memory format="%usb / %ts MB" interval=1000



## module_hr ##
x=0 y=132 w=200 h=10
image x=0 y=0 path="image/bg-hr.png"



## module_eht0 ##
x=0 y=137 w=200 h=32
image x=0 y=0 path="image/bg-module.png"
image x=0 y=32 path="image/bg-module16.png"

image x=20 y=0 path="image/network.png"

# name
text x=60 y=3 align="left" value="name:"
text x=180 y=3 align="right" sensor=program program="uname -n"

# ip
text x=60 y=17 align="left" value="ip-eth1:"
text x=183 y=17 align="right" sensor=program program="/sbin/ifconfig ppp0 | grep 'inet addr' | sed -e 's/.*r://' | sed -e 's/ B.*//'"

# in&out
text x=60 y=31 align="left" sensor=network device="ppp0" format="in %in K/s" interval=1000 decimals=1
text x=120 y=31 align="left" sensor=network device="ppp0" format="out %out K/s" interval=1000 decimals=1



## module_hr ##
x=0 y=185 w=200 h=10
image x=0 y=0 path="image/bg-hr.png"



## module_harddiskdevice ##
x=0 y=190 w=200 h=80 interval=1000
image x=0 y=0 path="image/bg-module.png"
image x=0 y=32 path="image/bg-module.png"
image x=0 y=64 path="image/bg-module16.png"

image x=20 y=0 path="image/hdd.png"

# hdd root
text x=60 y=3 align="left" value="root" interval=1000
bar x=95 y=4 w=85 h=11 path="image/bar.png" sensor=disk mountpoint="/" interval=1000
text x=180 y=3 align="right" sensor=disk mountpoint="/" format="%u/%t MB"

# hdd home
text x=60 y=17 align="left" value="home" interval=1000
bar x=95 y=18 w=85 h=11 path="image/bar.png" sensor=disk mountpoint="/home" interval=1000
text x=180 y=17 align="right" sensor=disk mountpoint="/home" format="%u/%t MB"

# hdd files
text x=60 y=31 align="left" value="files" interval=1000
bar x=95 y=32 w=85 h=11 path="image/bar.png" sensor=disk mountpoint="/home/ultra101/Files" interval=1000
text x=180 y=31 align="right" sensor=disk mountpoint="/home/ultra101/Files" format="%u/%t MB" interval=1000

# hdd video
text x=60 y=45 align="left" value="video" interval=1000
bar x=95 y=46 w=85 h=11 path="image/bar.png" sensor=disk mountpoint="/home/ultra101/Video" interval=1000
text x=180 y=45 align="right" sensor=disk mountpoint="/home/ultra101/Video" format="%u/%t MB" interval=1000

# hdd winc
text x=60 y=59 align="left" value="winc" interval=1000
bar x=95 y=60 w=85 h=11 path="image/bar.png" sensor=disk mountpoint="/home/ultra101/winxp" format="%u" interval=1000
text x=180 y=59 align="right" sensor=disk mountpoint="/home/ultra101/winxp" format="%u/%t MB" interval=1000

# # hdd others
# text x=60 y=73 align="left" value="others" interval=1000
# bar x=95 y=74 w=85 h=11 path="image/bar.png" sensor=disk mountpoint="/mnt/others" interval=1000
# text x=180 y=73 align="right" sensor=disk mountpoint="/mnt/others" format="%u/%t MB" interval=1000




## module_hr ##
x=0 y=270 w=200 h=10
image x=0 y=0 path="image/bg-hr.png"



## module_kmail ##
# x=0 y=275 w=200 h=32
#image x=0 y=0 path="image/bg-module.png"
#
# image x=20 y=0 path="image/kmail.png"
#
# # check kmail
# text x=60 y=17 sensor=program program="dcop kmail default checkMail; sleep #5; echo 'You have ' | #tr -d '\n'; dcop kmail KMailIface getFolder /inbox > /dev/null; #dcop 'DCOPRef(kmail,FolderIface)' unreadMessages #| tr -d '\n'; echo ' new e-mails'" #interval=1000
#
#
#
## module_hr ##
# x=0 y=307 w=200 h=10
#image x=0 y=0 path="image/bg-hr.png"
#

## module_xmms ##
x=0 y=275 w=200 h=64
image x=0 y=0 path="image/bg-module.png"
image x=0 y=32 path="image/bg-module.png"
image x=0 y=64 path="image/bg-module16.png"


# XMMS Panel
image x=20 y=0 path="image/juk.png"
clickarea x=20 y=0 w=32 h=32 ONCLICK="xmms"

image x=60 y=5 path="image/player-start.png"
image x=86 y=5 path="image/player-stop.png"
image x=112 y=5 path="image/player-pause.png"
image x=138 y=5 path="image/player-play.png"
image x=164 y=5 path="image/player-end.png"

clickarea x=60 y=5 w=24 h=24 ONCLICK="xmms --rew"
clickarea x=86 y=5 w=24 h=24 ONCLICK="xmms --stop"
clickarea x=112 y=5 w=24 h=24 ONCLICK="xmms --play-pause"
clickarea x=138 y=5 w=24 h=24 ONCLICK="xmms --play"
clickarea x=164 y=5 w=24 h=24 ONCLICK="xmms --fwd"

# Currently playing
text x=60 y=40 w=108 h=14 sensor=xmms format="%title" interval=1000 align=left
bar x=60 y=55 h=10 w=47 max=47 sensor=xmms format="%ms" path="image/bar.png"
text x=60 y=65 format="REM: - %remain" sensor=xmms color=0,0,0


# XMMS Title
text x=20 y=40 align="left" value="XMMS" color=60,80,150




## module_hr ##
x=0 y=355 w=200 h=10
image x=0 y=0 path="image/bg-hr.png"



## module_system ##
x=0 y=360 w=200 h=32
image x=0 y=0 path="image/bg-module.png"

image x=20 y=0 path="image/system.png"

# systeminfo
text x=60 y=3 align="left" sensor=program program="uname -m -r"

# programinfo
text x=180 y=16 align="right" value="tux.code" color=80,80,80
clickarea x=140 y=20 w=40 h=10 onclick="konqueror http://www.tux.code.de.vu"



## module_bottom ##
x=0 y=392 w=200 h=10
image x=0 y=0 path="image/bg-bottom.png"


how can I scroll the title bar? - Feb 19 2005