init
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
This commit is contained in:
38
Telegram/ThirdParty/xdg-desktop-portal/doc/configuration-file.rst
vendored
Normal file
38
Telegram/ThirdParty/xdg-desktop-portal/doc/configuration-file.rst
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
Configuration File
|
||||
==================
|
||||
|
||||
Portal backends are selected and can be configured by using one or more
|
||||
configuration files.
|
||||
|
||||
Desktop systems may have multiple desktop environments and portal backends
|
||||
installed in parallel, and automatically picking portal backends in this
|
||||
situation has proven to be a challenge.
|
||||
|
||||
For this reason, XDG Desktop Portal uses a config-based matching system.
|
||||
Usually, the configuration files are provided by the desktop environments
|
||||
themselves, so that e.g. the GNOME-specific portal backends are picked in
|
||||
GNOME sessions. No end user intervention is necessary in this case.
|
||||
|
||||
Here's an example of a config file distributed by GNOME:
|
||||
|
||||
.. code-block::
|
||||
|
||||
[preferred]
|
||||
default=gnome;gtk;
|
||||
org.freedesktop.impl.portal.Access=gnome-shell;gtk;
|
||||
org.freedesktop.impl.portal.Secret=gnome-keyring;
|
||||
|
||||
This file specifies that, by default, the ``gnome`` and ``gtk`` portal backends
|
||||
must be used. However, specifically for :doc:`org.freedesktop.impl.portal.Access
|
||||
<doc-org.freedesktop.impl.portal.Access>`, the ``gnome-shell`` and ``gtk``
|
||||
portal backends must be used; and for :doc:`org.freedesktop.impl.portal.Secret
|
||||
<doc-org.freedesktop.impl.portal.Secret>`, the ``gnome-keyring`` portal
|
||||
backend must be used.
|
||||
|
||||
You can read more about the config file syntax, install locations, and more, in
|
||||
the portals.conf man page:
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
portals.conf
|
||||
Reference in New Issue
Block a user