oops - forgot to mention

Andrew O'Callaghan (androc@box.net.au)
Sun, 5 Dec 1999 13:55:38 +1030



--bCsyhTFzCvuiizWE
Content-Type: text/plain; charset=us-ascii

btw, I have read the FAQ about icons missing, but I am running my systems at 16bpp, and have removed all but the troublesome apps from the wharf file. I have an S3 Virge video card with 4Mb RAM, so iat should be able to handle 16bpp depth.

Also, I tried to assign a script to an icon in the wharf file, so that I could start my isp connection by clicking on that icon. Is this possible, or do I have to write a complete afterstep application to do this?

The lines I added in the wharf file are:
   # De-activate internet connection
   *Wharf start_modem PhoneTT.xpm Exec "-" /sbin/ifdown ppp0 &

   # Activate internet connection
   *Wharf stop_modem PhoneTTOffhook.xpm /sbin/ifup ppp0 &

I have included my wharf file.

regards,
Andrew O'C


--bCsyhTFzCvuiizWE
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename=wharf


##########################################################################
# Wharf
#
#------------------------------------------------------------------------       
# Background
#
#   0 - No texture
#   1 - Wharf-style gradient                            ^-
#   2 - Horizontal one way gradient                     -_
#   3 - Horizontal from top/bottom to center            =-=
#   4 - Vertical one way gradient from left to right    ||| | |  | |
#   5 - Vertical from left/right to center              >>>>>><<<<<<
# 128 - User defined pixmap

*WharfTextureType	128
#*WharfTextureColor	DarkBlue DarkGreen
#*WharfPixmap		ASBBlockTransparent.xpm
*WharfPixmap		ASBBlockDefault.xpm
*WharfBgColor           blue
*WharfMaxColors		20

*WharfAnimate
*WharfAnimateMain
*WharfAnimateDelay	1
*WharfAnimateSteps	3
*WharfAnimateStepsMain	3

*WharfBalloons
*WharfBalloonFore	Black
*WharfBalloonBack	White70
*WharfBalloonFont	-adobe-helvetica-bold-o-*-*-12-*-*-*-*-*-*-*
#*WharfBalloonBorderWidth 0
#*WharfBalloonBorderColor Grey30
#*WharfBalloonDelay	120
*WharfBalloonYOffset	-1

#------------------------------------------------------------------------
# Buttons
#
*WharfFullPush
#*WharfNoPush
*WharfNoBorder

#------------------------------------------------------------------------
# Geometry
#
#*WharfForceSize
#*WharfRows		1
*WharfColumns		1
*WharfGeometry		-5-5

#------------------------------------------------------------------------
# Sound
#
*WharfPlayer		auplay
#*WharfSound		cowbell.au

#------------------------------------------------------------------------
# Entries
#
# NOTE:	as<app-name> programs require the APPS
#	tarball which is separate from the core release.

#
# Time
#
*Wharf asclock - Swallow "asclock" asclock -shape -24 &

# Documentation
*Wharf Documentation Book.xpm,3_dots.xpm Folders
   *Wharf afterstepdoc AfterStep3.xpm Exec "-" afterstepdoc &
   *Wharf xman Bookshelf.xpm Exec "-" xman &
#       *Wharf axinfo BookArrows.xpm Exec "-" axinfo &
#       *Wharf xapm KeyPower.xpm Exec "-" xapm &
*Wharf ~Folders

#
# PostIt (R)
#
#*Wharf aspostit - Swallow "aspostit" aspostit -sv &
 

#
# Pagers
# If you want to swallow Pager in Wharf, please don't start another one 
# for same desks from the autoexec, or it can cause excesive use of 
# system resources, and slow startup process.
# 
#*Wharf Pagers Monitor.xpm,3_dots.xpm Folders
# *Wharf Pager - MaxSwallowModule "Pager" Pager 0 0
#*Wharf ~Folders

#
# File system
#
#*Wharf asfsm - Swallow "asfsm_lite" asfsm_lite -bg Grey30 -fg Grey70 -bp None -pbg Grey40 -pfg Grey70 -pbp None -i 30 &

#
# System load
#
#*Wharf asload - Swallow "asload" asload -shape -led red &


# Communication Applications
*Wharf Comms DeskGlobe.xpm,3_dots.xpm Folders
   # Mail
   *Wharf asmail - Swallow "asmail" asmail -geometry +0+0 &

   # Netscape
   *Wharf netscape netscape.xpm Exec "-" netscape &

   # De-activate internet connection
   *Wharf start_modem PhoneTT.xpm Exec "-" /sbin/ifdown ppp0 &

   # Activate internet connection
   *Wharf stop_modem PhoneTTOffhook.xpm /sbin/ifup ppp0 &
*Wharf ~Folders

# Audio Applications
*Wharf Audio CDrom.xpm,3_dots.xpm Folders
   # Mixer
   #*Wharf asmixer - Swallow "asmixer" asmixer -g -1-1 -2 LINE -3 CD
   *Wharf asMix - Swallow "asMix" asmix -shape &

   # CD player
   *Wharf ascd - Swallow "ascd" ascd -l red &

   # CD Recorder
   #*Wharf xbru disk.builder.xpm Exec "-" xbru &
*Wharf ~Folders

# Graphics Applications
*Wharf Graphics monalisa.xpm,3_dots.xpm Folders
   *Wharf xfig draw.xpm Exec "xfig" xfig &
   #*Wharf 3d RayTracedGear.xpm,3_dots.xpm Folders
      #*Wharf ac3d Plasma.xpm Exec "ac3d" ac3d &
      #*Wharf moonlight 3dpaint.xpm Exec "moonlight" moonlight &
   #*Wharf ~Folders
   *Wharf gimp Paint.xpm Exec "image" gimp &
   *Wharf xv /usr/local/share/pixmaps/xv.xpm Exec "-" xv &
   #*Wharf ee Eyecon.xpm Exec "image" gimp &
   *Wharf xpaint Brush.xpm Exec "xpaint" xpaint &
*Wharf ~Folders

# System Applications
*Wharf System ComputerPC.xpm,3_dots.xpm Folders
   #*Wharf xiterm linux-penguin.xpm Exec "-" xiterm -sl 500 -vb -fn 10x20 &

   *Wharf aterm linux-penguin.xpm Exec "-" aterm -title "Mr. Blue" +rv +vb -tr -bg black -fg white -tint blue -sh 80 -geometry 100x50+0-16 -pr white -cr white &

   *Wharf xhextris /usr/local/share/pixmaps/xhextris.xpm Exec "-" xhextris &

   *Wharf xboard /usr/local/share/pixmaps/xboard.xpm Exec "-" xboard &

   # Linux Configuration Tool
   *Wharf linuxconf widget.xpm Exec "-" linuxconf &

   # Exit
   *Wharf QuitForm RedFire.xpm Module "QuitForm" Form QuitForm

   # Restart
   #*Wharf Recycler shutdown.xpm Restart "" afterstep

   # Screen saver
   #*Wharf xlock Recycler.xpm  Exec "-" xlock -nolock -nice 0 -mode random &
*Wharf ~Folders

# *Wharf Office spreadsheet2.xpm,3_dots.xpm Folders
#	*Wharf nexs spreadsheet.xpm Exec "-" nexs &
# #*Wharf ~Folders

#
# X eyes
#
#*Wharf xeyes nil Swallow "xeyes" xeyes &

#
############################################################################

##########################################################################
# EntertainmentWharf
#
#------------------------------------------------------------------------       
# Background
#
#   0 - No texture
#   1 - EntertainmentWharf-style gradient                            ^-
#   2 - Horizontal one way gradient                     -_
#   3 - Horizontal from top/bottom to center            =-=
#   4 - Vertical one way gradient from left to right    ||| | |  | |
#   5 - Vertical from left/right to center              >>>>>><<<<<<
# 128 - User defined pixmap

*EntertainmentWharfTextureType	128
#*EntertainmentWharfTextureColor	DarkBlue DarkGreen
#*EntertainmentWharfPixmap		ASBBlockTransparent.xpm
*EntertainmentWharfPixmap		ASBBlockDefault.xpm
*EntertainmentWharfBgColor           blue
*EntertainmentWharfMaxColors		20

*EntertainmentWharfAnimate
*EntertainmentWharfAnimateMain
*EntertainmentWharfAnimateDelay	1
*EntertainmentWharfAnimateSteps	3
*EntertainmentWharfAnimateStepsMain	3

*EntertainmentWharfBalloons
*EntertainmentWharfBalloonFore	Black
*EntertainmentWharfBalloonBack	White70
*EntertainmentWharfBalloonFont	-adobe-helvetica-bold-o-*-*-12-*-*-*-*-*-*-*
#*EntertainmentWharfBalloonBorderWidth 0
#*EntertainmentWharfBalloonBorderColor Grey30
#*EntertainmentWharfBalloonDelay	120
*EntertainmentWharfBalloonYOffset	-1

#------------------------------------------------------------------------
# Buttons
#
*EntertainmentWharfFullPush
#*EntertainmentWharfNoPush
*EntertainmentWharfNoBorder

#------------------------------------------------------------------------
# Geometry
#
#*EntertainmentWharfForceSize
#*EntertainmentWharfRows		1
*EntertainmentWharfColumns		1
*EntertainmentWharfGeometry		+0+0

#------------------------------------------------------------------------
# Sound
#
*EntertainmentWharfPlayer		auplay
#*EntertainmentWharfSound		cowbell.au

#------------------------------------------------------------------------
# Entries
#
# NOTE:	as<app-name> programs require the APPS
#	tarball which is separate from the core release.

# Documentation
*EntertainmentWharf Documentation Book.xpm,3_dots.xpm Folders
   *EntertainmentWharf afterstepdoc AfterStep3.xpm Exec "-" afterstepdoc &
   *EntertainmentWharf xman Bookshelf.xpm Exec "-" xman &
#       *EntertainmentWharf axinfo BookArrows.xpm Exec "-" axinfo &
#       *EntertainmentWharf xapm KeyPower.xpm Exec "-" xapm &
*EntertainmentWharf ~Folders

#
# Time
#
*EntertainmentWharf asclock - Swallow "asclock" asclock -shape -24 &

#
# PostIt (R)
#
#*EntertainmentWharf aspostit - Swallow "aspostit" aspostit -sv &
 

#
# Pagers
# If you want to swallow Pager in EntertainmentWharf, please don't start another one 
# for same desks from the autoexec, or it can cause excesive use of 
# system resources, and slow startup process.
# 
#*EntertainmentWharf Pagers Monitor.xpm,3_dots.xpm Folders
# *EntertainmentWharf Pager - MaxSwallowModule "Pager" Pager 0 0
#*EntertainmentWharf ~Folders

#
# File system
#
#*EntertainmentWharf asfsm - Swallow "asfsm_lite" asfsm_lite -bg Grey30 -fg Grey70 -bp None -pbg Grey40 -pfg Grey70 -pbp None -i 30 &

#
# System load
#
#*EntertainmentWharf asload - Swallow "asload" asload -shape -led red &


# Communication Applications
*EntertainmentWharf Comms DeskGlobe.xpm,3_dots.xpm Folders
   # Mail
   *EntertainmentWharf asmail - Swallow "asmail" asmail -geometry +0+0 &

   # Netscape
   *EntertainmentWharf netscape netscape.xpm Exec "-" netscape &
*EntertainmentWharf ~Folders

# Audio Applications
*EntertainmentWharf Audio CDrom.xpm,3_dots.xpm Folders
   # Mixer
   #*EntertainmentWharf asmixer - Swallow "asmixer" asmixer -g -1-1 -2 LINE -3 CD
   *EntertainmentWharf asMix - Swallow "asMix" asmix -shape &

   # CD player
   *EntertainmentWharf ascd - Swallow "ascd" ascd -l red &

   # CD Recorder
   #*EntertainmentWharf xbru disk.builder.xpm Exec "-" xbru &
*EntertainmentWharf ~Folders

# Graphics Applications
*EntertainmentWharf Graphics monalisa.xpm,3_dots.xpm Folders
   *EntertainmentWharf xfig draw.xpm Exec "xfig" xfig &
   #*EntertainmentWharf 3d RayTracedGear.xpm,3_dots.xpm Folders
      #*EntertainmentWharf ac3d Plasma.xpm Exec "ac3d" ac3d &
      #*EntertainmentWharf moonlight 3dpaint.xpm Exec "moonlight" moonlight &
   #*EntertainmentWharf ~Folders
   *EntertainmentWharf gimp Paint.xpm Exec "image" gimp &
   #*EntertainmentWharf ee Eyecon.xpm Exec "image" gimp &
   *EntertainmentWharf xpaint Brush.xpm Exec "xpaint" xpaint &
*EntertainmentWharf ~Folders

# System Applications
*EntertainmentWharf System ComputerPC.xpm,3_dots.xpm Folders
   *EntertainmentWharf xiterm linux-penguin.xpm Exec "-" xiterm -sl 500 -vb -fn 10x20 &

   # Linux Configuration Tool
   *EntertainmentWharf linuxconf widget.xpm Exec "-" linuxconf &

   # Exit
   *EntertainmentWharf QuitForm RedFire.xpm Module "QuitForm" Form QuitForm

   # Restart
   #*EntertainmentWharf Recycler shutdown.xpm Restart "" afterstep

   # Screen saver
   #*EntertainmentWharf xlock Recycler.xpm  Exec "-" xlock -nolock -nice 0 -mode random &
*EntertainmentWharf ~Folders

# *EntertainmentWharf Office spreadsheet2.xpm,3_dots.xpm Folders
#	*EntertainmentWharf nexs spreadsheet.xpm Exec "-" nexs &
# #*EntertainmentWharf ~Folders

#
# X eyes
#
#*EntertainmentWharf xeyes nil Swallow "xeyes" xeyes &

#
############################################################################


--bCsyhTFzCvuiizWE--

--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.calderasystems.com/linuxcenter/forums/afterstep.html