Announcement

Collapse
No announcement yet.

Need help with superkaramba

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need help with superkaramba

    Hello everyone,

    I have made two widgets for superkaramba, but when I left them on overnight, KDE crashed.
    Might be something related to interval, or the functions I use. If someone can give me a hint, I'll be happy

    This one Shows What is being played in Amarok
    Code:
    karamba x=300 y=210 w=410 h=130 interval=5000 locked=false
    defaultfont color=255,255,255 fontsize=10 font="HandelGotDLig" shadow=0 bgcolor=0,0,0
    
    # Background
    image x=0 y=0 path="./image/a2bg.png"
    
    # Amarok
    image x=0 y=0 sensor=program program="dcop amarok player coverImage" interval=5000
    
    text x=132 y=0 sensor=program program="dcop amarok player artist" color=238,246,255 fontsize=15 font="LucidaMacBold" shadow=2 bgcolor=33,33,33 interval=5000
    text x=136 y=15 sensor=program program="dcop amarok player title" color=238,246,180 fontsize=15 font="LucidaMacBold" shadow=3 bgcolor=33,33,33 interval=5000
    text x=132 y=30 sensor=program program="dcop amarok player album" color=238,246,255 fontsize=15 font="LucidaMacBold" shadow=2 bgcolor=33,33,33 interval=5000
    clickarea x=0 y=0 w=120 h=120 onclick="dcop amarok player next" preview=false
    This one shows HDD and Memory usage
    Code:
    karamba x=100 y=210 w=410 h=120 interval=1000 locked=false
    defaultfont color=255,255,255 fontsize=8 font="Courier New" shadow=0 bgcolor=0,0,0
    
    # Background
    image x=0 y=0 path="./image/a2bg.png"
    
    #RAM
    image x=1 y=1 w=201 h=8 path="image/frame.png"
    bar x=2 y=3 path="image/bar.png" sensor=memory format="%um" interval=10000
    bar x=2 y=3 path="image/bar2.png" sensor=memory format="%umb" interval=1000
    text x=20 y=4 value="Ram"
    text x=100 y=4 sensor=memory format="%umb / %um / %tm Mb"
    
    
    
    #Swap
    image x=1 y=16 w=201 h=8 path="image/frame.png"
    bar x=2 y=17 path="image/bar.png" sensor=memory format="%us" interval=100000000000000000
    text x=20 y=19 value="Swap"
    text x=100 y=19 sensor=memory format="%us / %ts Mb"
    
    
    
    #HD System Root
    image x=1 y=41 w=201 h=8 path="image/frame.png"
    bar  x=2 y=42 path="image/bar.png" sensor=disk mountpoint="/" interval=100000000000000000
    text x=20 y=43 value="/"
    text x=100 y=43 sensor=disk format="%u / %t Mb" mountpoint="/"
    
    
    
    #HD usr 
    
    image x=1 y=56 w=201 h=8 path="image/frame.png"
    bar  x=2 y=57 path="image/bar.png" sensor=disk mountpoint="/usr" interval=100000000000000000 
    text x=20 y=58 value="/usr" 
    text x=100 y=58 sensor=disk format="%u / %t Mb" mountpoint="/usr" 
    
    
    
    #HD Home
    image x=1 y=71 w=201 h=8 path="image/frame.png"
    bar  x=2 y=72 path="image/bar.png" sensor=disk mountpoint="/home" interval=100000000000000000 
    text x=20 y=73 value="/home" 
    text x=100 y=73 sensor=disk format="%u / %t Mb" mountpoint="/home" 
    
    
    #HD Shared disk
    image x=1 y=86 w=201 h=8 path="image/frame.png"
    bar  x=2 y=87 path="image/bar.png" sensor=disk mountpoint="/media/sdb1" interval=100000000000000000 
    text x=20 y=88 value="/media/sdb1"
    text x=100 y=88 sensor=disk format="%u / %t Mb" mountpoint="/media/sdb1" 
    
    
    #HD Shared Video
    image x=1 y=101 w=201 h=8 path="image/frame.png"
    bar  x=2 y=102 path="image/bar.png" sensor=disk mountpoint="/media/sda1" interval=100000000000000000 
    text x=20 y=103 value="Video" 
    text x=100 y=103 sensor=disk format="%u / %t Mb" mountpoint="/media/sda1"
    Oh, BTW my PC is:
    Intel Pentium 4 Dual core 2.6 GHz
    1024 MB RAM
    nvidia GeForce 7600
    2.6.18.8 kernel
    Join the dark side<br />---------------------------------------------------------------------<br />Samsung NC10 netbook running<br />PCLinuxOS 2010 // Win XP

    #2
    Re: Need help with superkaramba

    What does the following command reveal:
    Code:
    ls -l /var/crash
    Asus G1S-X3:
    Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

    Comment


      #3
      Re: Need help with superkaramba

      Code:
      ls: /var/crash: No such file or directory
      Join the dark side<br />---------------------------------------------------------------------<br />Samsung NC10 netbook running<br />PCLinuxOS 2010 // Win XP

      Comment

      Working...
      X