ASMail:

General
Asmail comes with Afterstep and is a biff-clone that shows up when new mail has arrived. Asmail is NOT strictly a part of AfterStep! (As well as the other AS apps). I just mention it here, because it's config file remains in ~/G/L/A/. It is a nice app that fits good into the AS envoirement, so itīs addapted to it. The original comments should be enough to understand, but I will also try to explain.
If you want to use another pixmap you only need enough 48x48 (pixels) pixmaps that will give you a smooth animation. Each of this pixmap need to have a transparent pixel (see AS FAQ).
The config file
------------------------------------------------------------------------ 
######################################################### 
# Do not signal when new mail is found                  # 
######################################################### 
NoBeep 
# As it said the internal speaker wont beep when mail has arrived 

######################################################### 
# Mailfile(s) to use, overrides $MAIL                   # 
######################################################### 
#MailFiles 
# /var/spool/mail/tomas 
# /home/tomas/mail/mbox 
#End 
#Here you can define more than one inbox 

######################################################### 
# Update frequency (default 5 sec)                      # 
######################################################### 
Update 10 
# How often should asmail check your inbox and in what intervals? 
  

######################################################### 
# Program to execute when left mousebutton is pressed   # 
######################################################### 
#Execute xterm -T elm -e elm & 
Execute xemacs -f gnus & 

# Here you can define your mail program that will be started when you 
# left click on the asmail icon. 

######################################################### 
# Program to execute when new mail is found             # 
######################################################### 
NewMailExecute play /usr/share/sounds/wav/message.wav & 

# You can define an acoustic signal or visual one if you like, when asmail 
# recognize new mail in your inbox then in this case a wav file will be 
# played 

######################################################### 
# Program to execute every update                       # 
######################################################### 
#ExecuteOnUpdate popclient -3 -s -u GUYLHEM -p PASSWORD -o ~/mail/mbox #mail.server.com 

# Here you can define a program that will be executed at every update interval 
# For example a fetchmail session or even nothing ;-) 

######################################################### 
# Always execute when new mail is found                 # 
# If this option is revomed asmail will only execute    # 
# when new mail is found and when the status is changed # 
# from "nomail/oldmail" to "newmail"                    # 
######################################################### 
AlwaysNewMailExecute 

# The original comment says everything. 

######################################################### 
# This option is useful if you are using utilities      # 
# like procmail. Asmail will change status to           # 
# "New Mail" when the time-stamp of the last            # 
# modification of the mailfile is changed               # 
######################################################### 
#TimeStampMode 

# Also look at the original comment. 

######################################################### 
# Animation speed (default 10 = 1 sec)                  # 
#  NoMail OldMail NewMail                               # 
######################################################### 
AnimationSpeed  10 10 1 

# Defines the animation speed of the icon for all stages. 

######################################################### 
# Turns off shaped window                               # 
######################################################### 
#NoShape 

# Shaped windows looking good in the Wharf and give this "shine through" 
# effect 

######################################################### 
# Use this option if all icons have the same shape and  # 
# size, this will save some CPU time if you are using   # 
# animations                                            # 
######################################################### 
LockShape 

# See original comment 

######################################################### 
# Display the number of messages and/or new messages    # 
# in the mailbox. This option can not be used if you    # 
# have more then one mailbox specified.                 # 
# Modes:                                                # 
#  0 Disable feature (default)                          # 
# 1 NumOfNewMail/NumOfMail                              # 
# 2 NumOfNewMail                                        # 
# 3 NumOfMail                                           # 
######################################################### 
NumOfMsgMode 0 

# This option shows you the number of messages within the icon 

######################################################### 
# Position of text, must be inside the icon mask        # 
######################################################### 
NumOfMsgPosition 2 10 

# Position of the digits shown within the icon 

######################################################### 
# Font to use                                           # 
######################################################### 
NumOfMsgFont -*-helvetica-medium-o-*-*-9-*-*-*-*-*-*-* 

# No comment 

######################################################### 
# Assign icons/animations                               # 
######################################################### 
NoMail 
 ~/GNUstep/Library/AfterStep/desktop/icons/common/e-no.xpm 
End 

# Define icon to be shown when no mail is in the inbox 

OldMail 
 ~/GNUstep/Library/AfterStep/desktop/icons/common/e-no.xpm 
End 

# Define icon to be shown when only old mail is in the inbox 

NewMail 
 ~/GNUstep/Library/AfterStep/desktop/icons/common/e1.xpm 
 ~/GNUstep/Library/AfterStep/desktop/icons/common/e2.xpm 
 ~/GNUstep/Library/AfterStep/desktop/icons/common/e3.xpm 
 ~/GNUstep/Library/AfterStep/desktop/icons/common/e4.xpm 
 ~/GNUstep/Library/AfterStep/desktop/icons/common/e5.xpm 
 ~/GNUstep/Library/AfterStep/desktop/icons/common/e6.xpm 
 ~/GNUstep/Library/AfterStep/desktop/icons/common/e7.xpm 
 ~/GNUstep/Library/AfterStep/desktop/icons/common/e8.xpm 
 ~/GNUstep/Library/AfterStep/desktop/icons/common/e9.xpm 
 ~/GNUstep/Library/AfterStep/desktop/icons/common/e10.xpm 
 ~/GNUstep/Library/AfterStep/desktop/icons/common/e11.xpm 
End 

# Here are all the icons that will be animated when new mail has 
# arrived or is unread. That ones above gives a nice and smooth 
# animation. A turning silver "e" 

######################################################### 
# End of file                                           # 
######################################################### 
------------------------------------------------------------------------ 

 
Back to the overview
[Back to the overview]
Back to the contents
[Back to the contents of the main directory]
audio
[See the audio configuration file]