The Clock application displays the current time in a window or icon. The current time can be displayed in either an analog or digital form, for any time zone around the world. The Clock application can also be used as a stopwatch or alarm clock.
The Clock relies on the date and time being correctly set. If you have not yet set the date and time on your system, refer to the manual page for date.
This chapter describes how to use and customize the Clock.
To display the Clock, choose Workspace -> Programs -> Clock.
The clock icon displays an analog clock with or without roman numerals, as shown in the examples in Figure 7-1. See the section "Customizing the Clock" for information about how to display a Roman clock icon.
When you open the Clock icon, the clock is displayed in the pane of a base window, as shown in Figure 7-2. The current time zone is displayed beneath the clock if it is not the local time zone.
The Clock window has a header and resize corners. You can use the resize corners to change the area of the window, making the clock larger or smaller. You can also disable the header. See the manual page for clock for information about this and other customization features.
You can customize the Clock using the settings in the Clock Properties window.
Move the pointer into the Clock pane.
Press MENU to display the Clock menu.
The Clock menu, shown in Figure 7-3, is displayed.
Choose Properties from the Clock menu.
The Clock Properties window, shown in Figure 7-4, is displayed.
Change the settings, as desired.
The settings are described in the following sections.
If you are dissatisfied with your changes, revert to previous settings by clicking SELECT on Reset.
If you want the new settings to become the default every time you start a new Clock, click SELECT on Save as Defaults.
Click SELECT on Apply.
The new settings take effect immediately.
The Clock face and icon are displayed in analog style, by default. To change the Clock face to digital display, click SELECT on the digital box in the Properties window, and then click SELECT on the Apply button. The digital style clock is shown in Figure 7-5.
To change the icon style from basic analog to Roman, click SELECT on the roman box, and then click SELECT on the Apply button. Both styles are shown in Figure 7-6.
There is no digital-style icon option.
If you change the face style to digital, you also have the option of a 12-hour or 24-hour clock. The default is a 12-hour Clock, which has an A.M. or a P.M. printed next to it. The 24-hour Clock uses military time. For instance, 1:00 P.M. is displayed as 13:00. Figure 7-7 shows both the 12-hour and the 24-hour clocks.
If you select the Seconds display option, a second hand appears on the analog-style clock face and icon, and moves like the second hand on a physical analog clock. The digital-style clock face displays the passing seconds digitally.
Figure 7-8 shows both the 12-hour and the 24-hour clock faces with the Seconds option selected.
Choose the Date option on the Props window if you would like to display the date at the bottom of the Clock window, as shown in Figure 7-9.
You can display the current time in a different time zone using the Time zone option. The default is local. To choose a new time zone:
Open the Properties window, if not already opened.
This is described in the section "Customizing the Clock".
Click SELECT on the other option in the Timezone category, as shown in Figure 7-10.
An abbreviated menu button appears.
Press MENU on the abbreviated menu button, drag the pointer to the desired time zone, and release.
Figure 7-11 shows the list of time zones. Note that countries with more than one time zone have submenus containing the time zones for that country.
Click SELECT on the Apply button.
The time for that zone then appears on the clock face or icon.
To use the stopwatch:
Open the Clock if it is in icon form.
With the pointer on the Clock, press MENU and choose Properties from the Clock menu.
Select digital box for the Clock Face style.
The stop watch also works in analog style, but it does not display the time in numerical form, so is less suited to use as a stopwatch.
Click SELECT on the Stopwatch reset box, as shown in Figure 7-12.
The clock face changes to a timer, with 00 hours, 00 minutes, and 00 seconds.
Click SELECT on the Stopwatch start box when you want to begin timing.
The Clock begins clocking seconds as shown in Figure 7-13.
Click SELECT on the Stopwatch stop box when the timing period is over.
Click SELECT on the start box again if you want to resume timing.
Click SELECT on the reset box if you want the next timing session to begin with zero time.
Click SELECT on none to return to the regular Clock.
To set the alarm, choose Properties -> Clock menu.
Use the Alarm Hr and Min settings to specify the time for an alarm. Use the Alarm command text field to type in the command that you'd like to take place at the alarm time. If you don't specify a command, the Clock application will beep. For example, if your workstation has audio capabilities you can set the Clock to create a cuckoo sound with the following Alarm command:
sh -c "cat /usr/demo/SOUND/sounds/cuckoo.au > /dev/audio''
Use the Repeat settings to specify whether the alarm should happen just one time, or every day at the given time. The alarm will not occur if the Repeat setting is none.
If you want a command to take place hourly, type that command in the Hourly command text field. Clock processes this command as hourly and alarm commands, for example, $HOME/clock.hourly.
You can change many of the Clock settings without using the Properties window by moving the pointer anywhere within the open Clock window and typing the following keyboard accelerators:
Type 1 to set the 12-hour display mode if the current Clock is digital.
Type 2 to set the 24-hour display mode if the current Clock is digital.
Type c to toggle the Clock face between analog and digital displays.
Type d to toggle the Date display on and off.
Type i to toggle the icon face between analog and Roman.
Type s to toggle the seconds display on and off.
Type S to set the stopwatch. Type S again to start the stopwatch. Type S a third time to stop the stopwatch. You can then type S to reset the stopwatch again, and so on.
Type c when you want to reset the Clock to the normal clock display.
Type t to toggle the time zone between local and other. You must have a valid Other time zone set on the Properties window for this to work.
Note that you can have more than one Clock running at a time. This is useful if you want one clock to display the time and another to display the Stopwatch.