asclock(1x)
π NAME π
okay so real quick, bestie: asclock is the AfterStep clock. that's the whole name section, she's lowkey modest, but keep reading because the rest is so much.
β¨ SYNOPSIS β¨
asclock [ -help] [-12 | -24] [-shape]
[-position [+|-]x[+|-]y]
[-exe program]
[-theme dir]
[-led color]
[-noblink]
[-dock]
[-version]
πΈ DESCRIPTION πΈ
so asclock is a clock, right, but not just any clock β it was written to emulate the date/time application on the NEXTSTEP(tm) operating system. it's giving retro desktop main character energy and honestly? iconic.
and she's multilingual too π¦ β asclock supports multiple languages, both military time and AM/PM time formats, program execution (yes she can launch stuff for you), and the shape extension to X-Windows. she does it all, no cap.
π CONFIGURATION OPTIONS π
here's the full menu of things you can tell her to do. every single one, we're not skipping anybody π«Ά
-helpβ prints the usage message, which looks exactly like this:
usage: asclock [-options ...]
where options include:
-12 12 hour format
-24 24 hour format
-exe <program> program to start on click
-led <color> color of the led
-position [+|-]x[+|-]y position of asclock
-shape without groundplate
-theme <dir> theme directory
-noblink don't blink
-dock without window decorations
-version show version information
-12or-24β sets the desired time format to either twelve hour with AM/PM (-12) or military time (-24). and listen, if you don't pick either one? military time is the default. she just goes ahead and picks for you, queen behavior.-shapeβ turns on shaped window support forasclock. when this is on, theasclockwindows will only appear to be the led and date pad. by default shaped windows are turned off and the clock will appear on a 64 pixel by 64 pixel base. so you're either a cute little silhouette or a square, no in-between.-led<color>β specifies the color of the led. to find out what colors are available, tryshowrgb(1)(part of X11). go pick something cute β¨-position[+|-]x[+|-]yβ specifies the starting position ofasclock. the[+|-]works like the standard X-Windows x/y geometry option. classic, we love a familiar syntax.-exe<program>β specifies the application to start when the pointer is activated overasclock. to invoke applications with parameters, you have to set quotes around the command. see the example below... π (there really is an example below, we're getting there)-noblinkβ specifies ifasclockshould blink. yes bestie, that's literally the description. make of it what you will π-theme<dir>β specifies the theme to used. a theme consists of a directory containing 8 xpms and a position file called'config'. read the Themes section. yes, go read it, it's right there β¬οΈ-dockβ tells the window manager not to put window decorations aroundasclock, useful for docking with Window Maker. β οΈ note that in several window managers this causesasclockto ignore the position specified with-position(if present). so like, she might just do her own thing, and that's on the window manager.-versionβ show version information. she'll tell you who she is π
π INVOCATION π
asclock can be called from one of many ways. the most common invocation is the command line:
[user@host] ~% asclock -12 -exe 'xlock -mode hop' &
another way to call asclock is from the window manager:
*Wharf - - MaxSwallow "asclock" asclock -theme shape -12&
this line, when placed in the .steprc file in the users home directory, will cause asclock to use the shape extensions so that it will be a button on the Wharf (1) button bar under the afterstep (1) window manager. β¨ look at her, she's a button now, she's networking.
π¦ THEMES π¦
a theme consists of a directory containing 8 xpms and a position file called 'config'. all tiles within the same xpm must have the same width or height, except the colon which has half the width of the other digits. (colon out here being a whole different size, we respect the range π)
the pixmaps are called:
clock.xpmdate.xpmled.xpmmonth.xpmweekday.xpmhour.xpmminute.xpmsecond.xpm
for a full description of the format, take a look at README.THEMES. π
π BUGS π
we don't have bugs :)
(that's a direct quote, bestie. she said what she said. no cap.)
π COPYRIGHTS π
Copyright 1996, Beat Christen <bchriste@iiic.ethz.ch>. No guarantees or warranties or anything are provided or implied in any way whatsoever. Use this program at your own risk. Permission to use this program for any purpose is given, as long as the copyright is kept intact.
π«Ά AUTHORS π«Ά
- Beat Christen
<bchriste@iiic.ethz.ch>β application - Dan Weeks
<dan@mango.sfasu.edu>β man page
okay that's the whole thing, you're officially an asclock expert now, no notes π
this was brought to you by the 3rd Berkeley Distribution, dated 23 July 1996, filed under asclock(1x). mwah π periodt.
π¦ where this page comes from
- debian bookworm: asclock 2.0.12-35
- debian trixie: asclock 2.0.12-35
- ubuntu jammy: asclock 2.0.12-33
- ubuntu noble: asclock 2.0.12-35
- ubuntu resolute: asclock 2.0.12-37
- ubuntu stonking: asclock 2.0.12-37
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms