aboutsummaryrefslogtreecommitdiff
path: root/src/com.ubuntu.touch.AccountsService.Sound.xml
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2016-01-01 20:08:05 -0600
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 10:17:14 +0200
commit97130ad08300c3ec6ab2165ff7506cd7f25af0d6 (patch)
tree58a988880a81563e1cdc4fadcd74c2e50a59d63a /src/com.ubuntu.touch.AccountsService.Sound.xml
parent460f1464709a4c5e2c1594045961be9108ae2afd (diff)
downloadayatana-indicator-power-97130ad08300c3ec6ab2165ff7506cd7f25af0d6.tar.gz
ayatana-indicator-power-97130ad08300c3ec6ab2165ff7506cd7f25af0d6.tar.bz2
ayatana-indicator-power-97130ad08300c3ec6ab2165ff7506cd7f25af0d6.zip
honor com.ubuntu.touch.AccountsService.Sound.SilentMode
Diffstat (limited to 'src/com.ubuntu.touch.AccountsService.Sound.xml')
-rw-r--r--src/com.ubuntu.touch.AccountsService.Sound.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/com.ubuntu.touch.AccountsService.Sound.xml b/src/com.ubuntu.touch.AccountsService.Sound.xml
new file mode 100644
index 0000000..6e2ca5f
--- /dev/null
+++ b/src/com.ubuntu.touch.AccountsService.Sound.xml
@@ -0,0 +1,47 @@
+<node>
+ <interface name="com.ubuntu.touch.AccountsService.Sound">
+
+ <annotation name="org.freedesktop.Accounts.VendorExtension" value="true"/>
+
+ <!-- Muted is all sound, SilentMode is only non-user-initiated sounds -->
+ <property name="SilentMode" type="b" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="false"/>
+ </property>
+
+ <property name="IncomingCallSound" type="s" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue.String"
+ value="/usr/share/sounds/ubuntu/ringtones/Ubuntu.ogg"/>
+ </property>
+
+ <property name="IncomingMessageSound" type="s" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue.String"
+ value="/usr/share/sounds/ubuntu/notifications/Xylo.ogg"/>
+ </property>
+
+ <property name="IncomingCallVibrate" type="b" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
+ </property>
+
+ <property name="IncomingCallVibrateSilentMode" type="b" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
+ </property>
+
+ <property name="IncomingMessageVibrate" type="b" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
+ </property>
+
+ <property name="IncomingMessageVibrateSilentMode" type="b" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
+ </property>
+
+ <!-- "Other vibrations" should cover all vibrations except for those relating to phone calls and messages -->
+ <property name="OtherVibrate" type="b" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
+ </property>
+
+ <property name="DialpadSoundsEnabled" type="b" access="readwrite">
+ <annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
+ </property>
+
+ </interface>
+</node>