2017-06-21 06:23:44 +00:00
|
|
|
<!DOCTYPE node PUBLIC
|
|
|
|
'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
|
|
|
|
'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
|
|
|
|
<node>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
org.gnome.Mutter.RemoteDesktop:
|
|
|
|
@short_description: Remote desktop interface
|
2018-01-29 06:52:06 +00:00
|
|
|
|
|
|
|
This API is private and not intended to be used outside of the integrated
|
|
|
|
system that uses libmutter. No compatibility between versions are
|
|
|
|
promised.
|
2017-06-21 06:23:44 +00:00
|
|
|
-->
|
|
|
|
<interface name="org.gnome.Mutter.RemoteDesktop">
|
|
|
|
|
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
CreateSession:
|
|
|
|
@session_path: Path to the new session object
|
2017-06-21 06:23:44 +00:00
|
|
|
-->
|
|
|
|
<method name="CreateSession">
|
|
|
|
<arg name="session_path" type="o" direction="out" />
|
|
|
|
</method>
|
|
|
|
|
2018-01-29 06:51:01 +00:00
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
SupportedDeviceTypes:
|
|
|
|
@short_description: Bit mask of supported device types
|
2018-01-29 06:51:01 +00:00
|
|
|
|
2022-01-25 10:05:47 +00:00
|
|
|
Device types:
|
|
|
|
1: keyboard
|
|
|
|
2: pointer
|
|
|
|
4: touchscreen
|
2018-01-29 06:51:01 +00:00
|
|
|
-->
|
|
|
|
<property name="SupportedDeviceTypes" type="u" access="read" />
|
|
|
|
|
2018-01-29 06:52:06 +00:00
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
Version:
|
|
|
|
@short_description: API version
|
2018-01-29 06:52:06 +00:00
|
|
|
-->
|
|
|
|
<property name="Version" type="i" access="read" />
|
|
|
|
|
2017-06-21 06:23:44 +00:00
|
|
|
</interface>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
org.gnome.Mutter.RemoteDesktop.Session:
|
|
|
|
@short_description: Remote desktop session
|
|
|
|
-->
|
|
|
|
<interface name="org.gnome.Mutter.RemoteDesktop.Session">
|
|
|
|
|
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
SessionId:
|
2017-06-21 06:23:44 +00:00
|
|
|
|
2022-01-25 10:05:47 +00:00
|
|
|
An identification string used for identifying a remote desktop session.
|
|
|
|
It can be used to associate screen cast sessions with a remote desktop
|
|
|
|
session.
|
2017-06-21 06:23:44 +00:00
|
|
|
-->
|
|
|
|
<property name="SessionId" type="s" access="read" />
|
|
|
|
|
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
Start:
|
2017-06-21 06:23:44 +00:00
|
|
|
|
2022-01-25 10:05:47 +00:00
|
|
|
Start the remote desktop session
|
2017-06-21 06:23:44 +00:00
|
|
|
-->
|
|
|
|
<method name="Start" />
|
|
|
|
|
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
Stop:
|
2017-06-21 06:23:44 +00:00
|
|
|
|
2022-01-25 10:05:47 +00:00
|
|
|
Stop the remote desktop session
|
2017-06-21 06:23:44 +00:00
|
|
|
-->
|
|
|
|
<method name="Stop" />
|
|
|
|
|
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
Closed:
|
2017-06-21 06:23:44 +00:00
|
|
|
|
2022-01-25 10:05:47 +00:00
|
|
|
The session has closed.
|
2017-06-21 06:23:44 +00:00
|
|
|
|
2022-01-25 10:05:47 +00:00
|
|
|
A session doesn't have to have been started before it may be closed.
|
|
|
|
After it being closed, it can no longer be used.
|
2017-06-21 06:23:44 +00:00
|
|
|
-->
|
|
|
|
<signal name="Closed" />
|
|
|
|
|
2018-01-29 06:38:13 +00:00
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
NotifyKeyboardKeycode:
|
2018-01-29 06:38:13 +00:00
|
|
|
|
2022-01-25 10:05:47 +00:00
|
|
|
A key identified by an evdev keycode was pressed or released
|
2018-01-29 06:38:13 +00:00
|
|
|
-->
|
|
|
|
<method name="NotifyKeyboardKeycode">
|
|
|
|
<arg name="keycode" type="u" direction="in" />
|
|
|
|
<arg name="state" type="b" direction="in" />
|
|
|
|
</method>
|
|
|
|
|
2017-06-21 06:23:44 +00:00
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
NotifyKeyboardKeysym:
|
2017-06-21 06:23:44 +00:00
|
|
|
|
2022-01-25 10:05:47 +00:00
|
|
|
A key identified by a keysym was pressed or released
|
2017-06-21 06:23:44 +00:00
|
|
|
-->
|
|
|
|
<method name="NotifyKeyboardKeysym">
|
|
|
|
<arg name="keysym" type="u" direction="in" />
|
|
|
|
<arg name="state" type="b" direction="in" />
|
|
|
|
</method>
|
|
|
|
|
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
NotifyPointerButton:
|
2017-06-21 06:23:44 +00:00
|
|
|
|
2022-01-25 10:05:47 +00:00
|
|
|
A pointer button was pressed or released
|
2017-06-21 06:23:44 +00:00
|
|
|
-->
|
|
|
|
<method name="NotifyPointerButton">
|
|
|
|
<arg name="button" type="i" direction="in" />
|
|
|
|
<arg name="state" type="b" direction="in" />
|
|
|
|
</method>
|
|
|
|
|
2018-01-29 06:40:28 +00:00
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
NotifyPointerAxis:
|
|
|
|
|
|
|
|
A smooth pointer axis event notification. Relative motion deltas are to
|
|
|
|
be interpreted as pixel movement of a standardized mouse.
|
|
|
|
|
|
|
|
Additionally to the smooth pointer axis event notification, an emulated
|
|
|
|
discrete pointer axis event notification is emitted based on the
|
|
|
|
submitted accumulated smooth scrolling steps.
|
|
|
|
The base for these emulated discrete pointer axis event is the discrete
|
|
|
|
step with the value 10.0.
|
|
|
|
This means that for a delta dx (or dy) with the value 10.0 one emulated
|
|
|
|
discrete scrolling event is emitted.
|
|
|
|
For a high resolution smooth pointer axis event, a smaller value is
|
|
|
|
submitted for each scrolling step.
|
|
|
|
This means: For a double resolution mouse wheel one emulated discrete
|
|
|
|
event is emitted for 2 smooth pointer axis events with each having the
|
|
|
|
value 5.0.
|
|
|
|
|
|
|
|
Possible @flags:
|
|
|
|
1: finish - scroll motion was finished (e.g. fingers lifted)
|
|
|
|
2: source_wheel - The scroll event is originated by a mouse wheel.
|
|
|
|
4: source_finger - The scroll event is originated by one or more
|
|
|
|
fingers on the device (eg. touchpads).
|
|
|
|
8: source_continuous - The scroll event is originated by the motion
|
|
|
|
of some device (eg. a scroll button is set).
|
|
|
|
|
|
|
|
Maximum one of the @flags 'source_wheel', 'source_finger',
|
|
|
|
'source_continuous' may be specified.
|
|
|
|
If no source flag is specified, `source_finger` is assumed.
|
2018-01-29 06:40:28 +00:00
|
|
|
-->
|
|
|
|
<method name="NotifyPointerAxis">
|
|
|
|
<arg name="dx" type="d" direction="in" />
|
|
|
|
<arg name="dy" type="d" direction="in" />
|
|
|
|
<arg name="flags" type="u" direction="in" />
|
|
|
|
</method>
|
2019-05-22 09:30:03 +00:00
|
|
|
|
2017-06-21 06:23:44 +00:00
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
NotifyPointerAxisDiscrete:
|
2017-06-21 06:23:44 +00:00
|
|
|
|
2022-01-25 10:05:47 +00:00
|
|
|
A discrete pointer axis event notification
|
2017-06-21 06:23:44 +00:00
|
|
|
-->
|
|
|
|
<method name="NotifyPointerAxisDiscrete">
|
|
|
|
<arg name="axis" type="u" direction="in" />
|
|
|
|
<arg name="steps" type="i" direction="in" />
|
|
|
|
</method>
|
|
|
|
|
2018-01-29 06:40:57 +00:00
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
NotifyPointerMotionRelative:
|
2018-01-29 06:40:57 +00:00
|
|
|
|
2022-01-25 10:05:47 +00:00
|
|
|
A relative pointer motion event notification
|
2018-01-29 06:40:57 +00:00
|
|
|
-->
|
|
|
|
<method name="NotifyPointerMotionRelative">
|
|
|
|
<arg name="dx" type="d" direction="in" />
|
|
|
|
<arg name="dy" type="d" direction="in" />
|
|
|
|
</method>
|
|
|
|
|
2017-06-21 06:23:44 +00:00
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
NotifyPointerMotionAbsolute:
|
2017-06-21 06:23:44 +00:00
|
|
|
|
2022-01-25 10:05:47 +00:00
|
|
|
A absolute pointer motion event notification
|
2017-06-21 06:23:44 +00:00
|
|
|
-->
|
|
|
|
<method name="NotifyPointerMotionAbsolute">
|
|
|
|
<arg name="stream" type="s" direction="in" />
|
|
|
|
<arg name="x" type="d" direction="in" />
|
|
|
|
<arg name="y" type="d" direction="in" />
|
|
|
|
</method>
|
|
|
|
|
2018-01-29 06:44:03 +00:00
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
NotifyTouchDown:
|
2018-01-29 06:44:03 +00:00
|
|
|
|
2022-01-25 10:05:47 +00:00
|
|
|
A absolute pointer motion event notification
|
2018-01-29 06:44:03 +00:00
|
|
|
-->
|
|
|
|
<method name="NotifyTouchDown">
|
|
|
|
<arg name="stream" type="s" direction="in" />
|
|
|
|
<arg name="slot" type="u" direction="in" />
|
|
|
|
<arg name="x" type="d" direction="in" />
|
|
|
|
<arg name="y" type="d" direction="in" />
|
|
|
|
</method>
|
|
|
|
|
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
NotifyTouchMotion:
|
2018-01-29 06:44:03 +00:00
|
|
|
|
2022-01-25 10:05:47 +00:00
|
|
|
A absolute pointer motion event notification
|
2018-01-29 06:44:03 +00:00
|
|
|
-->
|
|
|
|
<method name="NotifyTouchMotion">
|
|
|
|
<arg name="stream" type="s" direction="in" />
|
|
|
|
<arg name="slot" type="u" direction="in" />
|
|
|
|
<arg name="x" type="d" direction="in" />
|
|
|
|
<arg name="y" type="d" direction="in" />
|
|
|
|
</method>
|
|
|
|
|
|
|
|
<!--
|
2022-01-25 10:05:47 +00:00
|
|
|
NotifyTouchUp:
|
2018-01-29 06:44:03 +00:00
|
|
|
|
2022-01-25 10:05:47 +00:00
|
|
|
A absolute pointer motion event notification
|
2018-01-29 06:44:03 +00:00
|
|
|
-->
|
|
|
|
<method name="NotifyTouchUp">
|
|
|
|
<arg name="slot" type="u" direction="in" />
|
|
|
|
</method>
|
|
|
|
|
2020-10-13 15:38:42 +00:00
|
|
|
<!--
|
|
|
|
EnableClipboard:
|
|
|
|
@options: Options for the clipboard
|
|
|
|
|
|
|
|
Available @options include:
|
|
|
|
|
|
|
|
* "mime-types" (as): List of mime types, for which the clipboard of the
|
|
|
|
remote desktop client has content.
|
|
|
|
Each mime-type is in string form, e.g. "image/jpeg",
|
|
|
|
"text/plain", etc..
|
|
|
|
If this list is included in @options, then this call
|
|
|
|
is equivalent to calling 'EnableClipboard' and
|
|
|
|
'SetSelection' atomically.
|
|
|
|
|
|
|
|
Enables the clipboard for the remote desktop client which will allow it
|
|
|
|
to call the methods 'SetSelection', 'DisableClipboard', 'SelectionWrite',
|
|
|
|
'SelectionWriteDone', 'SelectionRead'.
|
|
|
|
The 'SelectionOwnerChanged' signal will also be emitted when the
|
|
|
|
selection owner changes to inform the API user of new clipboard mime
|
|
|
|
types, and the 'SelectionTransfer' signal will be emitted to request the
|
|
|
|
advertised clipboard content of a mime type.
|
|
|
|
-->
|
|
|
|
<method name="EnableClipboard">
|
|
|
|
<arg name="options" type="a{sv}" direction="in" />
|
|
|
|
</method>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
DisableClipboard:
|
|
|
|
|
|
|
|
Unregisters all clipboard types that were advertised by the
|
|
|
|
remote desktop client.
|
|
|
|
The 'SelectionOwnerChanged' or 'SelectionTransfer' signals will not be
|
|
|
|
emitted any more.
|
|
|
|
Any 'SelectionTransfer' signals that weren't answered yet with a
|
|
|
|
'SelectionWriteDone' call, will be answered with a 'SelectionWriteDone'
|
|
|
|
call where 'success' is 'false'.
|
|
|
|
-->
|
|
|
|
<method name="DisableClipboard" />
|
|
|
|
|
|
|
|
<!--
|
|
|
|
SetSelection:
|
|
|
|
@options: Options for the clipboard selection
|
|
|
|
|
|
|
|
Available @options include:
|
|
|
|
|
|
|
|
* "mime-types" (as): List of mime types, for which the clipboard of the
|
|
|
|
remote desktop client has content.
|
|
|
|
Each mime-type is in string form, e.g. "image/jpeg",
|
|
|
|
"text/plain", etc..
|
|
|
|
|
|
|
|
Sets the owner of the clipboard formats in 'mime-types' in @options to
|
|
|
|
the remote desktop client, i.e. the remote desktop client has data for
|
|
|
|
these advertised clipboard formats.
|
|
|
|
-->
|
|
|
|
<method name="SetSelection">
|
|
|
|
<arg name="options" type="a{sv}" direction="in" />
|
|
|
|
</method>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
SelectionWrite:
|
|
|
|
@serial: The serial of the request where this answer is directed to
|
|
|
|
@fd: The file descriptor where the data will be written to
|
|
|
|
|
|
|
|
Answer to 'SelectionTransfer' signal. Contains the fd where the clipboard
|
|
|
|
content will be written to.
|
|
|
|
-->
|
|
|
|
<method name="SelectionWrite">
|
|
|
|
<arg name="serial" type="u" direction="in" />
|
|
|
|
<annotation name="org.gtk.GDBus.C.UnixFD" value="true"/>
|
|
|
|
<arg name="fd" type="h" direction="out" />
|
|
|
|
</method>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
SelectionWriteDone:
|
|
|
|
@serial: The serial of the request where this answer is directed to
|
|
|
|
@success: A boolean which indicates whether the transfer of the clipboard
|
|
|
|
data was successful ('true') or not ('false').
|
|
|
|
|
|
|
|
Notifies that the transfer of the clipboard data has either completed
|
|
|
|
successfully, or failed.
|
|
|
|
-->
|
|
|
|
<method name="SelectionWriteDone">
|
|
|
|
<arg name="serial" type="u" direction="in" />
|
|
|
|
<arg name="success" type="b" direction="in" />
|
|
|
|
</method>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
SelectionRead:
|
|
|
|
@mime_type: The mime-type string of the requested format
|
|
|
|
@fd: The file descriptor where the data will be written to
|
|
|
|
|
|
|
|
Transfer the clipboard content given the specified mime type to the
|
|
|
|
method caller via a file descriptor.
|
|
|
|
It is the callee that creates the file descriptor.
|
|
|
|
-->
|
|
|
|
<method name="SelectionRead">
|
|
|
|
<arg name="mime_type" type="s" direction="in" />
|
|
|
|
<annotation name="org.gtk.GDBus.C.UnixFD" value="true"/>
|
|
|
|
<arg name="fd" type="h" direction="out" />
|
|
|
|
</method>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
SelectionOwnerChanged:
|
|
|
|
@options: Options for the clipboard selection
|
|
|
|
|
|
|
|
Available @options include:
|
|
|
|
|
|
|
|
* "mime-types" (as): List of mime types, for which the clipboard of the
|
|
|
|
remote desktop client has content.
|
|
|
|
Each mime-type is in string form, e.g. "image/jpeg",
|
|
|
|
"text/plain", etc..
|
|
|
|
* "session-is-owner" (b): 'true', if the remote desktop clients clipboard
|
|
|
|
is already owner of these types, else 'false'.
|
|
|
|
|
|
|
|
Informs the remote desktop client of new clipboard formats that are
|
|
|
|
available.
|
|
|
|
-->
|
|
|
|
<signal name="SelectionOwnerChanged">
|
|
|
|
<arg name="options" type="a{sv}" direction="in" />
|
|
|
|
</signal>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
SelectionTransfer:
|
|
|
|
@mime_type: The mime-type string of the requested format
|
|
|
|
@serial: The serial, that the answer of this particular request, MUST use
|
|
|
|
|
|
|
|
Requests the data for a clipboard format from the remote desktop client.
|
|
|
|
MUST NOT be called when the remote desktop clients clipboard is (already)
|
|
|
|
disabled.
|
|
|
|
-->
|
|
|
|
<signal name="SelectionTransfer">
|
|
|
|
<arg name="mime_type" type="s" direction="in" />
|
|
|
|
<arg name="serial" type="u" direction="in" />
|
|
|
|
</signal>
|
|
|
|
|
2021-02-23 08:05:44 +00:00
|
|
|
<property name="CapsLockState" type="b" access="read" />
|
|
|
|
<property name="NumLockState" type="b" access="read" />
|
|
|
|
|
2017-06-21 06:23:44 +00:00
|
|
|
</interface>
|
|
|
|
|
|
|
|
</node>
|