4

For example, https://userbase.kde.org/KSysGuard save its setting on /home/user/.config/ksysguardrc.

Where https://wiki.gnome.org/Apps/SystemMonitor save its settings?

There are no settings files on .config or .gnome.

I opened fatrace and ran gnome-system-monitor, but it did not seem to read any settings file:

panel-1-whisker(4901): RO /usr/bin/gnome-system-monitor
panel-1-whisker(4901): R /usr/bin/gnome-system-monitor
gnome-system-mo(4901): O /usr/share/gnome-system-monitor/gsm.gresource
gnome-system-mo(4901): RCO /usr/share/applications/gnome-system-monitor.desktop
gnome-system-mo(4901): RCO /usr/share/applications/gnome-system-monitor-kde.desktop
user
  • 494

1 Answers1

4

You can use corresponding scheme from dconf/gsettings.

Discover exact names with gsettings list-recursively | grep system-monitor and then you can save the output to file and add gsettings set to start of each line.

Starting from Ubuntu 22.04, GNOME uses /org/gnome/gnome-system-monitor/ instead of /org/gnome/system-monitor/ as shown in the below examples.

For example:

org.gnome.gnome-system-monitor.something param 0

will change to

gsettings set org.gnome.gnome-system-monitor.something param 0

Or use dconf dump /org/gnome/gnome-system-monitor > file to save
and dconf load /org/gnome/gnome-system-monitor < file to restore.

karel
  • 122,292
  • 133
  • 301
  • 332
N0rbert
  • 103,263