############################################################################ # Eric's Big Blue-Steel Desktop # by Eric S. Raymond http://www.tuxedo.org/~esr # # $Id: .fvwm2rc,v 1.13 1998/12/21 05:11:05 esr Exp esr $ # # An uncluttered desktop design for serious hacking, using tiled windows on a # 21" 1600x1200 monitor. Requires stock RedHat 5.0 plus fvwm2 RPMs. Due to # bug in the fvwm2-2.0.46-8 RPM, you must do the following as root # ln -s /usr/share/icons /usr/X11R6/include/pixmaps # otherwise the icon references won't work. # # This configuration sets up a one-row toolbar in the lower left hand corner # (xterm, emacs, netscape, swallowed xclock, swallowed xbiff, swallowed xload, # swallowed xeyes). You may want to uncomment the fvwm-reset button while # tuning it. There is an icon box area above the toolbar sufficent for two # rows of standard xterm icons. # # This configuration is designed to be used with an Emacs 20 wired for 15-pixel # type at 100dpi (I used to use a 16-pixel courier font, but I went to 15 # to get more vertical lines). If you set your xterm to use a 15-pixel font, # you'll be able to fit an 80-column, 77-row xterm to the left of the Emacs. # Set # # xterm*Font:-*-fixed-*-r-*-*-15-*-100-100-*-*-*-* # emacs.Font:-*-fixed-*-r-*-*-15-*-100-100-*-*-*-* # # The emacs will take up the almost the entire right side of the screen (the # toolbar and icon box are sized not to overlap with it). You should get 78 # lines of Emacs buffer (plus status line and minibuffer of course). # # These font sizes have been carefully chosen to make optimal use of screen # space; they're the largest ones that will fit 160 columns of text on a # 1600-pixel-wide display without overlap. The 16-pixel font goes to Emacs, # on the assumption that the Emacs window will usually contain large # amounts of complex text and therefore needs the edge in size and readability. # # No pager (with this big a screen, who needs one?). No window list (that's # what the mouse and border decorations are for). SloppyFocus and a 25msec # AutoRaise so focus changes if you linger in a window other than root. # Simple menus -- the root menu carries nearly everything. # # The telnets to locke, sunsite etc. in the root menu are site-specific. # I have these hooked to expect scripts that do the login/password thing. # # I use this with `xearth -pos "orbit 3 70" -label -nomarkers -night 40 &' # set up as a background in my .xinitrc, and nothing else in there besides # the fvwm2 startup. I also recommend replacing the ugly default xbiff # bitmaps with the following resource lines: # # xbiff*flip:false # xbiff*fullPixmap:mailfull # xbiff*emptyPixmap:mailempty # xbiff*fullPixmapMask:mailfullmsk # xbiff*emptyPixmapMask:mailemptymsk # xbiff*shapeWindow:true # # You may also find you need to set # # Netscape.Navigator.geometry: =750x1030+0+0 # # as some versions of Netscape don't do -geometry, despite their docs. # ############################################################################ # FvwmButtons # *FvwmButtonsFore Black *FvwmButtonsBack SteelBlue3 *FvwmButtonsFont -adobe-helvetica-bold-r-*-*-18-*-*-*-*-*-*-* *FvwmButtonsGeometry +0-0 *FvwmButtonsRows 1 #*FvwmButtons Restart fvwm.xpm Restart *FvwmButtons Xterm xterm-linux.xpm Exec "xterm" xterm & *FvwmButtons Emacs gnu-animal.xpm Exec "Emacs" emacs -geometry =80x78-0+0 & *FvwmButtons Netscape /home2/esr/links/navigator.xpm Exec "Netscape" netscape -geometry =750x1030+0+0 & *FvwmButtons(Swallow XClock 'Exec xclock -fg white -bg SteelBlue3 &') *FvwmButtons(Swallow XBiff 'Exec xbiff &') *FvwmButtons(Swallow(UseOld,NoKill) "xload" \ `Exec xload -title xload -bg SteelBlue3 -update 3 -nolabel &`) *FvwmButtons(Swallow XEyes 'Exec xeyes -center LightGrey &') ############################################################################## # MENU Setup # # This defines the most common window operations AddToMenu Window-Ops "Window Ops" Title + "Move" Move-or-Raise2 + "Resize" Resize-or-Raise2 + "Raise" Raise + "Lower" Lower + "(De)Iconify" Iconify + "(Un)Stick" Stick + "(Un)Maximize" maximize_func + "" Nop + "Delete" Delete + "Close" Close + "Destroy" Destroy + "" Nop + "Refresh Screen" Refresh # A trimmed down version of "Window Ops", good for binding to decorations AddToMenu Window-Ops2 "Move" Move-or-Raise + "Resize" Resize-or-Raise + "Raise/Lower" RaiseLower + "Iconify" Iconify + "(Un)Stick" Stick + "" Nop + "Delete" Delete + "Close" Close + "Destroy" Destroy + "" Nop + "ScrollBar" Module FvwmScroll 2 2 + "Print" PrintFunction # This is the root menu AddToMenu RootMenu "Root Menu" Title + "Xterm" exec xterm & + "emacs" exec emacs & + "Small Browser" exec netscape -geometry =640x480 & + "Telnet to locke" exec xterm -T locke -n locke -e locke-telnet & + "Telnet to tuxedo" exec xterm -T tuxedo -n tuxedo -e tuxedo-telnet & + "Telnet to tux" exec xterm -T tux -n tux -e tux-telnet & + "Telnet to opensource" exec xterm -T opensource -n opensource -e opensource-telnet & + "Ssh to sunsite" exec xterm -T sunsite -n sunsite -e sunsite-ssh & + "Slrn" exec xterm =80x66 -T Netnews -n Netnews -e "NNTPSERVER=netnews.netaxs.com slrn & + "Archie" exec xterm -T archie -n archie -e archie & + "Xman" exec xman & + "Spider" exec spider & + "Mines" exec xdemineur -ouvre & + "" Nop + "Restart Fvwm2" Restart fvwm2 + "Restart scwm" Restart scwm + "Exit Fvwm" Quit ############################################################################ # COLORS and FONTS # # Set the fore and back border colors for the window that has focus HilightColor linen Red3 # Set fore/back border colors for all other windows Style "*" Color linen/SteelBlue3 # Set colors/font for pop-up menus # Syntax: MenuStyle forecolor backcolor shadecolor font style(fvwm/mwm) MenuStyle black grey slategrey -adobe-times-bold-r-*-*-18-*-*-*-*-*-*-* fvwm # Set fonts to use on title bar and icon label WindowFont -adobe-helvetica-bold-r-*-*-18-*-*-*-*-*-*-* IconFont -adobe-helvetica-bold-r-*-*-18-*-*-*-*-*-*-* ############################################################################ # MISC Setup # # Uncomment this to make windows auto-raise after [x] milliseconds Module FvwmAuto 25 # Auto Place Icons is a nice feature (Left Top Right Bottom) Style "*" IconBox 0 1030 750 1550 # Keep the last focus while in root window Style "*" SloppyFocus # Click/release must occur in