]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - man/org.freedesktop.locale1.xml
man: fix link markup
[thirdparty/systemd.git] / man / org.freedesktop.locale1.xml
index 94c96456f97c7115e4b9f979f668e5d33affcbe9..3956eaf8a7b8c1f58189a4bb3d2461f3562ba1e4 100644 (file)
 
     <para>The service exposes the following interfaces on the bus:</para>
 
-    <programlisting>
-$ gdbus introspect --system \
-        --dest org.freedesktop.locale1 \
-        --object-path /org/freedesktop/locale1
-
+    <programlisting executable="systemd-localed" node="/org/freedesktop/locale1" interface="org.freedesktop.locale1">
 node /org/freedesktop/locale1 {
   interface org.freedesktop.locale1 {
     methods:
@@ -69,27 +65,55 @@ node /org/freedesktop/locale1 {
 };
     </programlisting>
 
+    <!--Autogenerated cross-references for systemd.directives, do not edit-->
+
+    <variablelist class="dbus-interface" generated="True" extra-ref="org.freedesktop.locale1"/>
+
+    <variablelist class="dbus-interface" generated="True" extra-ref="org.freedesktop.locale1"/>
+
+    <variablelist class="dbus-method" generated="True" extra-ref="SetLocale()"/>
+
+    <variablelist class="dbus-method" generated="True" extra-ref="SetVConsoleKeyboard()"/>
+
+    <variablelist class="dbus-method" generated="True" extra-ref="SetX11Keyboard()"/>
+
+    <variablelist class="dbus-property" generated="True" extra-ref="Locale"/>
+
+    <variablelist class="dbus-property" generated="True" extra-ref="X11Layout"/>
+
+    <variablelist class="dbus-property" generated="True" extra-ref="X11Model"/>
+
+    <variablelist class="dbus-property" generated="True" extra-ref="X11Variant"/>
+
+    <variablelist class="dbus-property" generated="True" extra-ref="X11Options"/>
+
+    <variablelist class="dbus-property" generated="True" extra-ref="VConsoleKeymap"/>
+
+    <variablelist class="dbus-property" generated="True" extra-ref="VConsoleKeymapToggle"/>
+
+    <!--End of Autogenerated section-->
+
     <refsect2>
       <title>Methods</title>
 
-      <para>If you set a new system locale all old system locale settings will be dropped, and the new
-      settings will be saved to disk. It will also be passed to the system manager, and subsequently started
+      <para>If you set a new system locale all old system locale settings will be dropped and the new
+      settings will be saved to disk. The locale will also be passed to the system manager, and subsequently started
       daemons will inherit the new system locale. Note that already running daemons will not learn about the
       new value.</para>
 
-      <para>The <function>SetVConsoleKeyboard()</function> call may be used to set the key mapping on the
+      <para>The <function>SetVConsoleKeyboard()</function> method may be used to set the key mapping for the
       virtual console. Similarly, <function>SetX11Keyboard()</function> may be used to set the default key
-      mapping of the X11 servers.</para>
+      mapping of any X11 servers.</para>
 
-      <para>Note that <function>SetVConsoleKeyboard()</function> instantly applies the new keymapping to the
+      <para>Note that <function>SetVConsoleKeyboard()</function> instantly applies the new key mapping to the
       console, while <function>SetX11Keyboard()</function> simply sets a default that may be used by later
       sessions.</para>
 
       <para>The boolean argument <varname>convert</varname> may be set to optionally convert the console
       keyboard configuration to X11 keyboard mappings and vice versa. If true and
-      <function>SetVConsoleKeyboard()</function> is used the nearest X11 keyboard setting for the chosen
+      <function>SetVConsoleKeyboard()</function> is used, the nearest X11 keyboard setting for the chosen
       console setting is set. If true and <function>SetX11Keyboard()</function> is used, the nearest console
-      keyboard setting for the chosen X11 setting is set. Usually it is hence sufficient to call one of the
+      keyboard setting for the chosen X11 setting is set. Hence, it is usually sufficient to call only one of the
       two functions.</para>
 
       <para>For graphical UIs that need to set the system keyboard mapping simply invoke
@@ -98,8 +122,9 @@ node /org/freedesktop/locale1 {
 
       <para>Use the empty string for the keymap parameters you wish not to set.</para>
 
-      <para>The <varname>interactive</varname> boolean parameters can be used to control whether PolicyKit
-      should interactively ask the user for authentication credentials if it needs to.</para>
+      <para>The <varname>interactive</varname> boolean parameters can be used to control whether
+      <ulink url="https://www.freedesktop.org/software/polkit/docs/latest/">polkit</ulink>
+      should interactively ask the user for authentication credentials if required.</para>
     </refsect2>
 
     <refsect2>
@@ -124,7 +149,7 @@ node /org/freedesktop/locale1 {
       <varname>X11Options</varname> properties show values configurable with
       <function>SetX11Keyboard()</function> described above (or <function>SetVConsoleKeyboard()</function>
       with <varname>convert=true</varname>). The <varname>VConsoleKeymap</varname> and
-      <varname>VConsoleKeymapToggle</varname> propries sohw values configurable with
+      <varname>VConsoleKeymapToggle</varname> properties show values configurable with
       <function>SetVConsoleKeyboard()</function> (or <function>SetX11Keyboard()</function> with
       <varname>convert=true</varname>).</para>
     </refsect2>
@@ -132,14 +157,28 @@ node /org/freedesktop/locale1 {
     <refsect2>
       <title>Security</title>
 
-      <para>Changing the system locale or keymap using this interface is authenticated via PolicyKit. The
-      PolicyKit action for <function>SetLocale()</function> is
-      <constant>org.freedesktop.locale1.set-locale</constant>. The PolicyKit action for
+      <para>Changing the system locale or keymap using this interface is authenticated via polkit. The
+      polkit action for <function>SetLocale()</function> is
+      <constant>org.freedesktop.locale1.set-locale</constant>. The polkit action for
       <function>SetX11Keyboard()</function> and <function>SetVConsoleKeyboard()</function> is
       <constant>org.freedesktop.locale1.set-keyboard</constant>.</para>
     </refsect2>
   </refsect1>
 
+  <refsect1>
+    <title>Examples</title>
+
+    <example>
+      <title>Introspect <interfacename>org.freedesktop.locale1</interfacename> on the bus</title>
+
+      <programlisting>
+$ gdbus introspect --system \
+  --dest org.freedesktop.locale1 \
+  --object-path /org/freedesktop/locale1
+      </programlisting>
+    </example>
+  </refsect1>
+
   <refsect1>
     <title>Versioning</title>