PATH:
usr
/
share
/
dbus-1
/
interfaces
<?xml version="1.0"?> <!-- Copyright (C) 2019 Red Hat, Inc This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library. If not, see <http://www.gnu.org/licenses/>. Author: Matthias Clasen <mclasen@redhat.com> --> <node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> <!-- org.freedesktop.impl.portal.Background: @short_description: Background portal backend interface This interface provides APIs related to applications that are running in the background. --> <interface name="org.freedesktop.impl.portal.Background"> <!-- GetAppState: @apps: an array with information about running apps Gets information about running apps. Each entry has an application ID as key. The returned values are of type u and have the following meaning: <simplelist> <member>0: Background (no open window)</member> <member>1: Running (at least one open window)</member> <member>2: Active (in the foreground)</member> </simplelist> --> <method name='GetAppState'> <arg type="a{sv}" name="apps" direction="out"/> </method> <!-- NotifyBackground: @handle: Object path for the #org.freedesktop.impl.portal.Request object representing this call @app_id: App id of the application @name: A display name for the application @response: Numeric response, not used @results: Vardict with results of the call Notifies the user that an application is running in the background. The following results get returned via the @results vardict: <variablelist> <varlistentry> <term>result u</term> <listitem><para> The choice that the user made regarding the background activity: <simplelist> <member>0: Forbid background activity by this app</member> <member>1: Allow background activity by this app</member> <member>2: Allow this instance of background activity</member> </simplelist> </para></listitem> </varlistentry> </variablelist> --> <method name='NotifyBackground'> <arg type="o" name="handle" direction="in"/> <arg type="s" name="app_id" direction="in"/> <arg type="s" name="name" direction="in"/> <arg type="u" name="response" direction="out"/> <arg type="a{sv}" name="results" direction="out"/> </method> <!-- EnableAutostart: @app_id: App id of the application @enable: TRUE to enable autostart, FALSE to disable it @commandline: The commandline to use in the autostart file @flags: Flags influencing the details of the autostarting @result: TRUE if autostart was enabled, FALSE otherwise Enables or disables autostart for an application. The following flags are understood: <simplelist> <member>1: Use D-Bus activation</member> </simplelist> --> <method name='EnableAutostart'> <arg type="s" name="app_id" direction="in"/> <arg type="b" name="enable" direction="in"/> <arg type="as" name="commandline" direction="in"/> <arg type="u" name="flags" direction="in"/> <arg type="b" name="result" direction="out"/> </method> <!-- RunningApplicationsChanged: This signal gets emitted when applications change their state and it is worth calling GetAppState again. --> <signal name='RunningApplicationsChanged'> </signal> </interface> </node>
[+]
..
[-] org.freedesktop.portal.Flatpak.xml
[edit]
[-] org.freedesktop.portal.Account.xml
[edit]
[-] org.freedesktop.portal.FileChooser.xml
[edit]
[-] org.freedesktop.hostname1.xml
[edit]
[-] org.freedesktop.portal.MemoryMonitor.xml
[edit]
[-] org.freedesktop.Flatpak.Authenticator.xml
[edit]
[-] org.freedesktop.systemd1.Target.xml
[edit]
[-] org.freedesktop.impl.portal.Request.xml
[edit]
[-] org.freedesktop.impl.portal.Email.xml
[edit]
[-] org.freedesktop.portal.ScreenCast.xml
[edit]
[-] org.freedesktop.portal.GameMode.xml
[edit]
[-] org.freedesktop.portal.Camera.xml
[edit]
[-] org.freedesktop.impl.portal.Secret.xml
[edit]
[-] org.freedesktop.systemd1.Scope.xml
[edit]
[-] org.freedesktop.impl.portal.FileChooser.xml
[edit]
[-] org.freedesktop.impl.portal.Print.xml
[edit]
[-] org.freedesktop.login1.User.xml
[edit]
[-] org.freedesktop.systemd1.Automount.xml
[edit]
[-] org.freedesktop.systemd1.Socket.xml
[edit]
[-] org.freedesktop.Tracker3.Miner.xml
[edit]
[-] org.freedesktop.portal.ProxyResolver.xml
[edit]
[-] org.freedesktop.Flatpak.xml
[edit]
[-] org.freedesktop.systemd1.Manager.xml
[edit]
[-] org.freedesktop.impl.portal.Inhibit.xml
[edit]
[-] org.freedesktop.RealtimeKit1.xml
[edit]
[-] org.freedesktop.systemd1.Path.xml
[edit]
[-] org.freedesktop.portal.Print.xml
[edit]
[-] org.freedesktop.impl.portal.Screenshot.xml
[edit]
[-] org.freedesktop.systemd1.Unit.xml
[edit]
[-] org.freedesktop.portal.Location.xml
[edit]
[-] org.freedesktop.impl.portal.Account.xml
[edit]
[-] org.freedesktop.systemd1.Mount.xml
[edit]
[-] org.freedesktop.portal.Screenshot.xml
[edit]
[-] org.freedesktop.portal.Inhibit.xml
[edit]
[-] org.freedesktop.portal.PowerProfileMonitor.xml
[edit]
[-] org.freedesktop.portal.OpenURI.xml
[edit]
[-] org.freedesktop.impl.portal.RemoteDesktop.xml
[edit]
[-] org.freedesktop.impl.portal.Background.xml
[edit]
[-] org.freedesktop.timedate1.xml
[edit]
[-] org.freedesktop.login1.Session.xml
[edit]
[-] org.freedesktop.systemd1.Timer.xml
[edit]
[-] org.freedesktop.impl.portal.AppChooser.xml
[edit]
[-] org.freedesktop.portal.Email.xml
[edit]
[-] org.freedesktop.portal.Device.xml
[edit]
[-] org.freedesktop.login1.Manager.xml
[edit]
[-] org.freedesktop.systemd1.Service.xml
[edit]
[-] org.freedesktop.impl.portal.Settings.xml
[edit]
[-] org.freedesktop.portal.Session.xml
[edit]
[-] org.freedesktop.login1.Seat.xml
[edit]
[-] org.freedesktop.portal.Secret.xml
[edit]
[-] org.freedesktop.portal.FileTransfer.xml
[edit]
[-] org.freedesktop.portal.Request.xml
[edit]
[-] org.freedesktop.systemd1.Job.xml
[edit]
[-] org.freedesktop.portal.Background.xml
[edit]
[-] org.freedesktop.systemd1.Device.xml
[edit]
[-] org.freedesktop.systemd1.Swap.xml
[edit]
[-] org.freedesktop.portal.Documents.xml
[edit]
[-] org.freedesktop.impl.portal.PermissionStore.xml
[edit]
[-] org.freedesktop.systemd1.Slice.xml
[edit]
[-] org.freedesktop.Tracker3.Miner.Files.Index.xml
[edit]
[-] org.freedesktop.impl.portal.Lockdown.xml
[edit]
[-] org.freedesktop.portal.RemoteDesktop.xml
[edit]
[-] org.freedesktop.LogControl1.xml
[edit]
[-] org.freedesktop.impl.portal.Wallpaper.xml
[edit]
[-] org.freedesktop.locale1.xml
[edit]
[-] org.freedesktop.impl.portal.ScreenCast.xml
[edit]
[-] org.freedesktop.portal.Trash.xml
[edit]
[-] org.freedesktop.portal.Wallpaper.xml
[edit]
[-] org.freedesktop.impl.portal.Notification.xml
[edit]
[-] org.freedesktop.impl.portal.Access.xml
[edit]
[-] org.freedesktop.portal.NetworkMonitor.xml
[edit]
[-] org.freedesktop.portal.Notification.xml
[edit]
[-] org.freedesktop.portal.Realtime.xml
[edit]
[-] org.freedesktop.portal.Settings.xml
[edit]
[-] org.freedesktop.impl.portal.Session.xml
[edit]