Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ############################################################################
- # Se7en's <se7en@cock.email> Big Blue-Steel Desktop
- # (Forked from Eric S. Raymond <esr@thyrsus.com> http://www.tuxedo.org/~esr)
- #
- # $Id: .fvwm2rc,v 1.13 1998/12/21 05:11:05 esr Exp esr $
- # Last edited: Fri Aug 23 03:56:38 UTC 2019
- #
- # An uncluttered desktop design for serious hacking, using tiled
- # windows on a 21" 1600x1200 monitor.
- # 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. 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.
- # 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 /usr/share/pixmaps/fvwm/xterm-linux.xpm Exec "xterm" xterm &
- *FvwmButtons Emacs /usr/share/pixmaps/fvwm/gnu-animal.xpm Exec "Emacs" xterm -geometry =80x30+0+0 -T Emacs -n Emacs -e emacs &
- *FvwmButtons Icecat /usr/share/pixmaps/icecat.xpm Exec "Netscape" netscape -geometry =750x1030+0+0 &
- *FvwmButtons Files /usr/share/pixmaps/mc.xpm Exec xterm -geometry =127x44 -T "Midnight Commander" -n mc -e mc &
- *FvwmButtons(Swallow XClock 'Exec xclock -fg white -bg SteelBlue3 &')
- *FvwmButtons(Swallow XBiff 'Exec xbiff -bg SteelBlue3 &')
- *FvwmButtons(Swallow(UseOld,NoKill) "xload" \
- `Exec xload -title xload -bg SteelBlue3 -update 3 -nolabel &`)
- *FvwmButtons(Swallow XEyes 'Exec xeyes -center LightGrey &')
- # FvwmButtons icon launcher:
- DestroyFunc Launcher
- AddToFunc Launcher
- + I DestroyModuleConfig $0Launch: *
- + I *$0Launch: Geometry 64x68
- + I *$0Launch: Columns 1
- + I *$0Launch: Rows 4
- + I *$0Launch: Frame 0
- + I *$0Launch: (1x3+0+0, Icon $1, Action (Mouse 1) `Exec $2`)
- + I *$0Launch: Pixmap none
- + I *$0Launch: (1x1+0+3, Font 9x15, Fore White, Back DarkBlue, \
- Title $0, Action (Mouse 1) `Exec $2`)
- + I Style $0Launch HandleWidth 0, NoTitle
- + I Module FvwmButtons $3 $0Launch
- Launcher Weechat /usr/share/pixmaps/weechat.xpm "xterm -geometry =80x24 -T Weechat -n Weechat -e weechat" "-g +0+0"
- Launcher GNUSocial /usr/share/pixmaps/fvwm/gnu-animal.xpm "yaics" "-g +0+100"
- Launcher Wolf /usr/local/games/enemy-territory/ET.xpm "et" "-g +0+200"
- Launcher Doom /usr/share/icons/freedoom2.png "doom" "-g +0+300
- Launcher Tor /usr/share/pixmaps/tor.xpm "torbrowser-launcher" "-g +0+400"
- Launcher Surf /usr/share/pixmaps/surf.xpm "surf -ns https://searx.neocities.org/" "-g +0+500"
- Launcher BBS /usr/share/pixmaps/fvwm/rterm.xpm "torify syncterm" "-g +0+600"
- #Launcher Xman /usr/share/pixmaps/fvwm/xman.xpm "xman" "-g +0+700"
- ##############################################################################
- # 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 &
- + "Small Browser" exec netscape -geometry =640x480 &
- + "Onion Browser" exec torbrowser-launcher &
- + "Surf" exec surf https://searx.me &
- + "Surf (No Javascript)" exec surf -ns https://searx.me &
- + "Xpenguins" exec xpenguins &
- + "" Nop # Line Divider
- + "Restart Fvwm2" Restart fvwm2
- + "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-*-*-14-*-*-*-*-*-*-*
- IconFont -adobe-helvetica-bold-r-*-*-14-*-*-*-*-*-*-*
- ############################################################################
- # 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 <n milliseconds to be a "click"
- ClickTime 250
- # I have fast graphics, so always do opaque moves
- OpaqueMoveSize 100
- # Suppress the pager DeskTopSize 1 1
- ############################################################################
- # WINDOW Placement
- #
- # SmartPlacement makes new windows pop-up in blank regions of screen
- # This is only good if you have room though, else it will overlap.
- Style "*" SmartPlacement
- # If SmartPlacement fails, this places it randomly instead of making you do it
- Style "*" RandomPlacement
- ############################################################################
- # STYLE Flag Setup
- #
- # (decorations and window options)
- # Note: Order is important!! If compatible styles are set, styles are ORed
- # together. If conflicting styles are set, the last one specified is used.
- # change the default width, set a global icon, and give borders to popups
- Style "*" BorderWidth 7, HandleWidth 7, Icon x.xpm, DecorateTransient
- Style "Fvwm*" NoTitle, Sticky, WindowListSkip, NoHandles, BorderWidth 0
- Style "*lock" NoTitle, Sticky, WindowListSkip
- Style "xbiff" NoTitle, Sticky, WindowListSkip
- Style "xload" NoTitle, Sticky, WindowListSkip, ClickToFocus
- Style "*term" Icon xterm-linux.xpm
- Style "xman" Icon xman.xpm
- Style "emacs" NoPPosition, NoTitle, NoHandles, BorderWidth 5, Icon gnu-animal.xpm
- #############################################################################
- # START-UP Functions
- #
- AddToFunc "InitFunction" "I" Module FvwmButtons
- + "I" Next [!iconic CurrentScreen xterm] Focus
- + "I" CursorMove 30 40
- AddToFunc "RestartFunction" "I" Module FvwmButtons
- + "I" Next [!iconic CurrentScreen xterm] Focus
- + "I" CursorMove 30 40
- ############################################################################
- # COMPLEX FUNCTIONS
- #
- AddToFunc Move-or-Raise "I" Raise
- + "M" Move
- + "D" Lower
- AddToFunc Move-or-Raise2 "M" Raise
- + "M" Move
- + "D" Lower
- # This maximize percentage gives a 64-line window and leaves the
- # icons and toolbar unobscured (100 gives 77 lines)
- AddToFunc Maximize-Func "C" Maximize 0 85
- + "D" Maximize 100 100
- AddToFunc Move-or-Iconify "I" Raise
- + "M" Move
- + "D" Iconify
- AddToFunc Resize-or-Raise "I" Raise
- + "M" Resize
- + "D" Lower
- AddToFunc Resize-or-Raise2 "M" Raise
- + "M" Resize
- + "D" Lower
- AddToFunc PrintFunction "I" Raise
- + "I" Exec xdpr -id $w
- AddToFunc Iconify-and-Raise "I" Iconify
- + "I" Raise
- ############################################################################
- # MOUSE Setup
- #
- # First, the root window. Button 1 brings up the Main Menu. B2 is the
- # window operations list, and B3 is the winlist module
- # Button Context Modifi Function
- Mouse 1 R A Menu RootMenu Nop
- Mouse 2 R A Menu Window-Ops Nop
- Mouse 3 R A WindowList
- # Now, title bar buttons
- # Left button is the Window-Ops2 menu, right is iconify, rightmost is maximize
- # Button Context Modifi Function
- Mouse 0 1 A Menu Window-Ops2 Close
- Mouse 0 2 A Maximize-Func
- Mouse 0 4 A Iconify
- # Button 1 in Frame or Sides is a resize-or-raise, in Icons is a move or
- # de-iconify, and on Top does a move-or-raise
- # Button Context Modifi Function
- Mouse 1 FS A Resize-or-Raise
- Mouse 1 I A Move-or-Iconify
- Mouse 1 T A Move-or-Raise
- # Button 2 in an Icon is de-iconify, in Corners/Sides/Titlebar gets Ops Menu
- # Button Context Modifi Function
- Mouse 2 I A Iconify
- Mouse 2 FST A Menu Window-Ops2 Nop
- # Button 3 does a raise-lower on anything
- Mouse 3 TSIF A RaiseLower
- ############################################################################
- # KEYBOARD Setup
- #
- # press shift arrow + control anywhere, and move the pointer by 1% of a page
- Key Left A SC CursorMove -1 +0
- Key Right A SC CursorMove +1 +0
- Key Up A SC CursorMove +0 -1
- Key Down A SC CursorMove +0 +1
- # press shift arrow + meta key, and move the pointer by 1/10 of a page
- Key Left A SM CursorMove -10 +0
- Key Right A SM CursorMove +10 +0
- Key Up A SM CursorMove +0 -10
- Key Down A SM CursorMove +0 +10
- # Keyboard accelerators
- Key F1 A MC Popup "RootMenu"
- Key F2 A MC Popup "Window-Ops"
- Key F3 A MC Iconify
- Key F4 A MC Move
- Key F5 A MC Resize
- Key F6 A MC Next [*] focus
- Key F7 A MC Prev [*] focus
- # .fvwm2rc ends here.
- ############################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement