[gsettings-desktop-schemas] schemas: add privacy settings usb-protection
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gsettings-desktop-schemas] schemas: add privacy settings usb-protection
- Date: Tue, 24 Sep 2019 11:26:18 +0000 (UTC)
commit d9ffee7c0671b890dfc7c0c3fccb49de31d1058c
Author: RyuzakiKK <aasonykk gmail com>
Date: Thu Dec 20 16:03:15 2018 +0100
schemas: add privacy settings usb-protection
Also rename the old `usbguard` to a more precise and generic
`usb-protection-level`
schemas/org.gnome.desktop.privacy.gschema.xml.in | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/schemas/org.gnome.desktop.privacy.gschema.xml.in
b/schemas/org.gnome.desktop.privacy.gschema.xml.in
index 78028b9..5e8f4da 100644
--- a/schemas/org.gnome.desktop.privacy.gschema.xml.in
+++ b/schemas/org.gnome.desktop.privacy.gschema.xml.in
@@ -74,13 +74,20 @@
<summary>Don’t allow applications to output sound</summary>
<description>If TRUE, applications should not make sound.</description>
</key>
- <key name="usbguard" type="u">
+ <key name="usb-protection" type="b">
+ <default>false</default>
+ <summary>Whether to protect USB devices</summary>
+ <description>If TRUE, USB devices will be protected as configured in
+ the key usb-protection-level.
+ </description>
+ </key>
+ <key name="usb-protection-level" type="u">
<default>0</default>
- <summary>Wheter to enable the USBGuard protection</summary>
+ <summary>When USB devices should be rejected</summary>
<description>
- If set to 0, USBGuard protection will be disabled; if set to 1, USBGuard
- protection will be active only when the lock screen is present; if set
- to 2, USBGuard protection will always be active.
+ If set to 0, all USB devices will be authorized; if set to 1, only
+ when the lock screen is present new USB devices will be rejected; if
+ set to 2, all new USB devices will always be rejected.
</description>
</key>
</schema>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]