elvetemedve / gnome-shell-extension-system-monitor

Gnome Shell extension for displaying resource usage
GNU General Public License v3.0
87 stars 15 forks source link

Doesn't work on Ubuntu 17.04 #30

Closed adaliszk closed 7 years ago

adaliszk commented 7 years ago

So on my pc it's working and I wanted to add this extension to my laptop as well. Both system are up to date and has the same packages, both has ruby install on it (because I use sometime to my developments). In the syslog I couldn't find any usefull information why it's broken:

dbus-daemon[1933]: Activating service name='org.gnome.ChromeGnomeShell'
dbus-daemon[1933]: Successfully activated service 'org.gnome.ChromeGnomeShell'
gnome-shell[17470]: restack success
gnome-shell[17470]: message repeated 3 times: [ restack success]
gnome-shell[17470]: restack success
gnome-shell[17470]: restack success
gnome-shell[17470]: restack success
gnome-shell[17470]: restack success
org.gnome.Shell.desktop[17470]: Archive:  /tmp/OSYBZY.shell-extension.zip
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/indicator.js
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/prefs_keys.js
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/util.js
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/helpers/promise.js
org.gnome.Shell.desktop[17470]:    creating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/icons/
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/stylesheet.css
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/schemas/gschemas.compiled
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/prefs.js
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/helpers/file.js
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/convenience.js
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/icons/hicolor/scalable/devices/memory-symbolic.svg
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/icons/hicolor/scalable/devices/cpu-symbolic.svg
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/extension.js
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/widget.js
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/file.js
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/meter.js
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/view.js
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/schemas/org.gnome.shell.extensions.system-monitor.gschema.xml
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/factory.js
org.gnome.Shell.desktop[17470]:   inflating: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/helpers/README.md
org.gnome.Shell.desktop[17470]:  extracting: /home/adamos42/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/metadata.json
gnome-software-service.desktop[17633]: 06:27:13:0388 Gs  no app for changed System_Monitor@bghome.gmail.com
gnome-shell[17470]: restack success

Some version numbers:

adaliszk@adaliszk-laptop:~$: uname -a
Linux adaliszk-laptop 4.10.0-20-generic #22-Ubuntu SMP Thu Apr 20 09:22:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

adaliszk@adaliszk-laptop:~$: cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.04
DISTRIB_CODENAME=zesty
DISTRIB_DESCRIPTION="Ubuntu 17.04"

adaliszk@adaliszk-laptop:~$: gnome-shell --version
GNOME Shell 3.24.1

adaliszk@adaliszk-laptop:~$: ruby -v
ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu]

adaliszk@adaliszk-laptop:~$: gem -v
2.5.2

adaliszk@adaliszk-laptop:~$: gem list --local | grep rake
rake (12.0.0, 10.5.0)
elvetemedve commented 7 years ago

Hi @adaliszk,

Have you checked that Libgtop is installed? See https://github.com/elvetemedve/gnome-shell-extension-system-monitor/wiki/Installation

Also press Alt + F2 and type lg as a command. Select the Extensions tab in the opened window and finally click on the Show Errors label in the System Monitor row.

adaliszk commented 7 years ago

@elvetemedve Ah, I had a missing package, could you put a link to the wiki section into the README.md too? I totaly forgott to check the existance of the Wiki and I'am sure that I'am not alone :smile:

elvetemedve commented 7 years ago

@adaliszk Good point. I will add it.

peschu123 commented 6 years ago

Just in case someone reads this like me...

I had the same issue on Ubuntu 18.04: DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"

When I use the command suggested in the wiki


Debian GNU/Linux, Ubuntu GNU/Linux and derivatives: sudo apt install gir1.2-gtop-2.0 libgtop2-dev


I get an Error:

The following packages have unmet dependencies: libgtop2-dev : Depends: libgtop-2.0-11 (= 2.38.0-2) but 2.38.0-2ubuntu0.18.04.1 is to be installed E: Unable to correct problems, you have held broken packages.

Solution:

Just do the command without libgtop2-dev:

sudo apt install gir1.2-gtop-2.0

Thanks for this great shell extension & keep up the good work! ;-)