As far as I know you cannot get the idle bar system stats to work with Linux
2.6 it has to do with the way the proc file system was changed.

Basically somebody will have to modify the plugins so they work with both
version of Linux.

Andrew




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of WS
Sent: Wednesday, April 07, 2004 7:01 AM
To: [EMAIL PROTECTED]
Subject: [Freevo-users] Linux 2.6 and idlebar.system.procstats

I run Debian testing (w/ linux 2.6.3), and installed freevo from the .debs.

*** In idlebar.system.procstats, function getMemUsage(self).

It caused Freevo to crash, as the meminfo format was not matching the 
format of /proc/meminfo with this kernel. The number is found in column 
1, and it is not in bytes, but in KB. Here is a fix, perhaps someone 
wants to incorporate it into Freevo:

# was       free = int(string.split(string.split(meminfo,'\n')[1])[3])
             free = int(string.split(string.split(meminfo,'\n')[1])[1])

# was   self.currentMem = _('%iM') % (((free)/1024)/1024)
         self.currentMem = _('%iM') % ((free)/1024)



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to