summaryrefslogtreecommitdiffstats
path: root/gnome-users-guide/gnome-users-guide-1.4/C/applets/clock-ug.sgml
blob: 9968693aef62f659ccb6b7ca3e9ee408a4c97de0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
 <sect2 id="clock">
  <title>Clock Applet</title>

   <para>
   <application>Clock</application> applet, shown in <xref
   linkend="clockapplet-fig">, is a simple applet which shows the
   time (and optionally the date too) in any of several formats.  To
   add this applet to a <interface>Panel</interface>, 
   right-click on the <interface>Panel</interface> and choose
   <menuchoice>
    <guimenu>Panel</guimenu>
    <guisubmenu>Add to panel</guisubmenu>
    <guisubmenu>Applet</guisubmenu>
    <guisubmenu>Clocks</guisubmenu>
    <guimenuitem>Clock</guimenuitem>
   </menuchoice>.
  </para>

  <figure id="clockapplet-fig">
   <title>Clock Applet</title>
   <screenshot>
    <screeninfo>Clock Applet</screeninfo>
    <graphic format="png" fileref="figures/clock_applet" 
    srccredit="muet">
    </graphic>
   </screenshot>
  </figure>

  <!-- ============= Usage  ================================ -->
  <sect3 id="clock-usage">
   <title>Usage</title>
   <para>
    <application>Clock</application> applet requires no user
    input. You may optionally configure it, as described below. 
   </para>

   <para>
    Right-clicking on the applet brings up a menu containing the
    following items:
    <itemizedlist>

     <listitem>
      <para>
       <guimenuitem>Properties&hellip;</guimenuitem> &mdash;
       opens the <link linkend="clock-prefs">
       <guilabel>Properties</guilabel></link> dialog.
      </para>
     </listitem>

     <listitem>
      <para>
       <guimenuitem>Help</guimenuitem> &mdash;
       displays this document.
      </para>
     </listitem>

     <listitem>
      <para>
       <guimenuitem>About&hellip;</guimenuitem> &mdash;
       shows basic information about <application>Clock
       Applet</application>, including the applet's version and the
       author's name.
      </para>
     </listitem>

    </itemizedlist>
   </para>
  </sect3>


  <!-- ============= Customization ============================= -->
  <sect3 id="clock-prefs">
    <title>Customization</title>
    <para>
      You can customize <application>Clock</application>
      applet by right-clicking on it and choosing
      <guimenuitem>Properties&hellip;</guimenuitem>. This will open the
      <interface>Properties</interface> dialog(shown in <xref
      linkend="clock-settings-fig">), which allows you to
      change various settings.
    </para>

    <figure id="clock-settings-fig">
     <title>Properties dialog</title>
     <screenshot>
      <screeninfo>Properties dialog</screeninfo>
      <graphic format="png" fileref="figures/clock_settings"
      srccredit="muet">
      </graphic>
     </screenshot>
    </figure>

    <para>
     The properties are:
     <itemizedlist>

      <listitem>
       <para>
        Time Format &mdash; Select either <guilabel>12 hour</guilabel>
        format for <quote>AM/PM</quote> formatted time, or
        <guilabel>24 hour</guilabel> for a 24 hour clock.
       </para>
      </listitem>

      <listitem>
       <para>
        Show date in applet &mdash; Select this to show the date
        inside the applet.
       </para>
      </listitem>

      <listitem>
       <para>
        Show date in tooltip &mdash; Select this to show the date in
        the tooltip that pops up when the mouse is briefly left over
        the applet.
       </para>
      </listitem>

      <listitem>
       <para>
        Use GMT &mdash; Select this to show the Greenwich Mean Time
        instead of the local time.
       </para>
      </listitem>

      <listitem>
       <para>
        Unix time &mdash; Select this to show the time, in seconds,
        that has elapsed since Jan 1, 1970.
       </para>
      </listitem>

     </itemizedlist>
    </para>

    <para> 
      After you have made all the changes you want, click on
      <guibutton>OK</guibutton> to apply the changes and close the
      <interface>Properties</interface> dialog. To cancel the changes
      and return to previous values, click the
      <guibutton>Close</guibutton> button.
    </para>

   <note>
    <title>Setting the Time</title>
    <para>
     <application>Clock</application> applet only displays the time;
     it does not allow you to set the time.  In order to set the time
     on a Unix or Linux system, you should use the
     <command>date</command> command. For example, to set the time to
     11:43:01PM and the date to April 4, use <command>date --set="Apr
     4 23:43:01"</command>. Note that you must be logged in as root to
     set the time. More information about the <command>date</command> command is
     available from the <ulink type="man" url="man:date">date manual page</ulink>.
     You may set your timezone using the <command>timeconfig</command> or
     <command>tzselect</command> commands on some Linux
     distributions.
    </para>
   </note>

  </sect3>


  <!-- ============= Bugs ================================== -->
  <!-- This section should describe known bugs and limitations of
       the program if there are any - please be frank and list all
       problems you know of -->
  <sect3 id="clock-bugs">
   <title>Known Bugs and Limitations</title>
   <para>
    This applet has no known bugs.
   </para>
  </sect3>


  <!-- ============= Authors ================================ -->

  <sect3 id="clock-authors">
   <title>Authors</title>
   <para>
    <application>Clock</application> was written by Miguel de Icaza
    (<email>miguel@kernel.org</email>), Federico Mena
    (<email>quartic@gimp.org</email>), and Stuart Parmenter
    (<email>pavlov@innerx.net</email>).  Please send all comments,
    suggestions, and bug 
    reports to the <ulink url="http://bugs.gnome.org/" type="http">GNOME
    bug tracking database</ulink>. (Instructions for submitting bug
    reports can be found <ulink
    url="http://bugs.gnome.org/Reporting.html" type="http">
    on-line</ulink>. If you are using
    GNOME 1.1 or later, you can also use <application>Bug Report
    Tool</application> (<command>bug-buddy</command>), available in the
    <guisubmenu>Utilities</guisubmenu> submenu of <guimenu>Main
    Menu</guimenu>, for submitting bug reports.
   </para>

   <para>
    This manual was written by Dan Mueth
    (<email>d-mueth@uchicago.edu</email>). Please send all comments and
    suggestions regarding this manual to the <ulink type="http"
    url="http://developer.gnome.org/projects/gdp/">GNOME Documentation Project</ulink> 
    by sending an email to <email>docs@gnome.org</email>. You can also
    submit comments online by using the <ulink type="http"
    url="http://developer.gnome.org/projects/gdp/doctable/">GNOME Documentation Status
    Table</ulink>.
   </para>

   <!-- For translations: uncomment this:

   <para>
    Latin translation was done by ME
    (<email>MYNAME@MYADDRESS</email>). Please send all  comments  and
    suggestions regarding this translation to SOMEWHERE.
   </para>

   -->

  </sect3>


  <!-- ============= Application License ============================= -->

  <!-- 
   <sect3 id="license">
   <title>License</title>
   <para>
    This program is free software; you can redistribute it and/or
    modify it under the terms of the <ulink type="help"
    url="gnome-help:gpl"><citetitle>GNU General Public
    License</citetitle></ulink> as published by the Free Software
    Foundation; either version 2 of the License, or (at your option)
    any later version.
   </para>
   <para>
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    <ulink type="help" url="gnome-help:gpl"><citetitle>GNU General
    Public License</citetitle></ulink> for more details.
   </para>
   <para>
    A copy of the <ulink type="help"
    url="gnome-help:gpl"><citetitle>GNU General Public
    License</citetitle></ulink> is included with the GNOME
    documentation.  You may also obtain a copy of the <ulink
    type="help" url="gnome-help:gpl"><citetitle>GNU General Public
    License</citetitle></ulink> from the Free Software Foundation by
    visiting <ulink type="http" url="http://www.fsf.org/">their Web
    site</ulink> or by writing to
    <address>
     Free Software Foundation, Inc.
     <street>59 Temple Place</street> - Suite 330
     <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>
     <country>USA</country>
    </address>
   </para>
  </sect3>

 --> 
 </sect2>