! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Please make settings of all panel-plugins configurable by system-wide rc-files
Status:
RESOLVED: FIXED
Product:
Xfce4-cpufreq-plugin
Component:
General

Comments

Description Daniel Reichelt 2015-04-15 21:25:11 CEST
Hi folks,

I just stumbled over the plugins cpufreq and netload, which cannot be
pre-configured via rc-files in /etc/xdg/...  They just ignore the
XDG_CONFIG_DIRS and create their own private rc-files in $HOME upon the first
configuration by the user.

Said plugins could easily be patched by replacing the calls to
xfce_resource_save_location(*plugin, bool) by
xfce_panel_plugin_lookup_rc_file(*plugin) when reading the plugin settings,
like e.g. cpugraph is already doing. Works fine here.

Possibly other plugins might be affected/could be improved by this as well.


Thanks
Daniel
Comment 1 Harald Judt editbugs 2015-06-07 22:43:43 CEST
Please provide proper patches and I / the maintainers of the other plugins respectively will apply them.
Comment 2 Andre Miranda editbugs 2018-09-20 03:10:49 CEST
This enhancement is present on this branch: https://git.xfce.org/users/andre/xfce4-cpufreq-plugin/
After some testing, I will push to master.
Comment 3 Git Bot editbugs 2018-09-21 15:21:47 CEST
Andre Miranda referenced this bugreport in commit 7c820df39ec561cfbce05050e31226e1f78517c4

Use xfce_panel_plugin_lookup_rc_file (Bug #11823)

https://git.xfce.org/panel-plugins/xfce4-cpufreq-plugin/commit?id=7c820df39ec561cfbce05050e31226e1f78517c4

Bug #11823

Reported by:
Daniel Reichelt
Reported on: 2015-04-15
Last modified on: 2018-09-21

People

Assignee:
Harald Judt
CC List:
2 users

Version

Attachments

Additional information