File: org.mydm.MyDisplayManager.Wallpaper.xml

package info (click to toggle)
accountsservice 0.6.55-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,752 kB
  • sloc: ansic: 8,011; xml: 2,098; sh: 229; perl: 57; python: 54; makefile: 39; sed: 16
file content (48 lines) | stat: -rw-r--r-- 1,987 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<node>
  <!-- 
   1. Copy this example to this directory:
     # install -c -m 644 doc/org.mydm.MyDisplayManager.Wallpaper.xml $prefix/share/dbus-1/interfaces
   2. Link into accountsservice interfaces directory:
     # install -d $prefix/share/accountsservice/interfaces/
     # ln -s ../../dbus-1/interfaces/org.mydm.MyDisplayManager.Wallpaper.xml $prefix/share/accountsservice/interfaces/
   3. Reload accounts-daemon
  -->
  <interface name="org.mydm.MyDisplayManager.Wallpaper">

    <annotation name="org.freedesktop.Accounts.VendorExtension" value="true"/>

    <!-- defaults to always allowed -->
    <!--
    <annotation name="org.freedesktop.Accounts.Authentication.ReadOwn"
                value="org.mydm.MyDisplayManager.ReadWallpaper"/>
    <annotation name="org.freedesktop.Accounts.Authentication.ReadAny"
                value="org.mydm.MyDisplayManager.ReadWallpaper"/>
    -->

    <!-- defaults to org.freedesktop.accounts.user-administration -->
    <annotation name="org.freedesktop.Accounts.Authentication.ChangeAny"
                value="org.mydm.MyDisplayManager.ModifyWallpaper"/>

    <!-- defaults to org.freedesktop.accounts.change-own-user-data -->
    <!--
    <annotation name="org.freedesktop.Accounts.Authentication.ChangeOwn"
                value="org.mydm.MyDisplayManager.ModifyWallpaper"/>
    -->

    <property name="filename" type="s" access="readwrite"/>

    <property name="display-mode" type="s" access="readwrite">
      <annotation name="org.freedesktop.Accounts.DefaultValue.String" value="zoom"/>
    </property>

    <property name="background-color" type="(iii)" access="readwrite">
      <annotation name="org.freedesktop.Accounts.DefaultValue" value="(0xdd, 0x48, 0x14)"/>
    </property>

  </interface>
</node>

<!-- must install file in XDG_DATA_DIRS/dbus-1/interfaces
     and symlink to it from XDG_DATA_DIRS/accountsservice/interface
     with the same basename, using a relative path starting '../../dbus-1/interfaces/"
 -->