Closed ghost closed 3 years ago
I was just unable to duplicate this with mate-system-monitor 1.26 on Debian Unstable. Preferences were saved and customizations came back up on reopening mate-system-monitor. Wonder what is different?
might be something with my system. where is the preferences saved and has that file been changed recently?
This is saved in dconf (via gsettings) under org->mate->system-monitor rather than to a flat text file
here is a video of the behavior while doing a watch in dconf
Better to upload a short video right here. I for one do not use Google products without Tor-and it can take over 15 minutes to find a Tor exit node that isn't blocked. At any rate, I can visualize what this is and cannot duplicate it.
That's pretty much the same test I did-with different results. Sounds like your preferences are not getting saved to dconf for some reason.
First things first: make sure that nothing in ~/.config/dconf in your home directory is owned by root or otherwise not writeable as the normal user. That problem is common and leads to preferences not being saved in all applications using dconf. If you find this problem, sudo chown -R that directory back to your normal username and try again
ls -lah .config/dconf total 56K drwxr-xr-x 1 xaix1999 xaix1999 8 Sep 7 18:50 . drwxr-xr-x 1 xaix1999 xaix1999 1.5K Sep 7 09:08 .. -rw-r--r-- 1 xaix1999 xaix1999 54K Sep 7 18:50 user
this is with no modification
OK, I do not know what this is. Can anyone else here duplicate this issue?
One other test: make another user on the system, log in as that user, and see if the problem recurs there.
Thanks for reporting @xaix1999. It does not happen on every entry in the information field. But adding/removing the Priority field is not remembered without this patch (at least for me).
thank you for validating the ghosts in my machine does exist. lol i was worried that i had done something to my machine and that this issue is only mine.
In my case, adding/removing the priority field is always saved, but on adding it it comes up off to the right and I have to scroll over to see it, than resize the fields. Usually that gets saved-but in one and only one of my tests it did not.
I am suspecting compiler/optimization differences in behavior of this given what's in https://github.com/mate-desktop/mate-system-monitor/pull/224
I too am experiencing this same issue. I try to modify "/Edit/Preferences/Processes/Information Fields". I uncheck some defaults and check some others. I want these to be "Checked" (but they reset to "Unchecked" after restarting mate-system-monitor) :: "Memory", "Nice", "Disk Read". I want these to be "Unchecked" (but they reset to "Checked" after restarting mate-system-monitor) :: "CPU Time", "Waiting Channel", "Session", "Priority". I did not notice any other settings (including in other tabs) that would get reset (so far).
The permissions seem OK. What should they be? Those that show up here as 755, I had them as 700 before, but I tried 755 to see if it would help (no, it did not...):
$ stat -c %a:%U:%G:%n ~/ ~/.config/ ~/.config/dconf/ ~/.config/dconf/user;
755:alex:users:/home/alex/
755:alex:users:/home/alex/.config/
755:alex:users:/home/alex/.config/dconf/
644:alex:users:/home/alex/.config/dconf/user
This may not necessarily be relevant, but I will mention it for completion: When I run "sudo mate-system-monitor" in a terminal, the same issue applies. When I run "sudo -E mate-system-monitor" in a terminal, the same issue applies, but there are also some "connection closed" errors seen (please see logs of the runs). When I run "sudo -E mate-system-monitor", it makes the preferences between root and my user to be shared, so, with "sudo -E", I can temporarily change checkboxes' values of the options in any of the tabs that have a checkbox list lower in the tab ("Processes", "File Systems"), like the "Information Fields" options, but I cannot change the other, "main" options on all of the tabs ("Processes", "Resources", "File Systems"), like "Show network speed in bits": the checkbox value would just not change. When I run "sudo mate-system-monitor", I am able to change any preference, option, and checkbox as expected. But, this same issue still applies: the same aforementioned "Information Fields" get reset.
Here are the stderr and stdout console logs of the runs. Before the runs, I had already set the other options (that did not change) to my preferece (so I have discovered this issue). During the runs, I only tried to change back the options that were reset: "mate-system-monitor" :: mate-system-monitor.log "sudo mate-system-monitor" :: sudo mate-system-monitor.log "sudo -E mate-system-monitor" :: sudo -E mate-system-monitor.log
Using: mate-system-monitor-1.26.0 nixos-21.11.335883.7adc9c14ec74b27358a8df9b973087e351425a79 (Porcupine) To be fair, it could also be a NixOS issue, I'm considering. I just don't know.
What sudo -E
means:
$ sudo --help;
-E, --preserve-env preserve user environment when running command
Best regards!
this issue has been closed and you will likely not get any response. if you require assistance please open a new issue, i would also suggest searching for your issue before creating a new issue. you will mostly likely get more help that way.
Sorry, thanks though, will do!
Expected behaviour
while using the information fields from the preferences menu i would expect my changes to be saved or remember
Actual behaviour
information fields from the preferences menu are reset to a non-user specified default
Steps to reproduce the behaviour
open mate-system-monitor, navigate to the edit preferences menu, while on the process tab (possibly expand the window) change and or modify multiple information fields for your desired process tab customization (on the main system-monitor process tab), close mate-system-monitor and reopen to verify preferences are not respected.
MATE general version
mate-desktop 1.26.0-1
Package version
mate-system-monitor 1.26.0-1
Linux Distribution
bbqlinux
Link to bugreport of your Distribution (requirement)
https://bbs.bbqlinux.org/viewtopic.php?pid=1285#p1285