gsettings-desktop-schemas/gsettings-desktop-schemas-fate324570-Add-key-for-GDM-background-configuration.patch
2024-03-11 09:14:19 +00:00

102 lines
4.2 KiB
Diff

From 96436417da5d1f8912042124bd2a8b98f091f280 Mon Sep 17 00:00:00 2001
From: Chingkai <chuchingkai@gmail.com>
Date: Fri, 19 Oct 2018 13:37:15 +0800
Subject: [PATCH] schemas: Add settings for
org.gnome.desktop.background.lockdialog
This key is for the background of lockDialogGroup which makes login
and lock background configurable. The default behavior will be
retained to what it is currently.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/680
---
schemas/meson.build | 1 +
...me.desktop.background.lockdialog.gschema.xml.in | 59 ++++++++++++++++++++++
2 files changed, 60 insertions(+)
create mode 100644 schemas/org.gnome.desktop.background.lockdialog.gschema.xml.in
Index: gsettings-desktop-schemas-45.0/schemas/meson.build
===================================================================
--- gsettings-desktop-schemas-45.0.orig/schemas/meson.build
+++ gsettings-desktop-schemas-45.0/schemas/meson.build
@@ -16,6 +16,7 @@ schemas = [
'org.gnome.desktop.thumbnailers.gschema.xml',
'org.gnome.desktop.session.gschema.xml',
'org.gnome.desktop.background.gschema.xml',
+ 'org.gnome.desktop.background.lockdialog.gschema.xml',
'org.gnome.desktop.calendar.gschema.xml',
'org.gnome.desktop.datetime.gschema.xml',
'org.gnome.desktop.media-handling.gschema.xml',
Index: gsettings-desktop-schemas-45.0/schemas/org.gnome.desktop.background.lockdialog.gschema.xml.in
===================================================================
--- /dev/null
+++ gsettings-desktop-schemas-45.0/schemas/org.gnome.desktop.background.lockdialog.gschema.xml.in
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schemalist gettext-domain="gsettings-desktop-schemas">
+ <schema id="org.gnome.desktop.background.lockdialog" path="/org/gnome/desktop/background/lockdialog/">
+ <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>'resource:///org/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-uri-dark" type="s">
+ <default>'resource:///org/gnome/shell/theme/noise-texture.png'</default>
+ <summary>Picture URI (dark)</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>'#677378'</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>'#677378'</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>
+ <key name="show-desktop-icons" type="b">
+ <default>false</default>
+ <summary>Have file manager handle the desktop</summary>
+ <description>
+ If set to true, then file manager will draw the icons on the desktop.
+ </description>
+ </key>
+ </schema>
+</schemalist>