From 5382920404745eac410b1a974fef2f35b126323b Mon Sep 17 00:00:00 2001 From: Colin Guthrie <colin@mageia.org> Date: Thu, 9 Oct 2014 19:36:00 +0100 Subject: [PATCH] Add new org.gnome.desktop.background.login schema This allows control of the background on the actual password prompt (both at initial GDM login and when unlocking sessions). See corresponding change in gnome-shell --- schemas/Makefile.am | 1 + ...nome.desktop.background.login.gschema.xml.in.in | 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 schemas/org.gnome.desktop.background.login.gschema.xml.in.in diff --git a/schemas/Makefile.am b/schemas/Makefile.am index 942bbe7..918d41e 100644 --- a/schemas/Makefile.am +++ b/schemas/Makefile.am @@ -15,6 +15,7 @@ desktop_gschemas_in_in = \ org.gnome.desktop.thumbnailers.gschema.xml.in.in \ org.gnome.desktop.session.gschema.xml.in.in \ org.gnome.desktop.background.gschema.xml.in.in \ + org.gnome.desktop.background.login.gschema.xml.in.in \ org.gnome.desktop.datetime.gschema.xml.in.in \ org.gnome.desktop.media-handling.gschema.xml.in.in \ org.gnome.desktop.screensaver.gschema.xml.in.in \ diff --git a/schemas/org.gnome.desktop.background.login.gschema.xml.in.in b/schemas/org.gnome.desktop.background.login.gschema.xml.in.in new file mode 100644 index 0000000..1119c4d --- /dev/null +++ b/schemas/org.gnome.desktop.background.login.gschema.xml.in.in @@ -0,0 +1,51 @@ +<schemalist gettext-domain="gsettings-desktop-schemas"> + <schema id="org.gnome.desktop.background.login" path="/org/gnome/desktop/background/login/"> + <key name="picture-options" enum="org.gnome.desktop.GDesktopBackgroundStyle"> + <default>'wallpaper'</default> + <_summary>Picture Options</_summary> + <_description> + Determines how the image set by wallpaper_filename is rendered. + Possible values are "none", "wallpaper", "centered", "scaled", + "stretched", "zoom", "spanned". + </_description> + </key> + <key name="picture-uri" type="s"> + <default>'file:///usr/share/gnome-shell/theme/noise-texture.png'</default> + <_summary>Picture URI</_summary> + <_description> + URI to use for the background image. Note that the backend only supports + local (file://) URIs. + </_description> + </key> + <key name="picture-opacity" type="i"> + <range min="0" max="100"/> + <default>100</default> + <_summary>Picture Opacity</_summary> + <_description> + Opacity with which to draw the background picture. + </_description> + </key> + <key name="primary-color" type="s"> + <default>'#2e3436'</default> + <_summary>Primary Color</_summary> + <_description> + Left or Top color when drawing gradients, or the solid color. + </_description> + </key> + <key name="secondary-color" type="s"> + <default>''</default> + <_summary>Secondary Color</_summary> + <_description> + Right or Bottom color when drawing gradients, not used for solid color. + </_description> + </key> + <key name="color-shading-type" enum="org.gnome.desktop.GDesktopBackgroundShading"> + <default>'solid'</default> + <_summary>Color Shading Type</_summary> + <_description> + How to shade the background color. Possible values are "horizontal", + "vertical", and "solid". + </_description> + </key> + </schema> +</schemalist> -- 2.1.2