Seti_Sys_4_karamba

Karamba & Superkaramba

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

This theme lets the user monitor on-line INFO about:
-Seti running analysis(seti_4.0.0.theme)

-User system's resources(sys_info.theme)

You can also add a nice bottom bar to your desktop (bottom-bar.theme)

To install the themes, follow exactly the steps described in README file.

*******************
Very Special Thanks
*******************
To LAMBERTO & CYBERGIO for their precious help in projecting and realizing Seti theme !

Thanks
-to Garliac and HermanR for advices about improving Sys_Info theme.
-to DeadLove75 for useful discussion about Seti theme

**********************************
Cybergio & Marco
Last changelog:

15 years ago

version 2.0
- Really new look and more infos for SETI theme
- SYS_INFO theme improved

version 3.0
- New CONFIGURATION WIZARD for Seti@home theme! Much more easier to install!

version 3.0.1
- Little configuration bug fixed!

version 3.1.0
- Added link to a missing library to run configuration wizard.

version 4.0.0
- Configuration wizard eliminated because of big problems with Qt lybraries.

version 4.0.1
- Added nice icons for signal monitor when over 10 signals are found

C

brunoldi

14 years ago

Hi everybody.After lot of people got problems with configuration wizard and lybraries included in different Linux distributions, I've just updated my theme 'Seti_Sys_4_Karamba' to rel 4.0.0. I eliminated config wizard.Now you have to edit only one line in the C source prog and compile it. IT'S VERY IMPORTANT THAT YOU FOLLOW VERY CAREFULLY THE INSTRUCTIONS INCLUDED IN 'README' FILE.
I look forward to receive news about your success in making my theme work on your linux boxes.
Thanks for your nice posts!
ByeZ Marco

Report

torstenson

14 years ago

Hi, this theme looks great, I got it running after I fired up superkaramba in the Seti_Sys_4_karamba-folder.

I didn't get a setup screen (how do i get it?), and the fonts looks a little pale on my desktop since my desktop has light blue colours.

I'm using Gentoo 2005.1 + superkaramba 0.36 + setiathome-3.08-r4.

Please continue develop this theme, eyecandy like this makes linux desktops look nice.

Thanks!

Report

uteck

14 years ago

I thought this was for Boinc, sorry my fault. But is the old Seti@home still running? Boinc has been fairly stable now, perhaps porting it to use boinc could be arranged?

Report

FuManchu

14 years ago

I can't configure it. There's no configure option available in the menu I tried installing the nas rpm but it conflicts with another package - libnas. I'm running Mandrake 10.1.

Any ideas?

Report

C

brunoldi

14 years ago

I'd really like to know if you like this theme. I haven't receiving any comment since I last updated it!
So, please add comments (good or bad!) and advices!
Byez
Marco

Report

catmandu

14 years ago

There's absolutely zero information in any file you provide on how to get this to work or even what it is supposed to do. Anyone doing seti@home knows what they are doing but your program, whatever it is, just doesn't say nor does it do anything. It appears to just sit there with nothing happening.

Review of the themes file indicates you have some directory pointing to a program such as 'test/......" but we can only guess where test is and we can only guess what the program should be and what it does as well.

Maybe you might want to clarify how to actually get it done because simply adding the theme, as it is described exactly in your instructions says absolutely nothing about a 3rd party program, period.

Report

C

brunoldi

14 years ago

Hi,I'm pretty conscious that my theme is not explained in its details,but this way I wanted to make it more simple.
Karamba script 'seti_4.0.0.theme' calls, by command 'sensor=program', a C program (seti_4.0.0_Linux) which reads Seti files and gives as output informations visualized graphically by the theme.
The problem is that C program needs the path to users' Seti dir to be able to read Seti infos, so it has to be edited and compiled. With configuration wizard, my intent was make this more simple, but I realized that this caused big problems with lybraries present in each distribution. So,with rel 4.0.0 I decided to go back to previous setting, where you have to edit only one line in the C program, compile it and run karamba theme. Everything is explained in details in README file.
Hope you'll be able to run my theme very soon!
ByeZ MaRcO

Report

rodviking

15 years ago

I followed the README instructions but my theme was showing not data, so I executed seti_2.0_Linux and got the following:

$ ./seti_2.0_Linux
38.9
0
60
12
12
Segmentation fault

Any ideas?

I'm looking forward to have this theme running, looks great.

Report

C

brunoldi

15 years ago

Hi!From description you made in your post, I suppose you're running the theme from the wrong dir!Let's go ahead point by point:
1)you don't have to run executable file 'seti_2.0_Linux' from shell. The theme does it automatically when it's running.
Segmentation Fault error appears because program can't find correct path to I/O files.
2)If I understand well,you have succesfully followed steps 1,2 and 3 of README file, that means you descended in 'test' subdir,modified I/O file paths and compiled 'seti_2.0.c' program without errors!
3)Now you're still in dir 'test' and you have to go back to dir 'seti_sys_4_karamba' simply typing ''cd ..'' , run karamba from HERE (dir 'seti_sys_4_karamba') and select 'seti_2.0.theme' from dialog box
(steps 4 and 5 README file)

If the problem persists,show me a copy of your shell-history (the commands you typed) and/or the lines of the source program seti_2.0.c you modified!

Let me know if everything was Ok,I'd be very happy if you saw my theme working on your PC!

ByeZ
Marco

Report

rodviking

15 years ago

Ok, so it seems that I get no result if I start karamba from the miniCli. If I open a console, go to the theme folder, run karamba and open the theme, it works.

Trouble is, then I have to keep the console open, right? If I close the console, the theme also closes. I am new to Linux, so maybe I'm doing something stupid...is there a way to close the console but keep the theme running, as if it were a separate process?

Report

rodviking

15 years ago

Nevermind, I fixed it.

I just edited the seti_2.0.theme file, and replace all the relative paths (such as PATH="pics/..." and PATH="test/") with the absolute path for my machine, for example
PATH="/home/rodrigo/seti_sys_4_karamba/pics/..."

Not very beautiful, but it works for me :)

Thanks for the help!

Report

C

brunoldi

15 years ago

Hi!Really happy to hear the theme is running correctly on your PC!
Certainly you did the right thing modifying PATH variables in seti_2.0.theme file.
I did not put this tip in README file in order not to make things more difficult!
As long as your question about keeping a theme (or a generic process)running after closing console:
1) type the command (i.e. $karamba)
2) CTRL+z (suspend the job)
3) $bg (makes job running in background)
After this you can close the shell and the process will keep on running in background! If you want to kill it, open a shell, type $top, and kill the interested process by using its PID (see man kill)
ByeZ
Marco

Report

gladiac

15 years ago

x=10 y=10
image x=0 y=4 PATH="img/sysinfo.png"
text x=40 y=5 value="System Info" color=0,0,0 fontsize=14 font="verdana"
text x=40 y=30 sensor=program program="echo ${USER}@`hostname`" line=1 color=0,0,0 fontsize=10 font="verdana"
text x=40 y=50 sensor=program program="sh /home/gladiac/.superkaramba/seti_sys_4_karamba/scripts/osinfo.sh" line=1 color=0,0,0 fontsize=10 font="verdana"
text x=40 y=70 value="Kernel" color=0,0,0 fontsize=10 font="verdana"
text x=75 y=70 sensor=program program="uname -r" line=1 color=0,0,0 fontsize=10 font="verdana"
text x=40 y=90 sensor=program program="kde-config --version | grep KDE" line=1 color=0,0,0 fontsize=10 font="verdana"


---------

osinfo script

#!/bin/sh

DISTRO="Unknown Distro"
test -r "/etc/slackware-version" && DISTRO=`cat /etc/slackware-version`
test -r "/etc/debian_version" && DISTRO=`cat /etc/debian_version`
test -r "/etc/libranet_version" && DISTRO=`cat /etc/libranet_version`
test -r "/etc/redhat-release" && DISTRO=`cat /etc/redhat-release`
test -r "/etc/SuSE-release" && DISTRO=`cat /etc/SuSE-release`
test -r "/etc/mandrake-release" && DISTRO=`cat /etc/mandrake-release`
test -r "/etc/gentoo-release" && DISTRO=`cat /etc/gentoo-release`
test -r "/etc/turbolinux-release" && DISTRO=`cat /etc/turbolinux-release`

echo "$DISTRO"

Report

deadlove75

15 years ago

Hell-o,

I can't seem to get this to work.

My seti folder is in a another folder (programs). I changed the char paths to reflect that.

Am I also to change the part that says your_home_dir?

I also get a warning about AprilFile.

Also, I noticed that the theme was pointed at a file called seti.test in the subfolder test. I don't have a seti.test.


Blessed Be,

Jason Hodges

Report

C

brunoldi

15 years ago

Hi,
lets try with an example.
Suppose your 'state.sah' file has the following path:
'/usr/programs/setiathome-3.08.i686-pc-linux-gnu/state.sah'

you have to replace line:
charpath_read_state[MAXPATH]="your_home_dir"
"/setiathome-3.08.i686-pc-linux-gnu"
"/state.sah"

with

char path_read_state[MAXPATH]= "/usr/programs/"
"/setiathome-3.08.i686-pc-linux-gnu"
"/state.sah"

I divided path file in 3 lines to make source C program better readable.
In C language you can type a string in 2 equivalent ways:
1) "/home/marco/seti"
2) "/home"
"/marco"
"/seti"
Second way is only to cut a line that i s too long!
So, you have just to replace the 'example path' i put in the prog, with the complete path of your .sah files
Do it for the 3 .sah files (state.sah,outfile.sah,work_unit.sah)!
---------------------------------------
Don't worry about the warning!Go ahead!
---------------------------------------
File 'seti.test' in the 'test' subfolder is automatically generated by C prog when you start 'karamba'!
--------------------------------------
Hope I was sufficiently clear!Please, let me know if you were able to run the theme correctly!
Bye
Marco

Report

deadlove75

15 years ago

Hell-o,

Thanks. I made the changes. I also had to change the path_write to the full path.

I ran seti_1.0_Lunix and was able to get results without a segment fault.

However, I can not get the theme to work now. I open it up and nothing happens. But I can get results when I run seti_1.0_Lunix from a command line. Is there anything I might need to change in the theme file?

Blessed Be,

Jason Hodges

Report

C

brunoldi

15 years ago

I forgot to tell you one thing: DON'T change path_write variable! The program writes 'seti.test' file in the subfolder 'test' starting from the one in which 'seti_1.0.theme' lies.
That means:
'seti_1.0.theme' lies in directory 'seti_sys_4_karamba'
whereas
'seti.test' is written in directory 'test' which is a subfolder of 'seti_sys_4_karamba'.
ByeZ
Marco

Report

C

brunoldi

15 years ago

Hi Jason,
I'm really happy to year you got the theme work! I reply to you from here because no i found no link 'reply to this' below your last message!
If you give a look to 'seti_1.0.theme', you'll find a lot of PATH="..." variables.
These paths are correct only if you run karamba from the theme dir. For example: PATH="test/seti.test" supposes you are in the theme directory where a 'test' subdir exists! If you run karamba from another dir, the script won't find 'test' subdir and won't give an ouput!
In order to fit the theme to your preferences, you have to change paths in 'seti_1.0.theme' script and also the path_write variable in 'seti_1.0.c'!
I'm gonna try Mandrake 10.0 too (i've 9.2 now!)
Bye
Marco

Report

deadlove75

15 years ago

Hell-o,

Thanks a lot. I'm going to go tinker.

Good luck with Mandrake 10. I'm enjoying the heck out of it. Though, I'm having an odd mouse problem right now. Sometimes when I'm downloading something, the mouse goes all erratic. I'm sure if I tinker with the mouse setting enough this will go away.


Blessed Be,

Jason Hodges

Report

C

brunoldi

15 years ago

Hi Jason.
What do you mean with 'I open the theme up and nothing happens'? Can you see the titles of the theme (Packet Analysis,Packet Info,and so on..) but not numerical values? If that is your problem, probably you ran 'karamba' from the wrong directory.Check README file again (step 4)!
After compiling C prog, you are in 'test' subfolder.Next step (step 4), go back to directory 'seti_sys_4_karamba' and run 'karamba'.
Don't change anything in the 'seti_1.0.theme' file!The theme file automatically run seti_1.0_Linux!
Let me know if everything is OK,now!
Bye Marco

Report

deadlove75

15 years ago

Hell-o,

I open the theme with karamba and see text and pics but no data, no numerical values.

How do I run karamba from the directory? Does it matter that I'm using superkaramba? I run that from /usr/local/kde/bin/superkaramba.


Blessed Be,

Jason Hodges

Report

C

brunoldi

15 years ago

Hi Jason,
i think you're next to solve the problem and make the theme work!

1) I'm not sure my theme works correctly with superKaramba. I wrote it for Karamba. My advice is: run the theme with Karamba, not SuperKaramba. If you dont'have Karamba, download it, and install it! Let's suppose you have installed 'Karamba' with the same path as 'superKaramba':
/usr/local/kde/bin/karamba

2) To run karamba :descend into directory 'seti_sys_4_karamba' (the one you obtain
when you untar the file 'seti_sys_4_karamba.tar.gz') and type /usr/local/kde/bin/karamba from here!
Then select the theme.

I'm pretty sure the theme will run correctly!
Please, let me know the results...I strongly want you to see my theme work!

Bye
Marco

Report

deadlove75

15 years ago

Hell-o,

Okay, I ran superkaramba from inside the theme directory and it works now. Thanks.

Why/how does it make a difference which directory I run superkaramba from? My other themes work just fine when I run superkaramba from my menu and then load their theme files.

Sorry for being away for the last few days. I've been upgrading to Mandrake 10, which is almost twice as fast as Mandrake 9.2!

Superkaramba, believe it or not, did not work well on Mandrake 10. I had to change something in it's source code and recompile to keep it from always staying on top of everything.


Blessed Be,

Jason Hodges

Report

HermanR

15 years ago

I noticed that you entered some of your system info as clear text. Why not use the 'program'-sensor for this? Then you will never have to edit this again.

My theme, e.g., has:

text x=0 y=0 sensor=program program="whoami" fontsize=12
text x=0 y=16 sensor=program program="uname -o" fontsize=12
text x=0 y=32 sensor=program program="uname -r" fontsize=12
text x=0 y=48 sensor=program program="X -version 2>&1 | grep 'XFree86 Version'" fontsize=12
text x=0 y=64 sensor=program program="kde-config --version | grep Qt" fontsize=12
text x=0 y=80 sensor=program program="kde-config --version | grep KDE" fontsize=12

I'm sure this can be finetuned somewhat further.

Report

C

brunoldi

15 years ago

Hi Herman,
thanks a lot for your tip! I'm gonna use it for updated version i'm going to up-load in a few days!

ByeZ
Cybergio

Report

15 years ago

version 2.0
- Really new look and more infos for SETI theme
- SYS_INFO theme improved

version 3.0
- New CONFIGURATION WIZARD for Seti@home theme! Much more easier to install!

version 3.0.1
- Little configuration bug fixed!

version 3.1.0
- Added link to a missing library to run configuration wizard.

version 4.0.0
- Configuration wizard eliminated because of big problems with Qt lybraries.

version 4.0.1
- Added nice icons for signal monitor when over 10 signals are found

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
4.0.1
updated Jun 09 2005
added Mar 09 2004
downloads today
0
page views today 1