Skip to content Accesskey=4Skip to sub-navigation Accesskey=3View our Accessibility Options MIT Information Systems Home About IS&T Contact IS&T Site Map Search Advanced Search
Getting StartedGetting Services by Topic or Alphabetically Getting Help

On This Page

[Help]

  

Quick Links

Top Level

Related Links

Ask OLC a question

Athena Consulting Homepage

Helpdesk Stock Answers (for Mac/PC questions)


How to get different kinds of clocks

Dash can be configured to provide an analog clock which acts very much
like xclock, but uses less memory than xclock.  To get a dash clock on the
screen, you can select the "Analog Clock" option under the "Screen
Accessories" menu under the "Dash" menu.  To get a clock on the screen
every time you start up dash, you can add this line to your ~/.Xresources
or ~/.dashrc file:

		*set.user:		clock

Dash's clock can be customized with resources, much like can be done with
xclock.  The resource naming is slightly different, however, since it is a
different program.  Also, dash's clock has slightly different
functionality than xclock.  In a lot of ways, it is more customizable.
There are things that it doesn't have, that xclock does have, however,
such as the "chime" feature (which may be added in for the next release).

 - to specify a geometry for dash's clock, add a line like the following
   to your ~/.Xresources or ~/.dashrc file:

		Dash*clockWindow.geometry:	100x100-0-0

   The above line would create a 100x100 clock in the lower right-hand
   corner.

 - to specify an update frequency for the clock, use a line like so:

		Dash*a.update:			1

   This would cause the analog clock (named "a") to update every second.
   The update frequency is specified in seconds.  The default value for
   Athena is 60 seconds.  Specifying an update frequency of 31 seconds
   or less will cause the second-hand to be dispayed on the clock face
   (this is the same way that xclock works).

 - to have a shaped clock (like "oclock"), use this line:

		Dash*a.round:			True

MIT Home | Getting Started | Getting Services | Getting Help | About IS&T | Accessibility
Ask a technology question or send a comment about this web page.