diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-12-04 15:16:54 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-12-16 10:54:57 +0100 |
commit | ce6b138c7576df55ede15f5d8b02a1766449bd1f (patch) | |
tree | 46e11f6d542e4847a756a0b98a5a52f64388236d /man/org.freedesktop.hostname1.xml | |
parent | man/hostnamectl,hostaned,hostname1: adjust the docs to match reality (diff) | |
download | systemd-ce6b138c7576df55ede15f5d8b02a1766449bd1f.tar.xz systemd-ce6b138c7576df55ede15f5d8b02a1766449bd1f.zip |
hostnamed: expose the fallback-hostname setting as a const dbus property
Various users want to know what the fallback hostname is. Since it was made
configurable in 8146c32b9264a6915d467a5cab1a24311fbede7e, we didn't expose this
nicely.
Diffstat (limited to 'man/org.freedesktop.hostname1.xml')
-rw-r--r-- | man/org.freedesktop.hostname1.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/man/org.freedesktop.hostname1.xml b/man/org.freedesktop.hostname1.xml index c715bad593..8e5c37345d 100644 --- a/man/org.freedesktop.hostname1.xml +++ b/man/org.freedesktop.hostname1.xml @@ -62,6 +62,8 @@ node /org/freedesktop/hostname1 { readonly s Hostname = '...'; readonly s StaticHostname = '...'; readonly s PrettyHostname = '...'; + @org.freedesktop.DBus.Property.EmitsChangedSignal("const") + readonly s FallbackHostname = '...'; readonly s IconName = '...'; readonly s Chassis = '...'; readonly s Deployment = '...'; @@ -113,6 +115,8 @@ node /org/freedesktop/hostname1 { <variablelist class="dbus-property" generated="True" extra-ref="PrettyHostname"/> + <variablelist class="dbus-property" generated="True" extra-ref="FallbackHostname"/> + <variablelist class="dbus-property" generated="True" extra-ref="IconName"/> <variablelist class="dbus-property" generated="True" extra-ref="Chassis"/> @@ -164,6 +168,9 @@ node /org/freedesktop/hostname1 { set this setting will be the empty string. Applications should then find a suitable fallback, such as the dynamic hostname.</para> + <para>The <varname>FallbackHostname</varname> property exposes the fallback hostname (configured at + compilation time).</para> + <para>The <varname>IconName</varname> property exposes the <emphasis>icon name</emphasis> following the XDG icon naming spec. If not set, information such as the chassis type (see below) is used to find a suitable fallback icon name (i.e. <literal>computer-laptop</literal> |