system load indicator does not show memory usage, ignoring preferences

Bug #1974063 reported by Steve Cohen
66
This bug affects 12 people
Affects Status Importance Assigned to Milestone
indicator-multiload (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Running Ubuntu 22.04:

First, the System Load Indicator (indicator-multiload) did not respect my preferences to display Memory Usage, which is the only thing I need displayed in the upper bar. I could click on the indicator and a drop down would show me the memory load and other statistics, but I wanted it constantly displayed in the bar. This used to work, before upgrading to 22.04.

Now we come to a more serious problem: I started messing around with the Preference tab for System Load Indicator. I thought increasing the "System Monitor Width" setting above 40 pixels might help. I increased it way more than that, perhaps to 600. The system stopped working. The mouse refused to move. No keystrokes did anything. Eventually, the screen went black and pushed me out to the login page, but upon logging in, the same problems persisted.

I finally tried doing an emergency root login and doing
apt remove indicator-multiload.
Now I could log in and have a normally functioning system. But I wanted the indicator, so I did sudo apt install indicator-multiload,
and the problems returned. Evidently some bad configuration setting had persisted through the removal. So I removed it again, and that's where I am now.

So a few questions:
1) What is the "System Monitor Width" setting in Preferences for, and should it not prevent a catastrophically bad value from being entered?
2) In what file does this application store this preference, so that I might fix it and reinstall the monitor, and run the system?
3) How can I force the indicator to display the memory usage in the top bar as I want to do.

Tags: jammy
Daniel Manrique (roadmr)
affects: canonical-identity-provider → indicator-multiload (Ubuntu)
Revision history for this message
Steve Cohen (scohen) wrote :
Revision history for this message
Anthony Chubb (chubbant) wrote :

I have a similar problem with the load indicator in the upper bar. But mine only shows me the tail end of the wifi usage block and none of the CPU or memory blocks. It also flickers strangely and appears to expand in width briefly (faster than I can see) because the drop-down menu is occasionally available to the left of the block. It's as though another black icon is pasted over the indicator bars I want to see, competing with the load monitor.
Right-click works to open the drop-down menu (and full load monitor panel).
This section can be hidden entirely by switching off the Ubuntu Appindicators under Extension Manager - could it be that this section is faulty and not allowing sufficient space for the load monitor?

Revision history for this message
Steve Cohen (scohen) wrote :

I concur with Anthony Chubb's comments, which were indeed the original impetus that motivated me to begin tinkering with the indicator width in the first.place. I forgot to mention this in the wake of the more catastrophic problems that occurred when I tried to change the width. But had these symptoms not existed, I never would have bothered messing with the width. My ideal state would be to see the "Mem: 6.2 GB" text that I used to see, and not flickering.

As to my Question 2 above, I did discover that this setting was maintained in dconf under the key of /de/mh21/indicator-multiload/, as indicated in my link above. Navigating there, I was able to change the width back to 40 and reinstall the indicator without breaking the system.

However, I only see the graphical display, which is better than nothing, but not ideal, and it does flicker.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-multiload (Ubuntu):
status: New → Confirmed
Revision history for this message
girto (patspiper) wrote :

Ubuntu 22.04.1 here. The load indicator flickers and expands briefly (same as Anthony Chubb)

tags: added: jammy
Revision history for this message
Mingun (alexander-sergey) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.