WaterMark system information

Conky

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

4
Score 50.0%
Description:

This screenlet can display many system information and control some of them:

- CPU load
- multi CPU/core load
- list of more CPU consuming processes
- memory and swap load
- network usage (no configuration required)
- Wifi ESSID and signal quality (no configuration required)
- all temperature, fan and electric sensors (support lm_sensors, temperature from ACPI sensors, temperature from nvidia driver and nvclock, temperature and fan from ibm acpi, and hard drive temperature from hddtemp)
- hard disk usage
- Analog and digital clock
- Battery state and global capacity
- several system information like: local IP, external IP, uptime, login time, user name, host name, kernel version, KDE version, Gnome version, total disk space, total free disk space

The last version of this screenlet allows you to control system parameters (fan speed, GPU speed, etc...)

Design need to be improved, and new functionalities added.

I know I haven't provided any news or update, and haven't integrated patches for a very long time now. I'm really sorry for that. I will try to correct that as soon as possible.
Last changelog:

11 years ago

Look at screenshots to see changes in action.

v0.31:
- bug with head/tail display fixed
- new basic color theme, while wainting for new real theme

v0.30:
- bug with "CPU-meter for all cores" fixed

v0.29:
- Fan control is now System control, and allow to use this functionnality to control any hardware with custom scripts
- New System control script which shows how to control nvidia video card overclock
- One minor bug fixed
- in custom sensor, the ':' after the label has been removed and it'S possible to choose the icon to display
- new "howto.txt" file with custom sensors and system control examples.

v0.28:
- support for temperature provided by nvclock (users of Nvidia 8800 cards (G92), please look at: http://computersstoneage.blogspot.com/2008/06/asus-nvidia-8800-gt-gpu-temperature.html )
- problem with clock rendering fixed
- new fan control option which allows to change fan speed (please, read README file for more documentation)


v0.27:
-fixed a minor bug in Head/Tail title display

C

walloo13

11 years ago

It may be a possible issue with "system information". The option which displays IP address, kernel version, etc... If this option run, please try without it, or disable IP check to see if it fixes the problem

Report

C

walloo13

11 years ago

It may be a possible issue with "system information". The option which displays IP address, kernel version, etc... If this option run, please try without it, or disable IP check to see if it fixes the problem

Report

cowanh00

11 years ago

I've noticed a bug with this screenlet when showing the CPU meter for all cores. When I first select this it doesn't show anything. I have to select the CPU graph and then go back to the CPU meter for the all cores option to work.

Otherwise great screenlet!

Report

C

walloo13

11 years ago

I'm not able to reproduce this issue.

Report

pborman

11 years ago

In WaterMarkScreenlet.py, around line 1032 you need to change self.cpu_old_all_cpu_use.append(0)
to
self.cpu_old_all_cpu_graph_use.append(0)

Report

C

walloo13

11 years ago

This is fixed in v0.30.

Report

cowanh00

11 years ago

Yep this fixed my problem! Thanks for the reply after so long. It is also good to see development start again on this Screenlet!

Report

cowanh00

11 years ago

Yep this fixed my problem! Thanks for the reply after so long. It is also good development start again on this Screenlet!

Report

ketilwaa

11 years ago

Please add your stuff to launchpad. You can set up your own branch and have people get all your updates, and if you feel like it, you can add your stuff to 3rd party screenlets which will hopefully be set up as an install package. See https://code.launchpad.net/~3rd-party-screenlets-team/screenlets/3rd-party-screenlets

You can keep your stuff in a separate branch if you'd like, and then merge whenever you feel like it. I'll add you to the team if you choose to do this.
You can also keep your stuff in the main branch if that's more like your cup of tea.

Oh, and you can still keep the info here, and just keep itin synch with bzr.

Report

kpwalker

11 years ago

The wireless strength only seems to be be reporting the first part of the fraction of "link quality, indicating a smaller percentage of the actual link quality.
This occurs after switching to the latest version.
If I run "ipconfig ath0", I receive this:
ath0 IEEE 802.11g ESSID:"*****" Nickname:""
Mode:Managed Frequency:2.437 GHz Access Point: *****
Bit Rate:18 Mb/s Tx-Power:17 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=52/70 Signal level=-38 dBm Noise level=-90 dBm
Rx invalid nwid:17668 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

At this point, your applet gives me 52% signal strength, instead of 52/70, or 74%.

Report

udolf

11 years ago

this is cool
is there a way to display total downloaded/uploaded ?

Report

C

walloo13

11 years ago

At this time, there is not such functionality.

Report

udolf

11 years ago

how about changing font colour?

Report

TheRob

11 years ago

this looks very cool!

I haven't gotten it to work yet but judging
from your screenshot it looks great!

//Robert

Report

Whise

11 years ago

please move to the screenlets section

Report

someguydude

11 years ago

I can't seem to quit just one watermark. If I quit one, they all close. Then if I enable it, they all open again. I put one more on than I meant to, now I'm kinda stuck.

Report

C

walloo13

11 years ago

To remove only one, use "delete screenlet..." option. It will close only the selected screenlet, delete its configuration, and will not appear the next time you start the screenlet.

Report

shadowspires

11 years ago

You work too fast... ;-)
I started working on additional themes for your screenlet because I like it a lot. Now it is just a partial set since you've added so much, but I want to make it available for anyone that wanted something that stretches and isn't black and white.

The set I have which now needs to be extended is here:

http:/gallery.travisbailey.org/alternate.tar.gz

Report

C

walloo13

11 years ago

Changes on the theme are really minor.
You can probably use all your icons, and just resize one or two to fit with new functionalities.

Report

obiwankamote

11 years ago

I'd just like to know if someone encountered trying to run the screenlet while being behind a proxy? When I'm using it from home (no proxy) everything seems fine. I used the system info, cpu stat, mem stat, wireless stat, network stat and sensor (temp). But when I go to school where I'm behind a proxy, the screenlet doesnt work correctly.

Any suggestions on how to go about this? Thanks!

Report

C

walloo13

11 years ago

What doesn't work properly?
Maybe, if you display local IP and remote IP, it may create a problem, since WaterMark do not manage any proxy at this time.
Maybe, disabling these options may solve the problem.

Report

obiwankamote

11 years ago

I've made a small patch for Gnome or systems who have gconf installed. I use it to check for the http-proxy. If it's set then a proxy is applied.

Here's the patch

Quote:--- WaterMarkScreenlet.py 2008-01-24 20:04:41.000000000 +0800
+++ modified/WaterMarkScreenlet.py 2008-01-25 00:54:56.000000000 +0800
@@ -35,6 +35,7 @@
import os
import socket
import array
+import gconf

class WaterMarkScreenlet (screenlets.Screenlet):
"""A WaterMark System information for CPU, memory usage and temperatures"""
@@ -528,7 +529,11 @@
if(self.sysinfo_ext_ip_count >= 30):
self.sysinfo_ext_ip_count = 0
if(self.sysinfo_ext_ip_count == 0):
- webFile = urllib.urlopen('http://watermark.tuxfamily.org/ip.php')
+ client=gconf.client_get_default()
+ proxy=None
+ if client.get_bool('/system/http_proxy/use_http_proxy')==True:
+ proxy = {'http': 'http://'+client.get_string('/system/http_proxy/host')+':'+str(client.get_int('/system/http_proxy/port'))+'/'}
+ webFile = urllib.urlopen('http://watermark.tuxfamily.org/ip.php',proxies=proxy)
self.sysinfo_ext_ip_value = webFile.read()
webFile.close()
self.sysinfo_ext_ip_count = self.sysinfo_ext_ip_count+1

Report

denisnikulin

11 years ago

and now I have this:
======
$ screenlets-manager
Traceback (most recent call last):
File "/usr/local/share/screenlets-manager/screenlets-manager.py", line 23, in <module>
import screenlets
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 39, in <module>
from options import *
File "/usr/lib/python2.5/site-packages/screenlets/options.py", line 25, in <module>
import utils
File "/usr/lib/python2.5/site-packages/screenlets/utils.py", line 12, in <module>
import dbus
File "/var/lib/python-support/python2.5/dbus/__init__.py", line 96, in <module>
from dbus._dbus import Bus, SystemBus, SessionBus, StarterBus
File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 45, in <module>
from dbus.bus import BusConnection
File "/var/lib/python-support/python2.5/dbus/bus.py", line 43, in <module>
from dbus.connection import Connection
File "/var/lib/python-support/python2.5/dbus/connection.py", line 602
reply_message = self.send_message_with_reply_and_block(
^
IndentationError: unindent does not match any outer indentation level
========
can anyone help?

Report

C

walloo13

11 years ago

I'm sorry, but I really don't know where the problem come from.
Maybe it's a problem with screenlets installation, and not WaterMark.

Which version of screenlets do you use, and where did you found it?

Report

denisnikulin

11 years ago

when starting from /usr/share/screenlets/WaterMark it gives me an error and starting in about 3 minutes..
here errlog from terminal:
===========
$python WaterMarkScreenlet.py
CachingBackend: Loading instances from cache
CachingBackend: Loading <WaterMark1>
Error in screenlets.session.connect_daemon: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.ScreenletsDaemon was not provided by any .service files
Found a running session of WaterMark, adding new instance by service.
Adding new instance through: <Interface <ProxyObject wrapping <dbus._dbus.SessionBus (session) at 0xc94290> :1.14 /org/screenlets/WaterMark at 0xf06450> implementing 'org.screenlets.ScreenletService' at 0xf064d0>
ERROR:dbus.proxies:Introspect error on :1.14:/org/screenlets/WaterMark: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
File "WaterMarkScreenlet.py", line 2276, in <module>
screenlets.session.create_session(WaterMarkScreenlet)
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 445, in create_session
session.start()
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 222, in start
srvc.add('')
File "/var/lib/python-support/python2.5/dbus/proxies.py", line 63, in __call__
return self._proxy_method(*args, **keywords)
File "/var/lib/python-support/python2.5/dbus/proxies.py", line 135, in __call__
**keywords)
File "/var/lib/python-support/python2.5/dbus/connection.py", line 603, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
$
===============

Report

11 years ago

Look at screenshots to see changes in action.

v0.31:
- bug with head/tail display fixed
- new basic color theme, while wainting for new real theme

v0.30:
- bug with "CPU-meter for all cores" fixed

v0.29:
- Fan control is now System control, and allow to use this functionnality to control any hardware with custom scripts
- New System control script which shows how to control nvidia video card overclock
- One minor bug fixed
- in custom sensor, the ':' after the label has been removed and it'S possible to choose the icon to display
- new "howto.txt" file with custom sensors and system control examples.

v0.28:
- support for temperature provided by nvclock (users of Nvidia 8800 cards (G92), please look at: http://computersstoneage.blogspot.com/2008/06/asus-nvidia-8800-gt-gpu-temperature.html )
- problem with clock rendering fixed
- new fan control option which allows to change fan speed (please, read README file for more documentation)


v0.27:
-fixed a minor bug in Head/Tail title display

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
0.31
updated Jun 26 2008
added Dec 17 2007
downloads today
1
page views today 10