From 6d0200e0eac08a5867f83dd741a4dec7a1fefa25 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Wed, 20 Aug 2025 18:56:30 -0400 Subject: xsettings: Add gsettings for custom XSettings overrides Add XSettings override gsettings to allow changing arbitrary XSettings on GSettings without requiring code changes. This enables third-party tools (like unity-gtk-module extensions) to integrate with MATE by setting custom XSettings values at runtime. The implementation adds an 'overrides' key to the xsettings plugin schema which accepts a dictionary mapping XSetting names to values. The complete list of XSettings is over at https://www.freedesktop.org/wiki/Specifications/XSettingsRegistry/ Backported mostly from: - https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/commit/c6e9079d - https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/commit/35764838 Fixes: https://github.com/mate-desktop/mate-settings-daemon/issues/158 --- data/org.mate.SettingsDaemon.plugins.xsettings.gschema.xml.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'data') diff --git a/data/org.mate.SettingsDaemon.plugins.xsettings.gschema.xml.in b/data/org.mate.SettingsDaemon.plugins.xsettings.gschema.xml.in index ae4721a..bdba044 100644 --- a/data/org.mate.SettingsDaemon.plugins.xsettings.gschema.xml.in +++ b/data/org.mate.SettingsDaemon.plugins.xsettings.gschema.xml.in @@ -10,5 +10,10 @@ Priority to use for this plugin Priority to use for this plugin in mate-settings-daemon startup queue + + {} + A dictionary of XSETTINGS to override + This dictionary maps XSETTINGS names to overrides values. The values must be either strings, signed int32s or (in the case of colors), 4-tuples of uint16 (red, green, blue, alpha; 65535 is fully opaque). + -- cgit v1.2.1