Warning: session_start(): open(/tmp/sess_lq6jf7jhvq8ht33iceu34m3a37, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
Boinc Monitor openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (3) .- Knowledge Base  . 

Boinc Monitor

   3.0  

Plasmoid Script

Score 69%
Boinc Monitor
zoom


Boinc Monitor
zoom


Boinc Monitor
zoom


Downloads:  687
Submitted:  Oct 10 2012
Updated:  Dec 7 2014

Description:

Boinc Monitor is a plasmoid written in python that allows you to monitor the activities of BOINC directly on your desktop. The applet shows the progress work of each workunit with reference to the project, to the name, to the percentage of the work done and to the time elapsed and remained. Also shows the number of workunits in pending, in cache and finished, and the last few lines of the BOINC log.

OPTIONS:
BOINC RPC host - The host of BOINC RPC gui. Default: 127.0.0.1
BOINC RPC port - The port number of BOINC RPC gui. Default: 31416
BOINC RPC password - The password of BOINC RPC gui. Default: Empty (Normally it needs for suspend/resume actions)
Preferred project - Your favorite project to display (name, credits, team). Default: None.
Update interval - The refresh interval of the plasmoid. Default: 1 minute.
Log lines number - The number of the log lines to display. Default: 5 lines.
Cut log line after - The number of characters after which the line of the log is cut. Default: 100 chars.
Show only active tasks - Hide new and finished tasks from the list. Default: False.

ICONS LEGEND:
R = Running - [Can be suspended]
S = Suspended - [Can be resumed]
N = New - [Can be suspended]
W = Waiting To Run - [Can be suspended]
F = Finished (Ready To Report) - [No Action]
A = Aborted (Ready To Report) - [No Action]
P = Opens window to show properties of the task

IMPORTANT:
For a perfect view of the plasmoid the system must have the "Verdana" font installed.

AVAILABLE LANGUAGES:
English
Italian
German (thanks to Thomas Gorzka)
Spanish (thanks to Joaquín Ferrero)
Russian (thanks to Sergey Basalaev)

FOR TRANSLATORS:
If you want translate Boinc Monitor in your language, edit boinc-monitor.pot in docs folder, add the translation in msgstr "" or use Poedit and send me the file to email at m4x1m[at]inwind.it

CREDITS:
BOINC logo - http://boinc.berkeley.edu
Cubic icons - Uncredited
Alphabet icons by Supratim Nayak - http://www.iconarchive.com/show/multipurpose-alphabet-icons-by-hydrattz.html
Play/Stop icons by Oxygen Team - http://www.iconarchive.com/show/oxygen-icons-by-oxygen-icons.org.html
Update/Abort icons by VisualPharm - http://www.iconarchive.com/show/must-have-icons-by-visualpharm.html

-

That's all!

If you like this plasmoid please leave a comment!




Changelog:

v3.0:
- Added a redundant control to prevent plasma crash when user starts or stops boinc.

v2.9:
- Added new icon for abort state.

v2.8:
- Fixed a bug related to the abort command in the task properties.

v2.7:
- Improved spanish translation.

v2.6:
- Added Russian translation (Thanks to Sergey Basalaev for this translation and some hints).
- Improved language localization management.
- Fixed some unicode strings errors.

v2.5:
- Keep enabled the host and port settings also if the connection was already established for allow users to have multiple instances of the plasmoid.
- Improved checks for protected remote connection.
- Improved spanish translation.

v2.4:
- Changed the method to get if BOINC is running, for more compatibility with the various distributions. If the client name for the your distributions is different from boinc or boinc_client, please notify me, so I will provide to add.

v2.3:
- Added option to hide the New/Finished tasks from the list.
- Added buttons in the properties of the projects for receive update, suspend/resume, fetch/not fetch more works for the current project.
- The urls in the properties of the projects are now clickable for opens website.
- Added buttons in the properties of the task for suspend/resume and abort the current task.
- The names of the tasks that are longer than 40 characters will be reduced with a [...] in the middle.
- Removed the unused help button in the dialogs and added the help hints for the configuration options.
- Optimized code and the graphics views.
- Fixed some others bugs.

v2.2:
- Added window dialog for projects properties.
- Fixed some others bugs.

v2.1:
- Completely rewritten. Now the plasmoid uses RPC gui. See the README.txt file (Thanks to Joaquín Ferrero for his support and suggestions).

v2.0:
- Auto Expand "Elapsed" field to print a result that show more than 24 hours.

v1.9:
- Added option to set timeout wait after a suspend/resume call (a too low value might not give time to PC to remove/create the process ids).
- Show more informations when resuming a workunit.
- Fixed minor bugs.

v1.8:
- Added the ability to suspend/resume process.
- Fixed an issue at the initialization of the script.
- Fixed minor bugs.

v1.7:
- Added multilanguage locale.
- Added an extra check to the file boinc-monitor in /etc/sudoers.d/

v1.6:
- Added a second command to check if BOINC is running (this is a workaround for systemd, thanks to Thomas Gorzka).
- Fixed minor bugs.

v1.5:
- No more write the options in a an external file, but use the internal system of plasma for read/write the configuration.

v1.4:
- Perfected the method of recognition of the BOINC user.
- Fixed minor bugs.
- Fixed minor graphics bugs.

v1.3:
- Fixed issue related at initialize of plasmoid for not packaging version of BOINC.
- Fixed issue related the choose of preferred project.
- Fixed minor bugs introduced with the previously version.

v1.2:
- Fixed bug related the preferred project chosen that no longer exists.
- Fixed little bug if the user choose a project that is not in any team.
- Added more controls to prevent errors.

v1.1:
- Changed the way to get the slot used by process (see README.txt in docs folder).
- Added PID column to the working list.
- Fixed minor graphics bugs.

v1.0:
- First script release.




LicenseGPL
Source(boinc-monitor-3.0.plasmoid)
Source(boinc-monitor-3.0.plasmoid (GoogleDrive))
Send to a friend
Subscribe
Other  Content  from m4x1m
Report inappropriate content



goto page: prev   1  2 

-
.

 help

 
 by gorzka on: Nov 21 2012
 
Score 50%

Ich krieg noch ne Macke.

You can write me under Skype to gorzkathomas


Reply to this

-

 hello

 
 by gorzka on: Jan 11 2013
 
Score 50%

you bring out a new version without me ;-)


Reply to this

-
.

 Re: hello

 
 by m4x1m on: Jan 12 2013
 
Score 50%

Eh eh, is a little graphic change, nothing important


Reply to this

-
.

 Patch to make it work on Gentoo / OpenRC

 
 by H00K on: Feb 23 2013
 
Score 50%

Below is a diff to make it work on Gentoo (or any other OpenRC-based distro).

*** .kde4/share/apps/plasma/plasmoids/boinc-monitor/contents/code/main_old.py 2013-02-23 21:40:29.147592362 +0100
--- .kde4/share/apps/plasma/plasmoids/boinc-monitor/contents/code/main.py 2013-02-23 21:41:34.437722422 +0100
*************** if os.popen("which boinc").read().find("
*** 26,31 ****
--- 26,32 ----
coreClientRuns = False
if coreClientInstalled == True:
if os.popen("/etc/init.d/boinc-client status 2>/dev/null").read().find("running") != -1: coreClientRuns = True
+ elif os.popen("/etc/init.d/boinc status 2>/dev/null").read().find("started") != -1: coreClientRuns = True
elif os.popen("systemctl status boinc 2>/dev/null").read().find("running") != -1: coreClientRuns = True

class BoundCaller(plasmascript.Applet):


Reply to this

-
.

 Re: Patch to make it work on Gentoo / OpenRC

 
 by m4x1m on: Feb 24 2013
 
Score 50%

Thanks! But perhaps to prevent recurrence of the problem for other distributions, I think it would be better to do it this way:

coreClientRuns = False
if coreClientInstalled == True:
+ if os.popen("pidof boinc") != "": coreClientRuns = True
- if os.popen("/etc/init.d/boinc-client status 2>/dev/null").read().find("running") != -1: coreClientRuns = True
- elif os.popen("systemctl status boinc 2>/dev/null").read().find("running") != -1: coreClientRuns = True

class BoundCaller(plasmascript.Applet):

If works for you I'll make this change in next release!


Reply to this

-

 pidof

 
 by H00K on: Feb 24 2013
 
Score 50%

In my case the BOINC bin is called "boinc_client", so the `pidof boinc` if statement returns False.

But the general idea of testing the existance of a running instance with pidof IMHO sounds like a surer test, yes :)


Reply to this

-
.

 Re: pidof

 
 by m4x1m on: Feb 24 2013
 
Score 50%

Are you sure?

Because, to check if BOINC is installed, the script call "which boinc" not "which boinc_client".


Reply to this

-

 /etc/conf.d/boinc on Gentoo

 
 by H00K on: Feb 26 2013
 
Score 50%

I’m quite sure, yes.

`cat /etc/conf.d/boinc` produces:

# Config file for /etc/init.d/boinc
[…]
# Location of the boinc command line binary
BOINCBIN="/usr/bin/boinc_client"


Reply to this

-
.

 Re: /etc/conf.d/boinc on Gentoo

 
 by m4x1m on: Feb 26 2013
 
Score 50%

Ok. Then I'll add two "pidof" condition. But I don't understand why the first condition (check if BOINC is installed) is true in your system "which boinc". Sorry is just to understand!


Reply to this

-

 boinc vs boinc_client

 
 by H00K on: Feb 26 2013
 
Score 50%

To be honest, I don’t get it either — I have both boinc and boinc_client in /usr/bin and what’s even more interesting, both are part of the package, have the same timestamp and are identical binaries to each other.

I’ve taken a quick glance at the ebuild and patches and I don’t see why there is need for such duplication.

If there is no other distro using it this way, I can file a bug in Gentoo.



-
.

 Re: boinc vs boinc_client Fresh

 
 by m4x1m on: Feb 26 2013
 
Score 50%

@H00K

If you manage to get news about this, will you do me a big favor, in the meantime, I'll add an elif as workaround!


Reply to this

-
.

 Fails in Ubuntu 12.10

 
 by sbasalaev on: Apr 12 2013
 
Score 50%

Hello. Applet looks great! However on my Ubuntu 12.10 it fails to start with the following trace:

Traceback (most recent call last):
File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 75, in init
self.pyapplet.init()
File "/home/sbasalaev/.kde/share/apps/plasma/plasmoids/boinc-monitor/contents/code/main.py", line 113, in init
self.settings["projects"] = str(gc.readEntry("projects", i18n("None")).toString())
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)


Reply to this

-

 Re: Fails in Ubuntu 12.10

 
 by m4x1m on: Apr 13 2013
 
Score 50%

It's strange. There aren't ascii chars in this line.

self.settings["projects"] = str(gc.readEntry("projects", i18n("None")).toString())

Could you change this line with this below and test for me?

self.settings["projects"] = str(gc.readEntry("projects", i18n("None")).toString().toUtf8())

Thanks!


Reply to this

-

 Re: Fails in Ubuntu 12.10

 
 by m4x1m on: Apr 13 2013
 
Score 50%

Sorry, I forgot!

The lines are in position 113 and 800.


Reply to this

-
.

 Re: Re: Fails in Ubuntu 12.10

 
 by sbasalaev on: Apr 13 2013
 
Score 50%

Changed lines and now it is working, thanks!


Reply to this

goto page: prev   1  2 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team