9

I'm rather glad of the upgrade from 16.04 to 18.04 (desktop).
However there are a few things I find annoying,

Among them is indicator-multiload

indicator-multiload is an invaluable app, graphically showing activity for CPU, memory, network, disk... Looking like that (top bar) in 16.04
enter image description here

Unfortunately it doesn't work (well) in 18.04.

How can I get indicator-multiload to work in 18.04?

4

Ubuntu 18.04 now use GNONE Shell instead of the Unity desktop like probably you already know. They are different desktops, but in general there are not limitations to use the same feature of Ubuntu 16.04 with Unity in Ubuntu 18.04 with GNOME Shell.

The same thing can be more easy or more hard to do in one or in the another desktop. This things you want, can be integrate better or worse with the rest of the shell to look like more or less pretty, or will work with worse or better performace, but finally it can be implemented in both desktops environments. A different history will not be true in general and need to be proven to then be taked as a true. Thats why i recommend be obtimistic. When something have not support, is not because a desktop is called X or Y, is because the developers behind the desktop are called X or Y. So, will be always a human factor and not a desktop name.

The case of the indicator-multiload is not different then and of course, it will work just fine with GNOME Shell. The problem was that the GNOME Shell developers, dosen' t likes the indicators, because this feature aparently do not match with his conception of the desktop. Source: https://bugzilla.gnome.org/show_bug.cgi?id=652122

Not matter if the shell developers deside to not support the indicators, because they really support extensions and then some thrid party developers can make possible the usage of the indicators inside the Gnome Shell session and thats what then happened when Jonas Kümmerlin create that extension: https://github.com/rgcjonas

When Ubuntu come to Gnome Shell in 18.04, the develop of the extension to loaded the indicators was not very active and was develop, preventing break the shell as possible, to cause few disturbs. So, it was limited a lot and some things was simplify in theory maybe, to be more faster and cause less problems.

So, the non-homogeneus indicators was then be loaded in a way that they will be converted to homogeneous indicators and then simplify the procedure to scale the icons inside panel. That was what the official shell code was doing in this time with the status icons. Please also see that the status icons was then be dropped for inside Gnome Shell: https://blogs.gnome.org/aday/2017/08/31/status-icons-and-gnome/ a few years ago, because the gnome shell developers droped his usage in favour of NOTHING and then do not considered the usage of the indicators again.

Also, some time ago, i found (https://github.com/ubuntu/gnome-shell-extension-appindicator/issues/41) this gnome shell extension. I forked and convert it to a Cinnamon applet and then I merged it with another Cinnamon oficial applet for the status icons. That code is inside Cinnamon right now (https://github.com/linuxmint/Cinnamon/pull/5790). In Cinnamon, the history was different, and i tested a lot, the possible ways to render the indicators and also i fix some bugs that the original extension already have, because the extension never was used with non homogeneus indicators. As an intresting thing, I can say that I never merged some of that improves in the Cinnamon desktop. Thats why in the cinnamon desktop the indicator-multiload is also homogeneus like it's in Ubuntu 18.04 right now.

When Ubuntu 18.04 was forked the indicator extension, i opened a bug there (https://github.com/ubuntu/gnome-shell-extension-appindicator/issues/92), to see if they want to fix something in the extension, but for what i see, they don't care to do so much. So, today i just forked the extension and fix the indicator-multiload only, because you want that, but don't think i will continue the develop of that extension or something similar. I think you need to ask to the ubuntu developers about that feature. Probably here: https://github.com/ubuntu/gnome-shell-extension-appindicator/issues/121

Edit: See that, I forked the extension and create a pull request for the version of the extension that was compatible with GNOME 3.28, but was not merged or adapted to be merged by someone else inside the official ubuntu extension: https://github.com/ubuntu/gnome-shell-extension-appindicator/pull/144

| improve this answer | |
  • 1
    Sounds great; thanks for the information, but a bunch of us have already switched to another app that's been working for a while. See askubuntu.com/questions/968641/… for details. When the above gets in, are there benefits to switching back? – colan Sep 4 '18 at 19:11
  • 2
    @colan Because what you mention is only an specific applet that can be used only to monitor things, while this solution involved a fix for a general extension that allow a lot of types of indicators and not just a hardware monitor. This is an attemp to reused a lot of works, not an attempt to make a new one. For the another hand, indicators are a general concepts that can be used in a lot of desktops, while a gnome shell extension is only for a gnome desktop. – lestcape Sep 5 '18 at 16:09
  • Perhaps I'll reinstall gnome-shell and gdm and try this approach. I'd already taken the path of least resistance and canned gnome in favor of unity as @n0rbert suggested here before I found this Q & A.. IMHO the whole Gnome/Wayland push was a bit of a fiasco. – Elder Geek Sep 18 '18 at 19:22
  • 2
    DO NOT USE THIS SOLUTION, IT IS OUTDATED. And maybe your desktop will crash like mine :( – Alfonso Nishikawa Oct 2 '18 at 9:49
  • 1
    @Alfonso Nishikawa github.com/ubuntu/gnome-shell-extension-appindicator/pull/144 – lestcape Oct 2 '18 at 17:29
2

On Ubuntu 18.04 indicator-multiload has bugs and causing problems. You should try to use "System Monitor Extension" instead. Detailed guide:

http://ubuntuhandbook.org/index.php/2019/03/display-cpu-memory-network-usage-in-ubuntu-18-04-panel/

As it's shows on this guide:

  1. First you install those packages:

sudo apt-get install gir1.2-gtop-2.0 gir1.2-networkmanager-1.0 gir1.2-clutter-1.0

  1. Then from Ubuntu Software Center search and install system monitor extension.
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.