/
usr
/
share
/
dbus-1
/
interfaces
/
/usr/share/dbus-1/interfaces
mkdir
upload
Name
Size
Mode
Actions
org.freedesktop.Flatpak.Authenticator.xml
13027
0644
edit
dl
rm
org.freedesktop.Flatpak.xml
12812
0644
edit
dl
rm
org.freedesktop.fwupd.xml
6168
0644
edit
dl
rm
org.freedesktop.hostname1.xml
4845
0644
edit
dl
rm
org.freedesktop.impl.portal.Access.xml
3816
0644
edit
dl
rm
org.freedesktop.impl.portal.Account.xml
3425
0644
edit
dl
rm
org.freedesktop.impl.portal.AppChooser.xml
5203
0644
edit
dl
rm
org.freedesktop.impl.portal.Background.xml
4082
0644
edit
dl
rm
org.freedesktop.impl.portal.Email.xml
3546
0644
edit
dl
rm
org.freedesktop.impl.portal.FileChooser.xml
13768
0644
edit
dl
rm
org.freedesktop.impl.portal.Inhibit.xml
5443
0644
edit
dl
rm
org.freedesktop.impl.portal.Lockdown.xml
1739
0644
edit
dl
rm
org.freedesktop.impl.portal.Notification.xml
2884
0644
edit
dl
rm
org.freedesktop.impl.portal.PermissionStore.xml
7079
0644
edit
dl
rm
org.freedesktop.impl.portal.Print.xml
6106
0644
edit
dl
rm
org.freedesktop.impl.portal.RemoteDesktop.xml
13848
0644
edit
dl
rm
org.freedesktop.impl.portal.Request.xml
1713
0644
edit
dl
rm
org.freedesktop.impl.portal.ScreenCast.xml
12507
0644
edit
dl
rm
org.freedesktop.impl.portal.Screenshot.xml
4347
0644
edit
dl
rm
org.freedesktop.impl.portal.Secret.xml
2626
0644
edit
dl
rm
org.freedesktop.impl.portal.Session.xml
1732
0644
edit
dl
rm
org.freedesktop.impl.portal.Settings.xml
3439
0644
edit
dl
rm
org.freedesktop.impl.portal.Wallpaper.xml
2281
0644
edit
dl
rm
org.freedesktop.locale1.xml
2566
0644
edit
dl
rm
org.freedesktop.LogControl1.xml
1973
0644
edit
dl
rm
org.freedesktop.login1.Manager.xml
16996
0644
edit
dl
rm
org.freedesktop.login1.Seat.xml
2478
0644
edit
dl
rm
org.freedesktop.login1.Session.xml
6383
0644
edit
dl
rm
org.freedesktop.login1.User.xml
3442
0644
edit
dl
rm
org.freedesktop.portal.Account.xml
3539
0644
edit
dl
rm
org.freedesktop.portal.Background.xml
4034
0644
edit
dl
rm
org.freedesktop.portal.Camera.xml
3127
0644
edit
dl
rm
org.freedesktop.portal.Device.xml
2631
0644
edit
dl
rm
org.freedesktop.portal.Documents.xml
11423
0644
edit
dl
rm
org.freedesktop.portal.Email.xml
4894
0644
edit
dl
rm
org.freedesktop.portal.FileChooser.xml
15156
0644
edit
dl
rm
org.freedesktop.portal.FileTransfer.xml
5658
0644
edit
dl
rm
org.freedesktop.portal.Flatpak.xml
22707
0644
edit
dl
rm
org.freedesktop.portal.GameMode.xml
9089
0644
edit
dl
rm
org.freedesktop.portal.Inhibit.xml
7285
0644
edit
dl
rm
org.freedesktop.portal.Location.xml
6387
0644
edit
dl
rm
org.freedesktop.portal.MemoryMonitor.xml
2069
0644
edit
dl
rm
org.freedesktop.portal.NetworkMonitor.xml
4896
0644
edit
dl
rm
org.freedesktop.portal.Notification.xml
6685
0644
edit
dl
rm
org.freedesktop.portal.OpenURI.xml
7932
0644
edit
dl
rm
org.freedesktop.portal.PowerProfileMonitor.xml
1709
0644
edit
dl
rm
org.freedesktop.portal.Print.xml
14446
0644
edit
dl
rm
org.freedesktop.portal.ProxyResolver.xml
1975
0644
edit
dl
rm
org.freedesktop.portal.Realtime.xml
2532
0644
edit
dl
rm
org.freedesktop.portal.RemoteDesktop.xml
16139
0644
edit
dl
rm
org.freedesktop.portal.Request.xml
3538
0644
edit
dl
rm
org.freedesktop.portal.ScreenCast.xml
13695
0644
edit
dl
rm
org.freedesktop.portal.Screenshot.xml
4730
0644
edit
dl
rm
org.freedesktop.portal.Secret.xml
3285
0644
edit
dl
rm
org.freedesktop.portal.Session.xml
2950
0644
edit
dl
rm
org.freedesktop.portal.Settings.xml
3375
0644
edit
dl
rm
org.freedesktop.portal.Trash.xml
1746
0644
edit
dl
rm
org.freedesktop.portal.Wallpaper.xml
3538
0644
edit
dl
rm
org.freedesktop.RealtimeKit1.xml
2181
0644
edit
dl
rm
org.freedesktop.systemd1.Automount.xml
17730
0644
edit
dl
rm
org.freedesktop.systemd1.Device.xml
17105
0644
edit
dl
rm
org.freedesktop.systemd1.Job.xml
2256
0644
edit
dl
rm
org.freedesktop.systemd1.Manager.xml
36177
0644
edit
dl
rm
org.freedesktop.systemd1.Mount.xml
58653
0644
edit
dl
rm
org.freedesktop.systemd1.Path.xml
18050
0644
edit
dl
rm
org.freedesktop.systemd1.Scope.xml
30990
0644
edit
dl
rm
org.freedesktop.systemd1.Service.xml
65486
0644
edit
dl
rm
org.freedesktop.systemd1.Slice.xml
29034
0644
edit
dl
rm
org.freedesktop.systemd1.Socket.xml
65410
0644
edit
dl
rm
org.freedesktop.systemd1.Swap.xml
57550
0644
edit
dl
rm
org.freedesktop.systemd1.Target.xml
17038
0644
edit
dl
rm
org.freedesktop.systemd1.Timer.xml
19180
0644
edit
dl
rm
org.freedesktop.systemd1.Unit.xml
16972
0644
edit
dl
rm
org.freedesktop.timedate1.xml
2930
0644
edit
dl
rm
org.freedesktop.Tracker3.Miner.Files.Index.xml
416
0644
edit
dl
rm
org.freedesktop.Tracker3.Miner.xml
2190
0644
edit
dl
rm
Edit:
/usr/share/dbus-1/interfaces/org.freedesktop.portal.Print.xml
(14446B)
<?xml version="1.0"?> <!-- Copyright (C) 2016 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.portal.Print: @short_description: Portal for printing The Print portal allows sandboxed applications to print. Due to the way in which printing requires bi-directional communication, using this portal will often require applications to make multiple requests. First, use org.freedesktop.portal.Print.PreparePrint() to obtain print settings, use them to format your output, then use org.freedesktop.portal.Print.Print() to print the formatted document. It is expected that high-level toolkit APIs such as GtkPrintOperation will hide most of this complexity. This documentation describes version 1 of this interface. --> <interface name="org.freedesktop.portal.Print"> <!-- Print: @parent_window: Identifier for the application window, see <link linkend="parent_window">Common Conventions</link> @title: Title for the print dialog @fd: File descriptor for reading the content to print @options: Vardict with optional further information @handle: Object path for the #org.freedesktop.portal.Request object representing this call Asks to print a file. The file must be passed in the form of a file descriptor open for reading. This ensures that sandboxed applications only print files that they have access to. If a valid token is present in the @options, then this call will print with the settings from the Print call that the token refers to. If no token is present, then a print dialog will be presented to the user. Note that it is up to the portal implementation to determine how long it considers tokens valid. Supported keys in the @options vardict: <variablelist> <varlistentry> <term>handle_token s</term> <listitem><para> A string that will be used as the last element of the @handle. Must be a valid object path element. See the #org.freedesktop.portal.Request documentation for more information about the @handle. </para></listitem> </varlistentry> <varlistentry> <term>modal b</term> <listitem><para> Whether to make the dialog modal. Defaults to yes. </para></listitem> </varlistentry> <varlistentry> <term>token u</term> <listitem><para> Token that was returned by a previous org.freedesktop.portal.Print.PreparePrint() call. </para></listitem> </varlistentry> </variablelist> --> <method name="Print"> <annotation name="org.gtk.GDBus.C.UnixFD" value="true"/> <arg type="s" name="parent_window" direction="in"/> <arg type="s" name="title" direction="in"/> <arg type="h" name="fd" direction="in"/> <arg type="a{sv}" name="options" direction="in"/> <arg type="o" name="handle" direction="out"/> </method> <!-- PreparePrint: @parent_window: Identifier for the application window, see <link linkend="parent_window">Common Conventions</link> @title: Title for the print dialog @settings: Serialized print settings @page_setup: Serialized page setup @options: Vardict with optional further information @handle: Object path for the #org.freedesktop.portal.Request object representing this call Presents a print dialog to the user and returns print settings and page setup. Supported keys in the @options vardict: <variablelist> <varlistentry> <term>handle_token s</term> <listitem><para> A string that will be used as the last element of the @handle. Must be a valid object path element. See the #org.freedesktop.portal.Request documentation for more information about the @handle. </para></listitem> </varlistentry> <varlistentry> <term>modal b</term> <listitem><para> Whether to make the dialog modal. Defaults to yes. </para></listitem> </varlistentry> </variablelist> The following results get returned via the #org.freedesktop.portal.Request::Response signal: <variablelist> <varlistentry> <term>settings a{sv}</term> <listitem><para> Print settings as set up by the user in the print dialog. </para></listitem> </varlistentry> <varlistentry> <term>page-setup a{sv}</term> <listitem><para> Page setup as set up by the user in the print dialog. </para></listitem> </varlistentry> <varlistentry> <term>token u</term> <listitem><para> Token that can be passed to a subsequent org.freedesktop.portal.Print.Print() call to bypass the print dialog. </para></listitem> </varlistentry> </variablelist> The following keys are supported in the print settings vardict: <variablelist> <varlistentry> <term>orientation s</term> <listitem><para> One of landscape, portrait, reverse_landscape or reverse_portrait. </para></listitem> </varlistentry> <varlistentry> <term>paper-format s</term> <listitem><para> A paper name according to <ulink url="ftp://ftp.pwg.org/pub/pwg/candidates/cs-pwgmsn10-20020226-5101.1.pdf">PWG 5101.1-2002</ulink>. </para></listitem> </varlistentry> <varlistentry> <term>paper-width s</term> <listitem><para> Paper width, in millimeters. </para></listitem> </varlistentry> <varlistentry> <term>paper-height s</term> <listitem><para> Paper height, in millimeters. </para></listitem> </varlistentry> <varlistentry> <term>n-copies s</term> <listitem><para> The number of copies to print. </para></listitem> </varlistentry> <varlistentry> <term>default-source s</term> <listitem><para> The default paper source. </para></listitem> </varlistentry> <varlistentry> <term>quality s</term> <listitem><para> Print quality, one of normal, high, low or draft. </para></listitem> </varlistentry> <varlistentry> <term>resolution s</term> <listitem><para> The resolution, sets both resolution-x and resolution-y. </para></listitem> </varlistentry> <varlistentry> <term>use-color s</term> <listitem><para> Whether to use color, one of true or false. </para></listitem> </varlistentry> <varlistentry> <term>duplex s</term> <listitem><para> Duplex printing mode, one of simplex, horizontal or vertical. </para></listitem> </varlistentry> <varlistentry> <term>collate s</term> <listitem><para> Whether to collate copies, one of true or false. </para></listitem> </varlistentry> <varlistentry> <term>reverse s</term> <listitem><para> Whether to reverse the order of printed pages, one of true or false. </para></listitem> </varlistentry> <varlistentry> <term>media-type s</term> <listitem><para> A media type according to <ulink url="ftp://ftp.pwg.org/pub/pwg/candidates/cs-pwgmsn10-20020226-5101.1.pdf">PWG 5101.1-2002</ulink>. </para></listitem> </varlistentry> <varlistentry> <term>dither s</term> <listitem><para> The dithering to use, one of fine, none, coarse, lineart, grayscale or error-diffusion. </para></listitem> </varlistentry> <varlistentry> <term>scale s</term> <listitem><para> The scale in percent. </para></listitem> </varlistentry> <varlistentry> <term>print-pages s</term> <listitem><para> What pages to print, one of all, selection, current or ranges. </para></listitem> </varlistentry> <varlistentry> <term>page-ranges s</term> <listitem><para> A list of page ranges, formatted like this: 0-2,4,9-11. </para><para> Note that page ranges are 0-based, even if the are displayed as 1-based when presented to the user. </para></listitem> </varlistentry> <varlistentry> <term>page-set s</term> <listitem><para> What pages to print, one of all, even or odd. </para></listitem> </varlistentry> <varlistentry> <term>finishings s</term> <listitem><para> </para></listitem> </varlistentry> <varlistentry> <term>number-up s</term> <listitem><para> The number of pages per sheet. </para></listitem> </varlistentry> <varlistentry> <term>number-up-layout s</term> <listitem><para> One of lrtb, lrbt, rltb, rlbt, tblr, tbrl, btlr, btrl. </para></listitem> </varlistentry> <varlistentry> <term>output-bin s</term> <listitem><para> </para></listitem> </varlistentry> <varlistentry> <term>resolution-x s</term> <listitem><para> The horizontal resolution in dpi. </para></listitem> </varlistentry> <varlistentry> <term>resolution-y s</term> <listitem><para> The vertical resolution in dpi. </para></listitem> </varlistentry> <varlistentry> <term>printer-lpi s</term> <listitem><para> The resolution in lpi (lines per inch). </para></listitem> </varlistentry> <varlistentry> <term>output-basename s</term> <listitem><para> Basename to use for print-to-file. </para></listitem> </varlistentry> <varlistentry> <term>output-file-format s</term> <listitem><para> Format to use for print-to-file, one of PDF, PS, SVG. </para></listitem> </varlistentry> <varlistentry> <term>output-uri s</term> <listitem><para> The uri used for print-to-file. </para></listitem> </varlistentry> </variablelist> The following keys are supported in the page setup vardict: <variablelist> <varlistentry> <term>PPDName s</term> <listitem><para> The PPD name. </para></listitem> </varlistentry> <varlistentry> <term>Name s</term> <listitem><para> The name of the page setup. </para></listitem> </varlistentry> <varlistentry> <term>DisplayName s</term> <listitem><para> User-visible name for the page setup. </para></listitem> </varlistentry> <varlistentry> <term>Width d</term> <listitem><para> Paper width in millimeters. </para></listitem> </varlistentry> <varlistentry> <term>Height d</term> <listitem><para> Paper height in millimeters. </para></listitem> </varlistentry> <varlistentry> <term>MarginTop d</term> <listitem><para> Top margin in millimeters. </para></listitem> </varlistentry> <varlistentry> <term>MarginBottom d</term> <listitem><para> Bottom margin in millimeters. </para></listitem> </varlistentry> <varlistentry> <term>MarginLeft d</term> <listitem><para> Left margin in millimeters. </para></listitem> </varlistentry> <varlistentry> <term>MarginRight d</term> <listitem><para> Right margin in millimeters. </para></listitem> </varlistentry> <varlistentry> <term>Orientation s</term> <listitem><para> Orientation, one of portrait, landscape, reverse-portrait or reverse-landscape. </para></listitem> </varlistentry> </variablelist> --> <method name="PreparePrint"> <arg type="s" name="parent_window" direction="in"/> <arg type="s" name="title" direction="in"/> <arg type="a{sv}" name="settings" direction="in"/> <arg type="a{sv}" name="page_setup" direction="in"/> <arg type="a{sv}" name="options" direction="in"/> <arg type="o" name="handle" direction="out"/> </method> <property name="version" type="u" access="read"/> </interface> </node>
Save
cmd:
run