Re: 'hacking' some of XFCE goodies

Łukasz Hejnak <[email protected]>
Newsgroups gmane.comp.desktop.xfce.goodies.devel
Message-ID <[email protected]>
Hi again :]
Ok, just to finish the cpugraph-szifted panel-crashing issue
As I saw 'some' interest in my modification of cpugraph,
I decided to finally learn some more on C and finish the crashing
As reading trough I found out about the system() function ;]
So now I use that instead of the funny 'script' system
And as system() waits for the runned process to finish up, it won't give 
the cpugraph any more reasons to crash also..

The only issue now, is that as it waits for the system() to finish up, 
the whole panel freezes for a nano-second (when top works)..
I think only a alternate system of getting the data would solve this one
but I don't have time to go into this right now, maybe in the future.

So all it depends on now is a /tmp dir writable to the user, and the 
/usr/bin/top program installed.
The updated version is already available at the standard location:
http://szift.org/xfce/xfce4-cpugraph-plugin-szifted.tar.bz2

Have fun :]
Should there anything other wrong happen, please let me know.

-- 
Best wishes
Łukasz Hejnak
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.