home *** CD-ROM | disk | FTP | other *** search
/ Dream 50 / Amiga_Dream_50.iso / Linux / AfterStep / apps / astrash / astrash-0.9.README < prev    next >
Encoding:
Text File  |  1997-05-27  |  2.4 KB  |  56 lines

  1. /*****************************************************************************
  2.  *                                                        
  3.  *    astrash - AfterStep Trashcan, Version 0.9
  4.  *
  5.  ****************************************************************************/
  6.  
  7. astrash is a wastebasket to delete and accidentially restore files. It is intended to be used within an Afterstep desktop environment in combination with filemanagers supporting the OffiX DnD protocol.
  8. Files dropped on the trash will be moved to a hidden directory (~/.trash), they will remain there for a configurable amount of time or until the astrash is shut down.
  9.  
  10. The popup opened by clicking the trash icon contains a scrollable list of the items moved to the trash directory. Selecting an item copies its former path to the text field below, where the path can be modified before undeleting the item. At the bottom, there are buttons to
  11.  
  12.   * update the list of items with respect to the remaining time
  13.   * delete all items finally
  14.   * undelete a selected item
  15.   * delete a selected item
  16.   
  17. At the top, there are toggles to configure the trash:
  18.  
  19.   * "Clear item after" keeps items in the trash directory for the given 
  20.     amount of time (they are deleted with the first trash operation after
  21.     this amount is exhausted).
  22.   * "Clear list on exit" deletes all items in the trash directory if the
  23.     program receives the SIGTERM-Signal.  
  24.     
  25. The following options are available for configuring the trash during startup:
  26.  
  27.   -geometry <spec>
  28.     defines the position of the trash at the desktop
  29.     (size is useful in combination with the shape option to center the icon).
  30.     
  31.   -shape
  32.     shows only the icon with transparent background.
  33.     
  34.   -clearonexit
  35.     activates the "Clear list on exit" toggle.
  36.     
  37.   -clearafter <num>
  38.     activates the "Clear item after" toggle and sets the remaining time.
  39.  
  40.   -aserror
  41.     Afterstep (Version < 1.0 ?) has an error using the DnD protocol, some drop 
  42.     events are sent twice.
  43.     This flag disables the "other drop" and the "icon drop" (which are
  44.     not neccessary, because astrash shows its icon in a toplevel window).
  45.     
  46. There is a small command line utility called asrm, which can be used to delete files to the trash:
  47.  
  48.     asrm <file>
  49.   
  50. To swallow astrash into the Wharf, use
  51.  
  52.     *Wharf astrash nil Swallow "astrash" astrash -geometry 48x48+0+0 -shape &  
  53.  
  54. (Negative values for the position in the geometry specification will cause 
  55.  astrash to crash !)
  56.