spiegel-keyman/linux/keyman-system-service/src/com.keyman.SystemService1.System.xml
Eberhard Beilharz ec2373acd5
fix(linux): start system service when switching keyboards
This change fixes #13171 where we failed to output after the first keypress
because the keyman system service had to be started. This change introduces
a new method `Ping` that we call to force keyman-system-service to be
started.

Fixes: #13171
2025-02-10 16:30:20 +01:00

46 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<!-- Should be installed in /usr/share/dbus-1/interfaces/com.keyman.SystemService1.System.xml -->
<!-- See https://dbus.freedesktop.org/doc/dbus-api-design.html -->
<!DOCTYPE node PUBLIC
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="com.keyman.SystemService1.System">
<!--
SetCapsLockIndicator:
@state: %FALSE = turn off the capslock indicator, %TRUE = turn it on
Set the capslock indicator.
-->
<method name="SetCapsLockIndicator">
<arg name="state" type="b" direction="in" />
</method>
<!--
GetCapsLockIndicator:
@state: %FALSE = capslock is off, %TRUE = capslock is on
Gets the state of the capslock indicator.
-->
<method name="GetCapsLockIndicator">
<arg name="state" type="b" direction="out" />
</method>
<!--
CallOrderedOutputSentinel:
Press the ordered output sentinel key to serialize the output.
-->
<method name="CallOrderedOutputSentinel">
</method>
<!--
Ping:
Verifies that the keyman-system-service is started and available
-->
<method name="Ping">
</method>
</interface>
</node>