| General |
| Autoexec will be read at every startup and restart of AS. It starts whatever you want at startup. The modules you want to be started (i.e. Wharf, Animate, ...) have to be listed in this file as shown below. You also can add applications that are not spawned by AfterStep like XEmacs or Netscape. Also bear in mind, that the modules have to be listed in the restart section if you want them to be started when you restart AfterStep. So if you change your configuration and want them to effect AfterStep but the wharf doesnīt appear anymore, look into this file. This happens often with Audio and Animate. Modules WONT start when you restart AfterStep and the module isnīt listed in the restart section. For example, the screensaver will stay because it wont be killed at restart! |
| The config file |
---------------------
############################################################################
# Menus
#
#------------------------------------------------------------------------
# Execute on startup :
#
Function "InitFunction"
#Module "I" Auto 500 &
# Switches the Auto module that will auto raise the window in that the
# pointer lasts, in this case, for 500 milliseconds
Module "I" Animate
# Starts the Animate module that animates the iconization
Module "I" Audio
# Starts the Audio module that brings sounds onto your desktop
Module "I" Wharf
# Starts the Wharf
Wait "I" Wharf
# Let's wait until the Wharf is ready
Module "I" Pager 0 3
# Starts the pager with 4 desks specified in the file pager
Module "I" WinList
# Starts the Winlist, that task bar
Module "I" Banner
# Shows you the AfterStep banner at strtup
Wait "I" Banner
# Wait for the banner to be ready and the going on
Exec "I" exec xautolock -time 3 -locker "xlock -nice 0 -mode random" -corners
+-0- -cornerdelay 0 &
# This one's mine ;) starting the screensaver with deadcorners
Exec "I" sh ~/GNUstep/Library/AfterStep/.windows &
# This one reads your .windows file where the open windows from your last
# session are stored and will re-open them. This is not needed in the restart
# section because the windows will stay open during restart.
EndFunction
#------------------------------------------------------------------------
# Execute on restart :
# This functions will be executed on restart you don't need all but this here
# are very usefull
Function "RestartFunction"
#Module "I" Auto 500 &
Module "I" Animate
Module "I" Audio
Module "I" Wharf
Wait "I" Wharf
Module "I" Pager 0 3
Module "I" WinList
EndFunction
# For comments look at the start section it's the same the modules will removed
# on shutdown or restart so we will resatart them here.
---------------------
[Back to the overview] |
[Back to the contents of the main directory] |
[See the base.XXbpp configuration file] |