diff options
author | Brian Cameron <brian.cameron@sun.com> | 2006-10-30 18:14:49 +0000 |
---|---|---|
committer | Brian Cameron <bcameron@src.gnome.org> | 2006-10-30 18:14:49 +0000 |
commit | a6865f4468460545f14784c8b7063ebbffbb2100 (patch) | |
tree | a91481d2dd6cbbb43794aff85ee5aebc9baec22f /docs/C | |
parent | 48320ec6774f9cb010631e636871ce5f167a093d (diff) | |
download | gdm-a6865f4468460545f14784c8b7063ebbffbb2100.tar.gz |
Add new QUERY_CUSTOM_CMD_LABELS and QUERY_CUSTOM_CMD_NO_RESTART_STATUS
2006-10-30 Brian Cameron <brian.cameron@sun.com>
* config/gdm.conf.in, daemon/gdm.c, daemon/gdm.h,
daemon/gdmconfig.c, docs/C/gdm.xml, gui/gdmlogin.c,
gui/greeter/greeter.c, gui/greeter/greeter_item.c,
gui/greeter/greeter_configuration.h,
gui/greeter/greeter_system.c: Add new QUERY_CUSTOM_CMD_LABELS
and QUERY_CUSTOM_CMD_NO_RESTART_STATUS commands and the
new CustomCommandIsPersistent[0-9]
Diffstat (limited to 'docs/C')
-rw-r--r-- | docs/C/gdm.xml | 82 |
1 files changed, 77 insertions, 5 deletions
diff --git a/docs/C/gdm.xml b/docs/C/gdm.xml index 9deeedcf..b36a3fd0 100644 --- a/docs/C/gdm.xml +++ b/docs/C/gdm.xml @@ -3999,6 +3999,23 @@ gdm:.my.domain </varlistentry> <varlistentry> + <term>CustomCommandIsPersistent[0-9]</term> + <listitem> + <synopsis>CustomCommandIsPersistent[0-9]=</synopsis> + <para> + Specifies if <filename>n-th</filename> "Custom + Command" will appear outside the login manager, for + example on the desktop through the Log Out/Shut Down dialogs. + If not specified the default value is "false". This + option is only valid if corresponding + <filename>CustomCommand</filename> is defined. [0-9] represents + <filename>CustomCommand</filename> suffix and can be an integer + between 0 and 9. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term>CustomCommandLabel[0-9]</term> <listitem> <synopsis>CustomCommandLabel[0-9]=</synopsis> @@ -4006,10 +4023,11 @@ gdm:.my.domain Specifies the stock label that will be displayed on the <filename>n-th</filename> "Custom Command" buttons and menu items. If not specified the default value is - "_Custom[0-9]". This option is only valid if + "Custom_[0-9]". This option is only valid if corresponding <filename>CustomCommand</filename> is defined. [0-9] represents <filename>CustomCommand</filename> suffix - and can be an integer between 0 and 9. + and can be an integer between 0 and 9. This option can't contain + any semicolon characters (i.e. ";"). </para> </listitem> </varlistentry> @@ -4022,7 +4040,7 @@ gdm:.my.domain Specifies the stock label that will be displayed on the <filename>n-th</filename> "Custom Command" list items and radio buttons. If not specified the default - value is "Execute _custom command [0-9]". This + value is "Execute custom command _[0-9]". This option is only valid if corresponding <filename>CustomCommand</filename> is defined. [0-9] represents <filename>CustomCommand</filename> suffix and @@ -4042,7 +4060,14 @@ gdm:.my.domain "false". This option is only valid if corresponding <filename>CustomCommand</filename> is defined. [0-9] represents <filename>CustomCommand</filename> suffix and - can be an integer between 0 and 9. + can be an integer between 0 and 9. In addition when + corresponding <filename>CustomCommandIsPersistent</filename> + is set to true, setting CustomCommandNoRestart to false will + place corresponding <filename>CustomCommand</filename> in the + Shut Down dialog set of actions, setting it to true will place + corresponding + <filename>CustomCommand</filename> in the Log Out dialog set of + actions. </para> </listitem> </varlistentry> @@ -4796,6 +4821,50 @@ Answers: </screen> </sect3> + <sect3 id="querycustomcmdlabels"> + <title>QUERY_CUSTOM_CMD_LABELS</title> +<screen> + QUERY_CUSTOM_CMD_LABELS: Query labels belonging to exported custom + commands Only supported on connections that + passed AUTH_LOCAL. + Supported since: 2.5.90.0 + Answers: + OK <label1>;<label2>;... + Where labelX is one of the labels belonging to CUSTOM_CMDX + (where X in [0,GDM_CUSTOM_COMMAND_MAX)). An empty list can + also be returned if none of the custom commands are exported + outside login manager (no CustomCommandIsPersistent options + are set to true). + ERROR <err number> <english error description> + 0 = Not implemented + 100 = Not authenticated + 200 = Too many messages + 999 = Unknown error +</screen> + </sect3> + + <sect3 id="querycustomcmdnorestartstatus"> + <title>QUERY_CUSTOM_CMD_NO_RESTART_STATUS</title> +<screen> +QUERY_CUSTOM_CMD_NO_RESTART_STATUS: Query NoRestart config options + for each of custom commands Only + supported on connections that + passed AUTH_LOCAL. +Supported since: 2.5.90.0 +Answers: + OK <status> + Where each bit of the status represents NoRestart value for + each of the custom commands. + bit on (1): NoRestart = true, + bit off (0): NoRestart = false. + ERROR <err number> <english error description> + 0 = Not implemented + 100 = Not authenticated + 200 = Too many messages + 999 = Unknown error +</screen> + </sect3> + <sect3 id="queryvt"> <title>QUERY_VT</title> <screen> @@ -6530,7 +6599,7 @@ homogeneous="bool"> <filename>config</filename>, _("_Configure" </para> <para> - <filename>custom_cmd[0-9]</filename>, _("_Custom[0-9]" + <filename>custom_cmd[0-9]</filename>, _("Custom_[0-9]" </para> <para> <filename>disconnect</filename>, _("D_isconnect" @@ -7084,6 +7153,7 @@ Hosts=appserverone,appservertwo CustomCommandLRLabel0=Reboot into _Windoze CustomCommandText0=Are you sure you want to restart the computer into Windoze? CustomCommandTooltip0=Restarts the computer into Windoze + CustomCommandIsPersistent0=true </screen> CustomCommand0 specifies two commands separated by a semicolon: @@ -7122,6 +7192,7 @@ Hosts=appserverone,appservertwo CustomCommandLRLabel0=Reboot into _Windoze CustomCommandText0=Are you sure you want to restart the computer into Windoze? CustomCommandTooltip0=Restarts the computer into Windoze + CustomCommandIsPersistent0=true CustomCommand1=/sbin/updatesystem;/usr/local/sbin/updatesystem CustomCommandLabel1=_Update Me @@ -7142,6 +7213,7 @@ Hosts=appserverone,appservertwo CustomCommandLRLabel0=Reboot into _Windoze CustomCommandText0=Are you sure you want to restart the computer into Windoze? CustomCommandTooltip0=Restarts the computer into Windoze + CustomCommandIsPersistent0=true CustomCommand1=/sbin/updatesystem;/usr/local/sbin/updatesystem CustomCommandLabel1=_Update Me |