Hi Manuel,

Manuel Solis wrote on Sun, Nov 25, 2018 at 08:50:23PM -0600:

> I have read some post about getting along with the default WM, i mean
> complaining about configuring it, saying that the man page its dificult
> and stuff, and then saddly going to another WM.
> 
> I my OpenBSD era (from 60 to date) i was using cwm but wondering why they
> say that Theo uses fvwm, so i wondered that maybe it is worth it to try.

The default fvwm(1) is certainly not the best part of OpenBSD - the
code is old and crappy.

I can't speak for Theo, but the reason i'm using it is nothing more
and nothing less than that i don't want to bother configuring a
window manager.  If i have one complaint about the base fvwm(1) -
apart from the crappy code - it is that it is way too bloated and
has way too many features.  For that reason, even though i'm rarely
using .dot-files for any programs (except git, mutt, and ssh, which
don't work at all without a config file), this is one of the few
programs where i do have my own config file.  The point is to get
rid of all the horrible bloat in the default .fvwrc:

   $ grep -cv -e '^$' -e '^#' /usr/X11R6/lib/X11/fvwm/.fvwmrc
  378
   $ grep -cv -e '^$' -e '^#' /home/schwarze/.fvwmrc              
  81

Yours,
  Ingo


   $ ls ~/.profile ~/.*shrc* ~/.ex* ~/.vi*
  ls: /home/schwarze/.*shrc*: No such file or directory
  ls: /home/schwarze/.ex*: No such file or directory
  ls: /home/schwarze/.profile: No such file or directory
  ls: /home/schwarze/.vi*: No such file or directory

   $ cat /home/schwarze/.fvwmrc
# .fvwmrc - fv window manager configuration script
# Ingo Schwarze, 10.6.2001
# Version: Ingo Schwarze, 22.11.2010

########################################################################
# standard settings
########################################################################
# paths
ModulePath /usr/X11R6/lib/X11/fvwm
PixmapPath /usr/X11R6/include/X11/pixmaps
IconPath   /usr/X11R6/include/X11/bitmaps

# screens
DeskTopSize 1x1
EdgeResistance 10000 10000
EdgeScroll 0 0

# windows
WindowFont -adobe-times-bold-r-*-*-14-*-*-*-*-*-*-*
IconFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
AddToDecor Default HilightColor DarkRed Wheat
Style "*" UseDecor Default, Color Black/LightSteelBlue
Style "*" BorderWidth 7, HandleWidth 7
Style "*" Icon unknown1.xpm, IconBox 0 -10 -280 -1
Style "*" MWMFunctions, MWMDecor, HintOverride
Style "*" DecorateTransient, NoPPosition
Style "*" SmartPlacement, StubbornPlacement, SloppyFocus

########################################################################
# menus
########################################################################
MenuStyle Black LightGrey DarkGrey
+ -adobe-times-bold-r-*-*-12-*-*-*-*-*-*-* fvwm

AddToMenu terminal
+ "xterm" Exec xterm -ls -geometry 80x80
+ "usta" Exec xterm -T usta.de -geometry 80x80 -e /usr/bin/ssh usta

AddToMenu window "window" Title         
+ "move%jmove.xpm%" Move
+ "resize%jresize.xpm%" Resize
+ "maximize%mini.maximize-horiz.xpm%" Maximize
+ "raise%jraise.xpm%"   Raise
+ "lower%jlower.xpm%" Lower 
+ "iconify%mini.iconify.xpm%" Iconify
+ "stick%mini.stick.xpm%" Stick         
+ "" Nop
+ "list%jwindow.xpm%" WindowList
+ "" Nop
+ "refresh%mini.refresh.xpm%" RefreshWindow
+ "close%mini.winXX-close.xpm%" Close
+ "delete%mini.cut.xpm%" Delete
+ "destroy%mini.destroy.xpm%" Destroy

AddToMenu system "system" Title
+ "xlock%mini.xlock.xpm%" Exec exec xlock -mode blank
+ "recapture%mini.refresh.xpm%" Recapture
+ "xrdb -load%jx.xpm%" Exec xrdb -load $HOME/.Xdefaults 
+ "restart%mini.excl.xpm" Restart fvwm
+ "scrotwm" Restart scrotwm
+ "quit%mini.exit.xpm%" Quit

########################################################################
# mouse
########################################################################
ClickTime 750

# on the wallpaper
Mouse 1 R A Menu terminal Nop
Mouse 2 R A Menu window Nop
Mouse 3 R A Menu system Nop

# in the title bar of a window
Mouse 0 1 A Menu window Close
Mouse 1 T A Raise
Mouse 2 T A Move
Mouse 3 T A Lower
Mouse 0 2 A Maximize-Func
Mouse 0 4 A Iconify

# at the edge of a window
Mouse 0 SF A Resize

# in an icon
Mouse 1 I A Iconify
Mouse 2 I A Move
Mouse 3 I A Iconify

########################################################################
# pager
########################################################################
AddToFunc InitFunction    "I" Module FvwmPager 0 9
AddToFunc RestartFunction "I" Module FvwmPager 0 9
Style "FvwmPager" StaysOnTop, Color DimGrey/LightGrey
*FvwmPagerGeometry 60x560+0+0
*FvwmPagerRows 10
*FvwmPagerColumns 1
*FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
*FvwmPagerSmallFont 5x9
*FvwmPagerFore Black
*FvwmPagerBack LightGrey
*FvwmPagerHilight Wheat
*FvwmPagerLabel 0 "orga"
*FvwmPagerLabel 1 "usta"
*FvwmPagerLabel 2 "src"
*FvwmPagerLabel 3 "regress"
*FvwmPagerLabel 4 "man"
*FvwmPagerLabel 5 "bsd.lv"
*FvwmPagerLabel 6 "ports"
*FvwmPagerLabel 7 "misc1"
*FvwmPagerLabel 8 "misc2"
*FvwmPagerLabel 9 "web"

########################################################################
# various programs
########################################################################
Style "Fvwm*"       NoTitle, Sticky, WindowListSkip
Style "Fvwm*"       BorderWidth 2, CirculateSkipIcon, CirculateSkip
Style "XTerm"       Icon xterm.xpm, SloppyFocus, IconBox -70 1 -1 -140
Style "*lock"       NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus

Reply via email to