# 03/08/97 sample.steprc v2.0 fsf ffejes@midway.uchicago.edu ############################################ # The AfterStep v1.0 Default Configuration # ############################################ ############################################################## # Official Web Site: # # http://afterstep.edoc.com # # Official FTP Site: # # ftp://afterstep.foo.net/pub/AfterStep # # European Mirror Sites: # # ftp://ftp.asta.uni-essen.de/pub/Afterstep # # ftp://garfield.sch.bme.hu/pub/Linux/AfterStep # # Additional Web Sites: # # http://afterstep.foo.net # # http://apollo.gmi.edu/~kram1968/afterstep # # http://www.iis.ee.ethz.ch/~kiwi/AfterStep # ############################################################## #///////////////////////////////////# # Distinctive Look and Feel Section # #///////////////////////////////////# # Foreground color for unfocused windows and default border color StdForeColor #111111 # Background color for unfocused windows and handle color StdBackColor #bfbfbf # Text color for focused windows, menu highlights, and MenuTitle text HiForeColor White # Background Color of focused window and MenuTitle border HiBackColor #000044 # Menu Border Color MenuBackColor #bfbfbf # Menu Text Color MenuForeColor Black # Set some cursors # Cursor 5 132 # Set the WAIT cursor to the normal top_left_arrow Cursor 8 132 # Set the DESTROY cursor to the same # Set Gradient Texture Mapping # Define the texture type for the TitleBars, unfocused TitleBars, # Menu TitleBars, Menu Items, etc. # 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 specified pixmap TextureTypes 1 1 1 1 1 0 # Set the number of colors to use on textures. # Default is 10 on 8bpp screens and 128 on +16bpp. TextureMaxColors 128 128 128 128 # Texture Colors, given in Standard RGB X numbering # Window TitleBar textures TitleTextureColor #303080 #000010 # Unfocused TitleBar textures UTitleTextureColor #a0a2a1 #606261 # Menu TitleBar textures MTitleTextureColor #303080 #000010 # Menu Item textures MenuTextureColor #606060 #d0d0d0 # Don't change the titlebar's highlight's upon mouse click TitlebarNoPush # Gives titles to icons IconTitle # Menu Font Font -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-* # Window TitleBar Font WindowFont -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-* # Icon Font IconFont -adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-*-* # Area where icons should show up (RightX, RightY, LeftX, LeftY) IconBox 0 -64 -1 -1 #//////////////////# # Window Placement # #//////////////////# # SmartPlacement makes new windows pop-up in blank regions of screen # if possible, otherwise falls back to random or interactive placement SmartPlacement # Raise the Window when it is clicked on, but do not pass the click # on to the application ... very handy for text editors # Change 1 to 0 in order to get the "normal" ClickToFocus effect ClickToFocus 0 # Miscellaneous voodoo commands - they may help you, they may not AppsBackingStore BackingStore SaveUnders # This style of window movement draws the entire window as it # moves, instead of the "rubber-band" outlines # It has a number (N) attached to it (default 5). If the # window occupies less than N% of the screen, OpaqueMove is # used. 0 <= N <= 100 OpaqueMove 0 # NoPPosition instructs fvwm to ignore the PPosition field in window # geometry hints. # Emacs annoyingly sets PPosition to (0,0)! NoPPosition #////////////////////////# # Miscellaneous Settings # #////////////////////////# # If you don't like the default 150 msec click delay for the complex functions # change this. ClickTime 500 # Don't change to an icon when using Alt-Tab to page through open windows CirculateSkipIcons # Place a TitleBar and Handles on popup windows and dialog boxes DecorateTransients # If you want ALL you icons to follow you around the desktop (Sticky), try # this StickyIcons #///////////////////////////# # Pager and Virtual Desktop # #///////////////////////////# # Set up the virtual desktop and pager # Set the desk top size in units of physical screen size DeskTopSize 1x1 # Sets the reduction scale used for the Pager DeskTopScale 32 #//////////////# # Common Paths # #//////////////# # ModulePath is a colon-separated list, just like a regular unix PATH # Any Module must be found within the path in order to be located # and executed ModulePath /usr/X11R6/lib/X11/afterstep # Another colon-separated list pointing to your pixmaps (color icons) PixmapPath /usr/X11R6/include/X11/pixmaps:/usr/X11R6/include/X11/3dpixmaps # Path for your ugly black&white icons IconPath /usr/X11R6/include/X11/bitmaps # Various styles which can be associated with specific applications # Sticky -- remains "stuck" on all desks # NoTitle -- window has NoTitle # StaysOnTop -- a regular window will not obscure this window # WindowListSkip -- this window will not show up in the # window listing which can be used with a MiddleClick in # the root window (main background) # NoHandles -- No bottom bar Style "Pager" NoTitle, Sticky, StaysOnTop, WindowListSkip, NoHandles Style "Wharf" NoFocus,NoTitle, Sticky, WindowListSkip,StaysOnTop, NoHandles ################################## # Animated Iconize Customization # ################################## #Module Animate # Draw the lines with black #*AnimateColor Black # Delay 1 ms in between frames of animation #*AnimateDelay 1 # Break the animation into 12 steps #*AnimateIterations 96 # Make 1 full revolution in a twisted animation #*AnimateTwist 1 # Width of line used to animate...0 fastest, larger numbers slower #*AnimateWidth 0 # Use the zoom method of resizing instead of the twist #*AnimateResize zoom #*AnimateResize twist #/////////////////////# # Wharf Customization # #/////////////////////# # Customize your Wharf -- the pushable, pullable button bar on the right # hand of your display Module Wharf # Start on the right top side of the screen *WharfGeometry -0+0 # One vertical column *WharfColumns 1 *Wharf AfterStep AFstep.xpm Nop *Wharf ASClock - MaxSwallow "asclock" asclock -12 -shape & *Wharf XLoad - MaxSwallow "xload" xload -nolabel -jumpscroll 1 -bg "#8e8a9e" -fg "#00003f" & *Wharf Pager - SwallowModule "Pager" Pager 0 0 *Wharf Kterm monitor_bsd.xpm Exec "-" kterm -fn r12 -fk k12 -fl r12 -km euc -fg black -bg "#d8d8d8" -sb & *Wharf Mule text.xpm Exec "-" xemacs & *Wharf XFM FileFolders.xpm Exec "-" xfm & *Wharf XV xv.color.xpm Exec "-" xv & *Wharf GIMP 3dpaint.xpm Exec "-" gimp & *Wharf GV monalisa.xpm Exec "-" gv & *Wharf Netscape netscape3.xpm Exec "-" netscape & *Wharf XMCD CompactDisc.xpm Exec "-" xmcd & *Wharf Mixer xmix.xpm Exec "-" xmix & *Wharf Shutdown shutdown.xpm Quit #////////////////# # Icon Selection # #////////////////# # Select some common icon bitmaps for applications named in # column number two ... each icon file must be located in # your PixmapPath (color) or IconPath (b/w) as defined above Icon "*" YellowBlueRedGeometry.xpm Icon "kterm" monitor.xpm Icon "emacs" text.xpm Icon "The GIMP" 3dpaint.xpm Icon "gv" monalisa.xpm Icon "xv*" xv.color.xpm Icon "TkMidity*" Music2.xpm Icon "xconsole" xterm.next.xpm Icon "Netscape*" netscape3.xpm Icon "xmix" xmix.xpm Icon "Motif CD Audio Player 0" CompactDisc.xpm Icon "File Manager" Icon "Applications" #/////////////////////////# # Initialization Function # #/////////////////////////# # Here we will put programs and modules that we wish to # load up automatically upon startup Function "InitFunction" Wait "I" Wharf Exec "I" exec xmix -iconic & Exec "I" exec xhime -nokey -geometry -0-0 -biff -file /var/mail/user -update 60 -B /usr/X11R6/share/doc/xhime/xhime.au /usr/X11R6/share/doc/xhime/rh110.xhm & Exec "I" exec xconsole -iconic & Exec "I" exec xset m 6 4 & Exec "I" exec /usr/local/bin/vje & EndFunction # These will load up upon every subsequent Restart Function "RestartFunction" Wait "I" Wharf EndFunction #///////////# # Functions # #///////////# # Now define some handy complex functions # Each function can be bound to a specific Mouse Button and # a specific window location (Title, TitleButton, Root Window, # etc.) later on # This one will Raise the window on a Single Click, Shade # (display only the TitleBar) on a DoubleClick, and make # the window uncoverable by all other non-OnTop windows # with a TripleClick. A Click+Motion will move the # window around Function "Shade-or-Raise" Move "Motion" Raise "Click" Shade "DoubleClick" EndFunction # This one moves or (de)iconifies: # Icons will restore to full size with a single mouse click # Change "Click" to "DoubleClick" or "TripleClick" as desired Function "Move-or-Iconify" Move "Motion" Iconify "DoubleClick" EndFunction # Pretty Simple...Mouse Motion Raises and Resizes the given # window. A mouse click will also Raise it. DoubleClick # will perform a Shade while TripleClick grants unobscurable # status Function "Resize-or-Raise" Resize "Motion" Raise "Click" EndFunction #///////# # Menus # #///////# # Now define the menus - defer bindings until later # Here are some common applications...we will add this and the # following menus to our main HotList menu Popup "Applications" Title "Applications" Exec "XV" exec xv +macbinary & Exec "GIMP" exec gimp & # Exec "Xearth" exec xearth -once -nolabel -nomarkers -nostars & Exec "Xhime" exec xhime -nokey -geometry -0-0 -biff -file /var/mail/flathill -update 60 -B -audio ~/resource/xhime.au ~/resource/rh110.xhm & Exec "XEmacs" exec xemacs & Exec "Daemon" exec xv -root -quit -rmode 5 ~/Visual/Daemon/daemon1-HQ-1920x1440.jpg & EndPopup # This menu allows you to quit, although why you would want # to do such a thing is beyond me Popup "Quit-Verify" Title "Quit?" Exec "No, Don't" Quit "Yes, Quit" Restart "Restart" afterstep EndPopup # Backgrounds ... quick way to view the included default background images Popup "Backgrounds" Title "Images" Exec "Brick" exec xv -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/brick.jpg Exec "Coins" exec xv -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/coins.jpg Exec "Dark Wood" exec xv -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/darkwood.jpg Exec "Eyes" exec xv -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/eyes.jpg Exec "Glass" exec xv -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/glass.jpg Exec "Green Carpet" exec xv -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/carpet.green.jpg Exec "Parquet" exec xv -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/parquet.jpg Exec "Pebbles" exec xv -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/pebbles.jpg Exec "Rock" exec xv -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/rock.tile.jpg Exec "Rope" exec xv -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/rope.weave.jpg Exec "Stucco" exec xv -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/stucco.jpg Exec "Tile" exec xv -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/tile.check.jpg Exec "Tree Bark" exec xv -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/bark.jpg Exec "Volcanic" exec xv -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/volcanic.jpg Exec "Wood" exec xv -root -quit /usr/X11R6/lib/X11/afterstep/backgrounds/wood.jpg EndPopup # Here is our main Menu that will be seen upon left MouseClick # in the root window (background area) ... note that we have added # our above Menus to this one ... also note that menus must be # defined first before they can be placed in a different menu Popup "HotList" Title "HotList" Exec "Kterm" exec kterm -fn r12 -fk k12 -fl r12 -km euc -fg black -bg "#d8d8d8" -sb & Exec "Netscape" exec netscape & Popup "Applications" Applications Popup "Backgrounds" Backgrounds Popup "Exit" Quit-Verify EndPopup # This defines the most common window operations Popup "Window Ops" Title "Window Ops" Function "Move" Shade-or-Raise Function "Resize" Resize-or-Raise Raise "Raise" Lower "Lower" PutOnTop "(Un)PutOnTop" Iconify "(De)Iconify" Stick "(Un)Stick" Maximize "(Un)Maximize" 94 100 Destroy "Destroy" Close "Close" Refresh "Refresh Screen" EndPopup #////////////////# # Mouse Bindings # #////////////////# # There are 4 colums to the table # First column is the event (Mouse Click or Key Press) # Mouse 0 specify any click in a TitleBar box # Where can be 1 or 2 for first or second box # Mouse 1 is left button, 2 is middle, 3 is right # Second Column is where the click takes place # R = Root window (main background) # F = Window Frame (the corners) # S = Bottom bar # I = Icon Window # T = TitleBar # W = Application Window # Third Column is the Context (ie, modifier keys) # N = No modifiers # A = Any context except for inside the TitleBar Boxes # C = Control # S = Shift # M = Meta # Combos are allowed (eg, CS = Control+Shift) # Fourth Column is the action to take upon click # Action can be a function, popup, or regular action # Key # # Where # # Context# # Action # Mouse 0 1 A Iconify Mouse 0 2 A Destroy Mouse 1 R A PopUp "HotList" Mouse 1 FS A Function "Resize-or-Raise" Mouse 1 I A Function "Move-or-Iconify" Mouse 1 T A Function "Shade-or-Raise" Mouse 2 R A WindowList Mouse 3 RT A PopUp "Window Ops" #////////////////////# # Keyboard Shortcuts # #////////////////////# Key F1 A M Popup "HotList" Key F2 A M Popup "Window Ops" Key F3 A M WindowList Key F4 A M Destroy Key F5 A A Iconify # Alt(Meta)-Tab pages through open, bordered windows Key Tab A M CirculateUp #////////////////////# # Module Definitions # #////////////////////# # Pager Configuration -- We have Swallow-ed Pager into the Wharf # Now let's change colors and make labels *PagerBack #908090 *PagerFore #484048 *PagerFont -adobe-helvetica-bold-r-*-*-8-*-*-*-*-*-*-* *PagerHilight #cab3ca *PagerLabel 0 Desktop *PagerSmallFont 0x0