1
0
Fork 0
gnome-settings-daemon/plugins/xsettings
Daniel Baumann 18b565039d
Adding upstream version 48.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 20:20:27 +02:00
..
fontconfig-test Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
gtk-modules-test Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
00-xrdb Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
fc-monitor.c Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
fc-monitor.h Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
gsd-remote-display-manager.h Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
gsd-xsettings-gtk.c Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
gsd-xsettings-gtk.h Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
gsd-xsettings-manager.c Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
gsd-xsettings-manager.h Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
main.c Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
meson.build Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
README.xsettings Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
test-gtk-modules.c Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
test-wm-button-layout-translations.c Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
test.py Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
wm-button-layout-translation.c Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
wm-button-layout-translation.h Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
xsettings-common.c Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
xsettings-common.h Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
xsettings-manager.c Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00
xsettings-manager.h Adding upstream version 48.1. 2025-06-22 20:20:27 +02:00

This is very simple documentation for the 'override' GSettings key for
gnome-setting-daemon's xsettings plugin.

The override is given as a dictionary of overrides to be applied on top
of the usual values that are exported to the X server as XSETTINGS.  The
intent of this is to allow users to override values of programmatically
determined settings (such as 'Gtk/ShellShowsAppMenu') and to allow
developers to introduce new XSETTINGS for testing (without having to kill the
gnome-settings-daemon running in the session and run their own patched
version).

The type of the overrides is 'a{sv}'.

The key gives the full XSETTINGS setting name to override (for example,
'Gtk/ShellShowsAppMenu').  The value is one of the following:

 - a string ('s') for the case of a string XSETTING

 - an int32 ('i') for the case of an integer XSETTING

 - a 4-tuple of uint16s ('(qqqq)') for the case of a color XSETTING

Dictionary items with a value that is not one of the above types will be
ignored.  Specifically note that XSETTINGS does not have a concept of
booleans -- you must use an integer that is either 0 or 1.

An example setting for this key (as expressed in GVariant text format)
might be:

 { 'Gtk/ShellShowsAppMenu': < 0 >, 'Xft/DPI': < 98304 > }

Noting that variants must be specified in the usual way (wrapped in <>).

Note also that DPI in the above example is expressed in 1024ths of an
inch.