Code Monkey home page Code Monkey logo

gnome-shell-system-monitor-applet's Introduction

GNOME Shell system monitor extension

Build Status

screenshot-small

screenshot-mid

screenshot-large

Installation

Prerequisites

This extension requires GNOME Shell v3.26 or later.

Before installing this extension, ensure you have the necessary system packages installed:

  • On Ubuntu:

    sudo apt install gir1.2-gtop-2.0 gir1.2-nm-1.0 gir1.2-clutter-1.0 gnome-system-monitor
    
  • On Debian:

    sudo apt install gir1.2-gtop-2.0 gir1.2-nm-1.0 gir1.2-clutter-1.0 gnome-system-monitor
    
  • On Fedora:

    sudo dnf install libgtop2-devel NetworkManager-libnm-devel gnome-system-monitor
    
  • On Arch Linux:

    sudo pacman -S libgtop networkmanager gnome-system-monitor clutter
    
  • On openSUSE (Leap 42.1):

    sudo zypper install gnome-shell-devel libgtop-devel libgtop-2_0-10 gnome-system-monitor
    
  • On Mageia 64-bit (just remove "64" on i586):

    sudo urpmi lib64gtop-gir2.0 lib64nm-gir1.0 lib64clutter-gir1.0 gnome-system-monitor
    

    or

    sudo dnf install lib64gtop-gir2.0 lib64nm-gir1.0 lib64clutter-gir1.0 gnome-system-monitor
    

Additionally, if you have an NVIDIA graphics card, and want to monitor its memory usage, you'll need to install nvidia-smi.

For the browser installation (recommended), you will need the GNOME Shell integration browser extension for Chrome, Firefox or Opera.

Note: If you're using Firefox 52 or later, you will also need to install chrome-gnome-shell. The instructions are available on the GNOME wiki.

Browser installation

It's recommended you install the extension via the Gnome Shell Extensions website.

Visit this extension's page on extensions.gnome.org, preferably in Firefox, and install by clicking the toggle button next to the extension's name.

If the install was successful, the toggle button should now show "ON". If it failed, ensure that you installed all the necessary dependencies, and that you granted the browser permission to install extensions when prompted. Additionally, rebooting gnome-shell may help (type Alt + F2 and input r in the prompt), but it won't work with Wayland.

Repository installation

  • Extension is in Fedora onwards (up to Fedora 33, last update) and Rawhide repositories, you can install it for all users with the following command:

    sudo dnf install gnome-shell-extension-system-monitor-applet
    
  • Enable it with gnome-tweak-tool or gnome-shell-extension-tool [email protected]

Manual installation

Download the ZIP/Tarball, extract the archive, open a shell into its directory, and run:

make install

Alternately, if you plan on doing development on the extension, or testing modifications, it's advised you checkout the Git repository and install a symlink. First, install git if you don't have it: (sudo apt-get install git-core, sudo pacman -S git, etc.), then run:

GIT_PROJECTS=~/git_projects
PROJECT_NAME=gnome-shell-system-monitor-applet
mkdir $GIT_PROJECTS
cd $GIT_PROJECTS
git clone git://github.com/paradoxxxzero/gnome-shell-system-monitor-applet.git $PROJECT_NAME
mkdir -p ~/.local/share/gnome-shell/extensions
cd ~/.local/share/gnome-shell/extensions
{ [ -d "./$PROJECT_NAME" ] || [ -L "./$PROJECT_NAME" ]; } && rm -Rf "./$PROJECT_NAME"
ln -s $GIT_PROJECTS/gnome-shell-system-monitor-applet/$PROJECT_NAME
gnome-shell-extension-tool --enable-extension=$PROJECT_NAME
gnome-extensions enable [email protected]

And reload GNOME Shell (Alt + F2, then r) or restart your GNOME session if you are using Wayland.

On openSUSE you need to install a devel package that provides the gnome-shell-extension-tool command:

sudo zypper install gnome-shell-devel

Development

Translation

If we do not have the translation for your language and you want to translate it by yourself, please make a fork, add your po/<YOUR_LANG>/system-monitor-applet.po file, and make a pull request.

Testing

Testing can be done on your native Linux environment using the install instructions above, or through Docker.

To build and run a Docker image:

./build-docker.sh
./run-docker.sh

To connect to the container's desktop through VNC:

./open-docker.sh

Once logged in, you'll still need to manually enable the extension by open the Gnome Tweaks tool.

Afterwards, when you're done testing, you can destroy the container with:

./close-docker.sh

Deployment

  1. To create a ZIP file with the specified version number, ready to upload to GNOME Shell Extensions or similar repository, run:

    make zip-file VERSION=

To determine the version number to use, check the extensions site and increment from the largest published version.

The specified version number is just for documentation and isn't strictly necessary in the uploaded file, since the extensions website will dynamically set this and override whatever we enter.

  1. Once uploaded, create a GitHub release with the same version number.

Authors

paradoxxxzero yuyichao darkxst and many contributors

License

Copyright (C) 2011 Florian Mounier aka paradoxxxzero

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

gnome-shell-system-monitor-applet's People

Contributors

boul51 avatar chrisspen avatar d97jro avatar darkxst avatar devdef avatar ecron avatar eonpatapon avatar esauloff avatar feanor12 avatar federico92 avatar franglais125 avatar kgarner7 avatar lipoja avatar magcius avatar marxin avatar mjkim0727 avatar nvieville avatar p91paul avatar paradoxxxzero avatar peci1 avatar piegamesde avatar pitdicker avatar prehensile avatar reinis avatar return42 avatar rschupp avatar shemgp avatar topodifogna avatar waldyrious avatar yuyichao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gnome-shell-system-monitor-applet's Issues

Nice and System cpu values are exchanged

Nice and System cpu values are exchanged

I corrected the problem changing the line:
cpu: ['user', 'system', 'nice', 'iowait', 'other'],
to
cpu: ['user', 'nice', 'system', 'iowait', 'other'],

I am using Fedora 15 64

Thank you for this applet, very good
I hope it goes to official repository soon
regards

Allow multiple thermal sensors (suggested patch included)

It would be nice to have more than one thermal sensor displayed. I fumbled around a little to have at least textual display working. I didn't figure out how to draw the graphs though, and the column structure of the pop-up info page eludes me.

diff --git a/[email protected]/extension.js b/[email protected]/extension.js
index 2fafa12..e792fb3 100644
--- a/[email protected]/extension.js
+++ b/[email protected]/extension.js
@@ -717,38 +717,57 @@ var init = function (metadata) {
         __proto__: ElementBase.prototype,
         elt: 'thermal',
         color_name: ['tz0'],
-        text_items: [new St.Label({ style_class: "sm-status-value"}),
-                     new St.Label({ text: 'C', style_class: "sm-unit-label"})],
-        menu_items: [new St.Label({ style_class: "sm-void"}),
+        unit: "\u00b0C",
+        _init: function() {
+            this.sensors = Schema.get_string(this.elt + '-sensor-file')
+                .split(":")
+                .map(function(sensor, i) {
+                        sensor = sensor.split("=", 2);
+                        if (sensor.length === 1) {
+                            sensor[1] = sensor[0];
+                            sensor[0] = i.toString();
+                        }
+                        return { key: sensor[0], value: sensor[1] };
+                    });
+            this.vals = this.sensors.map(function() { return -273.15; });
+
+            this.text_items = new Array(this.sensors.length * 3);
+            this.sensors.forEach(function(sensor, i) {
+                i *= 3;
+                this.text_items[i+0] = new St.Label({ text: sensor.key, style_class: "sm-status-label"});
+                this.text_items[i+1] = new St.Label({ style_class: "sm-small-status-value"});
+                this.text_items[i+2] = new St.Label({ text: this.unit, style_class: "sm-unit-label"});
+            }, this);
+
+            this.menu_item = new PopupMenu.PopupMenuItem(_("Thermal"), {reactive: false});
+            this.menu_items = [new St.Label({ style_class: "sm-void"}),
                      new St.Label({ style_class: "sm-void"}),
                      new St.Label({ style_class: "sm-void"}),
                      new St.Label({ style_class: "sm-value"}),
                      new St.Label({ style_class: "sm-void"}),
-                     new St.Label({ text: 'C', style_class: "sm-label"})],
-        _init: function() {
-            this.temperature = -273.15;
-            this.menu_item = new PopupMenu.PopupMenuItem(_("Thermal"), {reactive: false});
+                     new St.Label({ text: this.unit, style_class: "sm-label"})];
+
             ElementBase.prototype._init.call(this);
-            this.tip_format('C');
+            this.tip_format(this.unit);
             Schema.connect('changed::' + this.elt + '-sensor-file', Lang.bind(this, this.refresh));
             this.update();
         },
         refresh: function() {
-            let sfile = Schema.get_string(this.elt + '-sensor-file');
-            if(GLib.file_test(sfile,1<<4)){
-                //global.logError("reading sensor");
-                let t_str = Shell.get_file_contents_utf8_sync(sfile).split("\n")[0];
-                this.temperature = parseInt(t_str)/1000.0;
-            }            
-            else 
-                global.logError("error reading: " + sfile);
-           
-         
-
+            this.sensors.forEach(function(sfile, i) {
+                sfile = sfile.value;
+                if(GLib.file_test(sfile,1<<4)){
+                    //global.logError("reading sensor");
+                    this[i] = parseInt(Shell.get_file_contents_utf8_sync(sfile))/1000.0;
+                }
+                else
+                    global.logError("error reading: " + sfile);
+            }, this.vals);
         },
         _apply: function() {
-            this.text_items[0].text = this.menu_items[3].text = this.temperature.toString();
-            this.vals = [this.temperature];
+            this.vals.forEach(function(val, i) {
+                this[i*3+1].text = val.toString();
+            }, this.text_items);
+            this.menu_items[3].text = this.text_items[1].text;
             this.tip_vals[0] = Math.round(this.vals[0]);
         }
     };
diff --git a/[email protected]/stylesheet.css b/[email protected]/stylesheet.css
index 96af321..2a3939d 100644
--- a/[email protected]/stylesheet.css
+++ b/[email protected]/stylesheet.css
@@ -21,6 +21,11 @@
     padding: 0 5px 0 2px;
 }

+.sm-small-status-value {
+   padding-left: 0.25em;
+    text-align: right;
+}
+
 .sm-status-value {
     min-width: 25px;
     text-align: right;

There's no GUI to specify multiple sensor sources. One needs to configure them manually in org.gnome.shell.extensions.system-monitor.thermal-sensor-file. I. e. I'm using:

Core0=/sys/class/hwmon/hwmon0/device/temp2_input:Core1=/sys/class/hwmon/hwmon0/device/temp3_input:CPU=/sys/class/hwmon/hwmon1/device/temp1_input:Case=/sys/class/hwmon/hwmon1/device/temp2_input

The Numbers are not displaying on the Panel

Only icons coming on the panel. No Numbers and %. in the shell gnome-shell 3.0.1, A Fedora 15 Machine. Other extensions working perfect. Everything perfect in the dropdown menu.

Temp sensors

First of all: thanks dor this great extension!

I would like to show the temperature of the system, but unfortunatelly in the preferences I can only choose in the Thermal tab between /sys/class/hwmon/hwmon0/temp1_input and between /sys/devices/virtual/thermal/thermal_zone0/temp. Both of those is 0 on my sysstem, but e.g. thermal_zone1 would be fine.

Is there any way to modify this value or extend this dropdown menu?

Missing thermal sensors

On computers equipped with multiple thermal sensors [mainboard, CPU, GPU] only some show up, and it's unclear what is what. (I am on a DELL XPS M1710, and there is no way I can track the temperature of the faulty NVIDIA card that tends to fry the rest of the MoBo - with the standard gnome 2 applet I can do that, as well as with Conky).

Other than the bug: really useful extension! Thank you!

not working with 3.2.1

I can't get it working with 3.2.1, the gnome-shell that comes with Ubuntu 11.10.

lg says it's disabled. If I change the 3.2.0 in metadata.json to 3.2.1 it seems to try to start it but fails with the error:

Failed to evaluate init function:Error: Argument 'str' (type utf8) may not be null

I'm probably being dumb :-(

Defective network card bug

Hello (Bonjour),

Because of a buggy device/driver/OS/both/choose (Ethernet device ar8131
with no cable plugged-in on a Lenovo Ideapd u160) the net part of your
gnome-shell extension was displaying "astronomic" values, even with no
real network traffic on other interfaces (wlan, etc.). I added a new
condition to only process network devices that are "up". This seems to be
functional on Fedora 15 x86_64 (I'm using it right now), and seems to
give more realistic values.

The patch

--- extension.js.orig 2011-10-26 10:55:05.000000000 +0200
+++ extension.js 2011-10-27 12:08:09.657930910 +0200
@@ -562,8 +562,10 @@
let net_lines = Shell.get_file_contents_utf8_sync('/proc/net/dev').split("\n");
for(let i = 3; i < net_lines.length - 1 ; i++) {
let ifc = net_lines[i].replace(/^\s+/g, '').split(":")[0];

  •            if(ifc.indexOf("br") < 0 && ifc.indexOf("lo") < 0) {
    
  •                this.ifs.push(ifc);
    
  •            if(Shell.get_file_contents_utf8_sync('/sys/class/net/' + ifc + '/operstate').replace(/\s/g, "") == "up") {
    
  •                if(ifc.indexOf("br") < 0 && ifc.indexOf("lo") < 0) {
    
  •                    this.ifs.push(ifc);
    
  •                }
             }
         }
         this.gtop = new GTop.glibtop_netload();
    

    End of the patch

I hope these patch will be useful!

Any questions about this subject are welcome.

Cordially,

NVieville

Not working on Fedora 16

I had this working on Fedora 15, and I really appreciated it - it's a great addition to gnome 3. When I upgraded to Fedora 16 and did the same thing as I did to install it on Fedora 15, it didn't work (I followed the instructions in the readme, and I ran the install script, and tried a few other things). The extension apparently isn't recognized by the system, or something, because it doesn't even show up in gnome-tweak-tool.

I see other people have gotten this to work on Fedora 16, so I'm not sure what I did wrong. I installed the dependencies mentioned in ticket #69 and tried again, and that still didn't help.

Drop down box not working properly

First off thanks so much for this extension. I hope this issue has not been covered (I couldn't find something that worked in the other issues). I've just started using gnome shell and this was a feature I loved in gnome 2.x. I have mostly everything working but I am still struggling a bit with the system-monitor-applet-config.py (like many others it seems). I was able to get it to run yesterday somehow while playing around with different packages) but today I am getting the same "missing dependencies" message again. I am running Ubuntu 11.10 and have python-gobject-2, python3-gobject and gobject-introspection installed. Additionally the graphs in the applet are working great but when I click on the applet it brings up the drop down box and shows all the info but the cool circular graph doesn't show anything (just a fat grey semi-circle) and of course the preferences option doesn't work. Thanks so much again.

CSS not respected

Shell Monitor Applet extension doesn't respect the CSS no matter what I do. This seems to be an issue for other users as well. Here's a screenshot: http://i.imgur.com/NKCIH.png

I'm using the latest version from GIT (as of today).

Invalid value for thermal

Love the applet, one issue that I'm having is that one the drop-down, thermal is showing at -273.15C

Checking the Thermal tab on the configuration panel shows that I do not have an available sensor.

Is it possible to just remove the Thermal from the drop down if no available sensor?

Memleak

Someone reported some strange memory usage by gs and I must admit tonight gnome shell topped 1GB of ram.
I think there's a good chance it is caused by closures in timeouts.
I will investigate this when I have some time but any help will be very appreciated.

adjust text update frequency

Awesome extension: just what I've been missing from gnome-shell.

One for the wishlist: I find the text updates too often: once every few seconds would be less distracting.

Remove applet when disabling extension (patch included)

The following patch removes the system monitor applet from the gnome shell when disabling its extension.

diff --git a/[email protected]/extension.js b/[email protected]/extension.js
index 42e3acf..2fafa12 100644
--- a/[email protected]/extension.js
+++ b/[email protected]/extension.js
@@ -932,6 +932,6 @@ var enable = function () {
 };

 var disable = function () {
-    // TODO: DISABLE PROPERLY
     log("System monitor applet disable");
+    Main.__sm.tray.destroy()
 };

another problem with config

It says:

gnome-shell-system-monitor-applet-git$ system-monitor-applet-config Traceback (most recent call last): File "/usr/bin/system-monitor-applet-config", line 32, in <module> from gi.repository import Gtk, Gio, Gdk ImportError: No module named gi.repository

PKGBUILD / python 3 mixup

Hi,

Right now in Archlinux if you install it using yaourt gnome-shell-system-monitor-applet-git with the python (ie python 3) package installed, the settings window does not work. ~/.xsession-errors shows:

File "/usr/bin/system-monitor-applet-config", line 35
    print "Missing Dependencies, please install Python Gobject bindings from your distribution."
                                                                                           ^
SyntaxError: invalid syntax

I think one way to fix it could be:

  • Make it explicitly depend on python2 and python2-gobject instead of python-gobject in the PKGBUILD
  • Change the shebang of the Python script to #!/usr/bin/env python2

Great extension by the way :)
Cheers

Italian translation

I prepared the Italian (Italy) translation for the applet. Please find the file here:

https://gist.github.com/1295028

(thought that rather than sending the e-mail opening an issue would allow other contributors to know the translation has been done and eventually to modify it if they spot mistakes / have better ideas)

the monitor doesn't show

I installed it following your instructions but after restarting gnome shell the monitor doesn't appear.

I can open the configurator with:
/usr/local/bin/system-monitor-applet-config

but I'm getting this message:
Gtk-Message: Failed to load module "pk-gtk-module"

Is this why the monitor doesn't appear? How can I fix it?

Values in popup aren't updated

Hi there,

I've disabled all indicators in the "top bar" (don't know the exact name) - the only icon visible is the gnome-shell-monitor-icon.
If I click on this icon, a popup with all indicators comes up but the indicators' values are not updated (they stick at the same value all the time and the colored graph (I think it's cpu and ram) does not move).
Now what I realized: If i set a - let's say cpu - indicator to be shown in the top bar this value is also updated in the popup window.
This works for all indicators and is totally reproducible.

Another issue but less important: In the popup, network speed values are cut off after three digits (e.g.: 324 ...) howevertThere is more than enough space to show the complete value.

I am using the latest git version - checked out five minutes ago.

Thank you ;)

updated applet doesn't show up

I just did a git pull to:
5559f46
Date: Wed Aug 3 12:14:31 2011 +0200

from:
8bad4d0
Tue Jun 28 09:25:15 2011 +0200

and then I followed the install instructions. However, after an alt-f2: r, the applet disappeared from the top of the screen. It still isn't there after a reboot. I can launch the configurator, and it does remember my old settings.

I am using Fedora 15 64 bit. Please let me know if you need any more information to track this issue down. Thanks.

Not compatible with 3.0.2

I get this error when trying to load this extension:

Extension is not compatible with current GNOME Shell and/or GJS version.

I have gnome-shell 3.0.2 (Archlinux).

cannot start xserver now

I updated to Fedora 15 yesterday and tried your applet.
The first time I installed it and restarted gnome-shell, it didn't work at all.
When I tried the second time, the gnome-shell went wrong and I rebooted my computer.
Now I can't get into my desktop and it show

gnome-session: GLiB-GIO-ERROR:Setting schema 'org.gnome.SessionManager' is not installed

Even I deleted all the files creating during the installing, it is still the same.
Now I don't know how to fix this.

Versioned Tarball

Can you please provide a source tarball with a version number? This would make it easier for packager to integrate your applet into their distribution. Working with git checkout is possible but more fault-prone for the packager ;-)

Thanks in advance

Stylesheet isn't applied

Under Arch Linux, newest Gnome Shell (3.0.1) the applet's stylesheet isn't applied, the status labels just appear without any formatting.

CPU graph maxes at 50%

My laptop has 2 cpu cores and 4 threads. When both cores are running at 100%, the cpu graph displays 50% activity. I can tell this by looking at the Gnome System Monitor, which displays 2 maxed threads and 2 idle ones. Also, when only one core is 100% active, the graph displays about 25% activity.

It seems as if the cpu graph gets its value by averaging the activity of the 4 threads instead of the 2 cores. This could be rectified by averaging the 4 threads and multiplying by: 4 threads / 2 cores, or just adding the thread activity and dividing by the number of cores.

This is the content of /proc/stat :

cpu 122350 29 109821 4829096 31270 9035 2890 0 11124 0
cpu0 33917 9 32762 1187358 15124 4853 1906 0 5043 0
cpu1 37330 0 44840 1190475 1670 1622 317 0 1155 0
cpu2 29938 15 20746 1210956 12622 1400 400 0 4184 0
cpu3 21164 3 11471 1240305 1853 1159 266 0 739 0
intr 13359803 167 45843 0 0 0 0 0 0 1 40133 0 0 1330220 0 0 0 2338 0 0 0 0 0 0 159 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 100037 851735 0 476596 577 0 0 0 0 0 [...]
ctxt 13767781
btime 1312584221
processes 8276
procs_running 3
procs_blocked 0
softirq 4991413 6 3001914 16 778 80952 6 535965 574920 12412 784444

I'm not sure how System Monitor knows that there are 2 cores and 4 threads. If you need me to check anything out, please let me know.

gnome-shell crashes on Pluginload with GLib-GIO-ERROR

I always get the following error on Oneiric:
GLin-GIO-ERROR settings schema 'org.gnome.shell.extensions.system-monitor' does not contain a key named 'net-downerrors-color'

I tried the PPA and the GIT version. I copied the schema and ran glib-compile-schemas.

Possibly there is something left over from an earlier version?!

Add gir1.2-gtop-2.0 dependency to README

In Ubuntu Oneiric, the /usr/lib/girepository-1.0/GTop-2.0.typelib file is provided by gir1.2-gtop-2.0, which is not installed by default.

In the readme, it would help if you suggested Ubuntu users to:

apt-get install gir1.2-gtop-2.0

This might be related to #27

Thanks for an awesome utility! It makes Gnome3 almost bearable. :)

Label "mem" instead of "memory"

Could you do it?

"cpu" and net are "abbreviations", and they make sense, sparing some space... "memory" could be abbreviated as well, right?

Thanks,
André

(best extension for the shell out there, by the way!)

Bad file extension po files

Hi again,

Trying to build package and spec files for Fedora 16 from master branch including translation files aborted because of wrong extension in it_IT and pt_PT po files (.pot in place of .po). Renaming this files to .po corrects building package error.

Note: in gnome-3.0 branch (for Fedora 15) no problem with extensions.

Hope this help.

Cordially,

NVieville

System broken

Hi, I am using ubntu 11.10 with gnome-shell 3.2. I installed that from webup8 ppa, it didn't cause any error first. But their was an upgrade of the extension. After upgrading when I activated the extension with gnome tweak, everything was broken. The top bar was gone and everything was not functional. Then I logged out by pressing Ctrl+L and loggedin in unity. Then removing the extension gnome-shell was working again. Many of us faced the same issue. you can see it here. Hope that you'll fix the issue ASAP :)

CPU monitoring shows only one core load

hello!
thank you for this widget ; )

but I have some issue with CPU monitoring, it shows that it used at 100%, but actually only one core used at 100%.
This is a part from 'top':

Tasks: 188 total, 2 running, 186 sleeping, 0 stopped, 0 zombie
Cpu0 :100.0%us, 0.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 11.9%us, 0.2%sy, 0.0%ni, 87.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 4.7%us, 0.2%sy, 0.2%ni, 94.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 3.0%us, 0.2%sy, 0.0%ni, 96.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14787 xt 2 -10 75056 60m 7672 R 97 1.0 17:58.18 hlds_amd

As you see, hlds_amd process uses 100% of first core and widget shows that http://img171.imageshack.us/img171/4525/selection061.png

Centering System Monitor Applet

Centering System Monitor Applet

Hello,

I've used this extension on Arch since a while and some time ago this extension when setted to middle lived very well with the clock, the clock and system monitor extension equally distributed itself in center.
But, now with an update that I don't know if is pertinent to Gnome or to this extension, one or other takes exactly the center and push the other to the side.

See in pictures what I'm talking about:

Here we have the system monitor in the middle without any graphs and texts:

http://dl.dropbox.com/u/545144/SystemMonitorApplet/00_AppletMiddle.png

Here with graphs and texts:

http://dl.dropbox.com/u/545144/SystemMonitorApplet/01_AppletMiddle.png

Then, with center option disabled:

http://dl.dropbox.com/u/545144/SystemMonitorApplet/02_AppletMiddleDisabled.png

And, here is the way that it was before, with everything distributed:

http://dl.dropbox.com/u/545144/SystemMonitorApplet/03_AppletMiddleOld.png

Have a way to (me) put this back how it was!?

Thanks,
Gabriel.

GTop (any version) not found.

Hi,

I have been trying to get this to work for Fedora 15, however I am getting the following error:

error ... While loading extension from ... : Error: Requiring Gtop, version none: Typelib file for namespace 'GTop' (any version) not found.

I am certain that I have something missing from my system and I did try to install all GTop available in the fedora Repos, however I will still available to resolve this..

Do you think you can give me some advice?

Thank!

Meminfo read error (no swap)

Hi !

First, a big MERCI for this nice little thing !

I've been toying around to style it my way, and I've found that your extension logs an error whenever it finds no swap (swaptotal == 0). I believe this is to ensure it got things right before displaying them, but in the unlikely case where there's no swap partition, it will always be 0 (at least when the swap is empty).

The graph of the "cpu" only goes up the middle (vertically)

The graph of the "cpu" only goes up the middle (vertically)
I use my machine to render animations and it works at 100% of CPU all the time.
When it gets 100% the graph of cpu only goes to the middle and let the upper middle just in black.
i changed this line to correct this problem:
cr.lineTo(width - (this.data[i].length - 1 - j), (1 - this.data[i][j] / max) * height);
to
cr.lineTo(width - (this.data[i].length - 1 - j), (1 - this.data[i][j] / 1) * height);

Fedora 15 64, AMD 6 core (1090t x6)

very useful applet
thank you

Latest version not working

(c5d136c)

I install it in arch, (through the available PKGBUILD in aur, if you know what it is), and the extension does not show up. The gnome-tweak-tool shows the extension, but it is disabled, and cannot be enabled.

libgtop is installed

Doesn't work with 3.2

You still have to change the metadata file, of course, but I tried it and it didn't work. I don't have the time to see why, though.

Problem with system-monitor-applet-config

Hi,

I am the package maintainer in FW.
I'm running gnome-3.2 and now I launch system-monitor-applet-config (console or applet), I have this error message.

system-monitor-applet-config

Traceback (most recent call last):
File "/usr/bin/system-monitor-applet-config", line 280, in
main()
File "/usr/bin/system-monitor-applet-config", line 276, in main
App()
File "/usr/bin/system-monitor-applet-config", line 264, in init
self.settings[sections[0]].add(key)
File "/usr/bin/system-monitor-applet-config", line 205, in add
item.add(_(_slist))
File "/usr/lib/python2.7/gettext.py", line 566, in gettext
return dgettext(_current_domain, message)
File "/usr/lib/python2.7/gettext.py", line 533, in dgettext
return t.gettext(message)
File "/usr/lib/python2.7/gettext.py", line 345, in gettext
tmsg = self._catalog.get(message, missing)
TypeError: unhashable type: 'list'

Thank you for your response.

Memory leak when using gnome-shell-system-monitor-applet

Hi

I have been having increasing RAM usage issues when using gnome-shell. I have looked through all the bug reports at launchpad and also your postings at javascript-list gnome org.

I decided to disable all extensions and monitor RAM usage. RAM usage remains below 80 MB when gnome-shell-system-monitor-applet is disabled. Other extensions do not result in increased RAM usage.

Can you comment please?

Regards

Rayaz

RAM Graph misleading

I noticed that the graph showing the RAM usage was full, which I assumed meant that all my RAM was being used. However, clicking on the graph showed values of 34%, 1% and 12%. I would expect the visual graph to be half the available height, but instead it takes up the whole height.

Wrong parsing

output of my /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 388010 6796 0 0 0 0 0 0 388010 6796 0 0 0 0 0 0
p1p2: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
wlan%d: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ppp0: 565672638 604499 2 0 0 0 0 0 39042452 488836 0 0 0 0 0 0

your code ""if(ifc.indexOf("eth") >= 0 || ifc.indexOf("wlan") >= 0)""
your code don't parse this device name of ppp0 or another name differant like this 'eth,wlan'
thanks in advance

Net Speed

There is a possible problem in how you calculate the netspeed
If I take my /proc/net/dev for example

Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 34766 511 0 0 0 0 0 0 34766 511 0 0 0 0 0 0
eth0: 0 0 0 0 0 0 0 0 2003761 15228 0 0 0 0 0 0
eth1: 941964237 742170 0 0 0 0 0 0 85446394 694250 0 0 0 0 0 0
br0: 930504134 736397 0 0 0 0 0 0 85433180 694037 0 0 0 0 0 0

br0 is a bridge between eth0 and eth1
So the applet shows twice the real speed

cpu usage incorrect

My cpu usage graph is just sitting on 30% all the time with the latest version of your extension. This is regardless of what the actual systems cpu load is.

I am running gnome-shell 3.1.90

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.