I recently wrote about how its a good idea to check whether a port update might also include new features which could be exposed by the options framework. Another thing to remember when you update installed ports rather than necessarily how they're built and whether new features are added by upstream in the newer version, is their configuration files if they have one. It had been a while since I updated FVWM3 on my system and except for when I switched from FVWM2 to the newer incarnation, I haven't checked for changes in its configuration file.
When you install any port which may be adjusted by a configuration file, there is likely to be a sample or default version installed on your system. These may require ticking an option when the port is built but they should be included in a pkg install as part of its "one size fits most" default configuration. If you check the
In the case of FVWM3, what I needed to find was in the pkg-plist as %%DATADIR%%/default-config/config and this was equivalent to
Test (f $[FVWM_USERDIR]/local.config) Read $[FVWM_USERDIR]/local.config
A comment in my local.config file for that line mentions that I could have a much smaller local.config file but I choose to do similarly to how I handle the kernconf file, my local changes intending to override the default. It is easier for me to compare than to try to find all the modifications in the default file or documentation, and so I choose to use a very verbose local overrides file, a modified duplicate with any unique lines at the very end.
I can compare the config file I am using now with the newer default file to see what changed with
There does remain the fvwm3-default-config file in my home directory which means I did copy it there, but I believe I also copied it a second time as
> # .-----------------------------------------------------------------------------,
> # | local.config: My revisions, additions, overrides of the .fvwm/config file |
> # '-----------------------------------------------------------------------------'
>
################################## ##################################
# ____________________________ # ____________________________
# ( _________________________) # ( _________________________)
# ) (__ _ _ _ _ # ) (__ _ _ _ _
# ( __)( \/ )( \/\/ )/\/\ # ( __)( \/ )( \/\/ )/\/\
# ) ( \ / \ // \ # ) ( \ / \ // \
# (___) \/ \/\/(_/\/\_) 3 # (___) \/ \/\/(_/\/\_) 3
# #
# #
# This is the default configuration file shipped with fvwm. | # This is BASED UPON the default configuration file shipped with fvwm.
# #
# This config file is organized as follows: # This config file is organized as follows:
# #
# 1: Functions # 1: Functions
# 2: Styles # 2: Styles
# 3: Colorsets # 3: Colorsets
# 4: Menus # 4: Menus
# 5: Bindings # 5: Bindings
# 6: Decor # 6: Decor
# 7: Modules # 7: Modules
# #
################################# #################################
> #----------------------------------------------------------------------->B
> # pkg install misc/qt5ct or misc/qt6ct
>
> #When stuck with vesa:
> #SetEnv QT_SCALE_FACTOR .25
> #SetEnv QT_AUTO_SCREEN_SCALE_FACTOR 1
> #SetEnv QT_SCREEN_SCALE_FACTORS .25
>
> #When stuck with scfb:
> #SetEnv QT_AUTO_SCREEN_SCALE_FACTOR 1
> #SetEnv QT_SCREEN_SCALE_FACTORS .35
>
> #When QT thinks it isn't 4k
> SetEnv QT_AUTO_SCREEN_SCALE_FACTOR 1
> SetEnv QT_SCREEN_SCALE_FACTORS 1.0
> SetEnv QT_SCALE_FACTOR 1.0
>
> SetEnv LSCOLORS Exfxcxdxbxegedabagacad
> SetEnv CLICOLOR true
>
> SetEnv LANGUAGE en_US.UTF-8
> SetEnv LANG en_US.UTF-8
> SetEnv LC_ALL en_US.UTF-8
> SetEnv LC_CTYPE POSIX
> #SetEnv QT_QPA_PLATFORMTHEME qt5ct # Maybe need to use qt6 now.
> SetEnv QT_QPA_PLATFORMTHEME qt6ct
> setenv QT_QPA_PLATFORM xcb
>
> setenv CRYPTOGRAPHY_OPENSSL_NO_LEGACY true
>
> ColormapFocus FollowsMouse
> #----------------------------------------------------------------------->E
>
# InfoStoreAdd can be used to store variable data internal to fvwm. # InfoStoreAdd can be used to store variable data internal to fvwm.
# The variable can then be used in the configuration as $[infostore.name]. # The variable can then be used in the configuration as $[infostore.name].
# #
# You can also use environment variables but for data internal to fvwm # You can also use environment variables but for data internal to fvwm
# use InfoStore variables instead. # use InfoStore variables instead.
# #
# The following is used in various menus. Change this to your terminal of | # The following is used in various menus and also sets the terminal
# choice. | # that FvwmConsole uses. Change this to your terminal of choice
InfoStoreAdd terminal xterm InfoStoreAdd terminal xterm
# This is used for "Run Command" and the Meta+Space key-binding. # This is used for "Run Command" and the Meta+Space key-binding.
# runcmd is the binary name and runcmdopt contains additional # runcmd is the binary name and runcmdopt contains additional
# command line options. # command line options.
InfoStoreAdd runcmd "dmenu_run" InfoStoreAdd runcmd "dmenu_run"
InfoStoreAdd runcmdopt "-nb '#2b4e5e'" InfoStoreAdd runcmdopt "-nb '#2b4e5e'"
# DesktopConfiguration sets how fvwm handles desktops: # DesktopConfiguration sets how fvwm handles desktops:
# #
# * global -- the default. This means all screens show the same desktops/pages. # * global -- the default. This means all screens show the same desktops/pages.
# * per-monitor -- every monitor has its own virtual desktop/pages. # * per-monitor -- every monitor has its own virtual desktop/pages.
# For this mode it's recommended that FvwmPager is configured to # For this mode it's recommended that FvwmPager is configured to
# use the monitor configuration option, so that only windows on that # use the monitor configuration option, so that only windows on that
# specific monitor are shown. # specific monitor are shown.
# * shared -- the virtual desktops are shared across all monitors and each # * shared -- the virtual desktops are shared across all monitors and each
# monitor shows a single desktop at a time. If one monitor switches to a # monitor shows a single desktop at a time. If one monitor switches to a
# desktop currently being viewed by another, the two monitors swap which # desktop currently being viewed by another, the two monitors swap which
# desktop they are viewing. This is similar to how Xmonad or Herbsflutwm # desktop they are viewing. This is similar to how Xmonad or Herbsflutwm
# handle desks. This mode only works with two or more monitors. # handle desks. This mode only works with two or more monitors.
# #
DesktopConfiguration global DesktopConfiguration global
########### ###########
# 1: Functions # 1: Functions
# #
# Fvwm can use custom functions for various tasks. # Fvwm can use custom functions for various tasks.
# The syntax for defining a function named FunctionName is: # The syntax for defining a function named FunctionName is:
# #
# DestroyFunc FunctionName # DestroyFunc FunctionName
# AddToFunc FunctionName # AddToFunc FunctionName
# + I [Action to do Immediately] # + I [Action to do Immediately]
# + C [Action to do on a Mouse Click] # + C [Action to do on a Mouse Click]
# + D [Action to do on a Mouse Double Click] # + D [Action to do on a Mouse Double Click]
# + H [Action to do on a Mouse Hold] # + H [Action to do on a Mouse Hold]
# + M [Action to do on a Mouse Motion] # + M [Action to do on a Mouse Motion]
########### ###########
# Start Function # Start Function
# #
# The start function is run right after fvwm is done reading # The start function is run right after fvwm is done reading
# the config file. This function run after each restart # the config file. This function run after each restart
# so using Test (Init) or Test (Restart) can further control # so using Test (Init) or Test (Restart) can further control
# actions that are run during the first time run (Init) or # actions that are run during the first time run (Init) or
# actions that are run after a restart. # actions that are run after a restart.
DestroyFunc StartFunction DestroyFunc StartFunction
AddToFunc StartFunction AddToFunc StartFunction
+ I Test (Init) InitBackground | #+ I Test (Init) InitBackground
+ I Module FvwmButtons RightPanel | #+ I Module FvwmButtons RightPanel
+ I Module FvwmEvent EventNewDesk | #+ I Module FvwmEvent EventNewDesk
> + I Module FvwmButtons
> + I Test (x feh) Exec exec feh --bg-fill /home/tigersharke/Images/Ichigo/213296.png
> + I Test (Init, x gkrellm) Exec exec gkrellm -f &
> + I Test (Init, x umix) Exec exec xterm +cm -bcf 1800 -bcn 9600 -bc -uc -cr purple -g
> -selfg orange -T umix_xterm -e umix -d /dev/mixer -f /home/tigersharke/.umixr
# Function to set background when fvwm starts # Function to set background when fvwm starts
DestroyFunc InitBackground | #DestroyFunc InitBackground
AddToFunc InitBackground | #AddToFunc InitBackground
+ I Test (f $[FVWM_USERDIR]/.BGdefault) \ | #+ I Test (f $[FVWM_USERDIR]/.BGdefault) \
Exec exec fvwm-root $[FVWM_USERDIR]/.BGdefault | # Exec exec fvwm-root $[FVWM_USERDIR]/.BGdefault
+ I TestRc (NoMatch) Exec exec fvwm-root \ | #+ I TestRc (NoMatch) Exec exec fvwm-root \
$[FVWM_DATADIR]/default-config/images/background/bg1.png | # $[FVWM_DATADIR]/default-config/images/background/bg1.png
# Mouse Bindings Functions # Mouse Bindings Functions
DestroyFunc RaiseMoveX DestroyFunc RaiseMoveX
AddToFunc RaiseMoveX AddToFunc RaiseMoveX
+ I Raise + I Raise
+ M $0 + M $0
+ D $1 + D $1
DestroyFunc RaiseMove DestroyFunc RaiseMove
AddToFunc RaiseMove AddToFunc RaiseMove
+ I Raise + I Raise
+ M $0 + M $0
DestroyFunc MoveToCurrent DestroyFunc MoveToCurrent
AddToFunc MoveToCurrent AddToFunc MoveToCurrent
+ I ThisWindow MoveToPage + I ThisWindow MoveToPage
+ I ThisWindow MoveToDesk + I ThisWindow MoveToDesk
# Function: ViewManPage $0 # Function: ViewManPage $0
# #
# This function loads the man page $0 in an terminal # This function loads the man page $0 in an terminal
# and is used with the help menu. If the manual page is # and is used with the help menu. If the manual page is
# not found, point users at fvwm.org and keep terminal open. # not found, point users at fvwm.org and keep terminal open.
DestroyFunc ViewManPage DestroyFunc ViewManPage
AddToFunc ViewManPage AddToFunc ViewManPage
+ I Exec exec $[infostore.terminal] -g 80x40 \ + I Exec exec $[infostore.terminal] -g 80x40 \
-n "Manual Page - $0" -T "Manual Page - $0" -e 'man "$0" || \ -n "Manual Page - $0" -T "Manual Page - $0" -e 'man "$0" || \
(echo "$[gt.Documentation can be found at https://www.fvwm.org]"; \ (echo "$[gt.Documentation can be found at https://www.fvwm.org]"; \
read tmp)' read tmp)'
# Function: SetBG $0 # Function: SetBG $0
# #
# SetBG is used with the background menu to set the background # SetBG is used with the background menu to set the background
# image and configure it to be loaded the next time fvwm is run. # image and configure it to be loaded the next time fvwm is run.
# Note, fvwm-root can't use .jpeg or resize images. Use something # Note, fvwm-root can't use .jpeg or resize images. Use something
# like display, feh, etc. # like display, feh, etc.
DestroyFunc SetBG | #DestroyFunc SetBG
AddToFunc SetBG | #AddToFunc SetBG
+ I Test (f $[FVWM_USERDIR]/images/background/$0) \ | #+ I Test (f $[FVWM_USERDIR]/images/background/$0) \
Exec exec fvwm-root $[FVWM_USERDIR]/images/background/$0 | # Exec exec fvwm-root $[FVWM_USERDIR]/images/background/$0
+ I TestRc (Match) Exec exec ln -fs images/background/$0 \ | #+ I TestRc (Match) Exec exec ln -fs images/background/$0 \
$[FVWM_USERDIR]/.BGdefault | # $[FVWM_USERDIR]/.BGdefault
+ I TestRc (Match) Break | #+ I TestRc (Match) Break
+ I Test (!f $[FVWM_DATADIR]/default-config/images/background/$0) Break | #+ I Test (!f $[FVWM_DATADIR]/default-config/images/background/$0) Break
+ I Exec exec fvwm-root $[FVWM_DATADIR]/default-config/images/background/$0 | #+ I Exec exec fvwm-root $[FVWM_DATADIR]/default-config/images/background/$0
+ I Exec exec ln -fs $[FVWM_DATADIR]/default-config/images/background/$0 \ | #+ I Exec exec ln -fs $[FVWM_DATADIR]/default-config/images/background/$0 \
$[FVWM_USERDIR]/.BGdefault | # $[FVWM_USERDIR]/.BGdefault
# Function: IconManClick # Function: IconManClick
# #
# This function is run from FvwmIconMan when the button is clicked. # This function is run from FvwmIconMan when the button is clicked.
DestroyFunc IconManClick DestroyFunc IconManClick
AddToFunc IconManClick AddToFunc IconManClick
+ I ThisWindow (Raised, !Shaded, !Iconic, CurrentPage, AnyScreen) Iconify | #+ I ThisWindow (Raised, !Shaded, !Iconic, CurrentPage, AnyScreen) Iconify
+ I TestRc (Match) Break + I TestRc (Match) Break
+ I ThisWindow WindowShade off + I ThisWindow WindowShade off
+ I ThisWindow Iconify off + I ThisWindow Iconify off
+ I ThisWindow Raise + I ThisWindow Raise
+ I ThisWindow (AcceptsFocus) FlipFocus + I ThisWindow (AcceptsFocus) FlipFocus
> + I ThisWindow (Raised, !Shaded, !Iconic, CurrentPage) Iconify
# Function: ToggleTitle # Function: ToggleTitle
# #
# This function will toggle if fvwm shows the TitleBar. # This function will toggle if fvwm shows the TitleBar.
DestroyFunc ToggleTitle DestroyFunc ToggleTitle
AddToFunc ToggleTitle AddToFunc ToggleTitle
+ I ThisWindow (HasTitle) WindowStyle !Title + I ThisWindow (HasTitle) WindowStyle !Title
+ I TestRc (NoMatch) WindowStyle Title + I TestRc (NoMatch) WindowStyle Title
# Function: ChangeDesk # Function: ChangeDesk
# #
# This function is called by FvwmEvent every time the Desk is changed. # This function is called by FvwmEvent every time the Desk is changed.
DestroyFunc ChangeDesk DestroyFunc ChangeDesk
AddToFunc ChangeDesk AddToFunc ChangeDesk
+ I SendToModule FvwmButtons ChangeButton desk0 Colorset 10 + I SendToModule FvwmButtons ChangeButton desk0 Colorset 10
+ I SendToModule FvwmButtons ChangeButton desk1 Colorset 10 + I SendToModule FvwmButtons ChangeButton desk1 Colorset 10
+ I SendToModule FvwmButtons ChangeButton desk2 Colorset 10 + I SendToModule FvwmButtons ChangeButton desk2 Colorset 10
+ I SendToModule FvwmButtons ChangeButton desk3 Colorset 10 + I SendToModule FvwmButtons ChangeButton desk3 Colorset 10
+ I SendToModule FvwmButtons ChangeButton desk$0 Colorset 11 + I SendToModule FvwmButtons ChangeButton desk$0 Colorset 11
############# #############
# 2: Styles # # 2: Styles #
############# #############
# Desktops and Pages # Desktops and Pages
# #
# Fvwm has both Virtual Desktops and Pages. Each Desktop is built from # Fvwm has both Virtual Desktops and Pages. Each Desktop is built from
# a grid of Pages. The following sets the name of four Desktops and then # a grid of Pages. The following sets the name of four Desktops and then
# divides each Desktop into a 2x2 grid of Pages that are positioned as # divides each Desktop into a 2x2 grid of Pages that are positioned as
# #
# +---+---+ # +---+---+
# | | | # | | |
# +---+---+ # +---+---+
# | | | # | | |
# +---+---+ # +---+---+
# #
DesktopName 0 Main | DesktopName 0
DesktopName 1 Desk1 | DesktopName 1
DesktopName 2 Desk2 | DesktopName 2
DesktopName 3 Desk3 | DesktopName 3
DesktopSize 2x2 DesktopSize 2x2
# EdgeScroll will move the view port between the Pages when the mouse # EdgeScroll will move the view port between the Pages when the mouse
# moves to the edge of the screen. This set the amount of distance to # moves to the edge of the screen. This set the amount of distance to
# scroll at 100% (full page) and the EdgeResistance which is a timer # scroll at 100% (full page) and the EdgeResistance which is a timer
# for how long the mouse as at the edge before it scrolls. # for how long the mouse as at the edge before it scrolls.
# #
# Set EdgeScroll 0 0 and/or EdgeResistance -1 to disable. # Set EdgeScroll 0 0 and/or EdgeResistance -1 to disable.
EdgeScroll 100 100 | #EdgeScroll 100 100
EdgeResistance 450 | #EdgeResistance 450
EdgeThickness 1 | #EdgeThickness 1
Style * EdgeMoveDelay 350, EdgeMoveResistance 350 | EdgeScroll 0 0
> EdgeResistance 1800
> #Style * EdgeMoveDelay 350, EdgeMoveResistance 350
# EwmhBaseStruts [screen name] [left] [right] [top] [bottom] # EwmhBaseStruts [screen name] [left] [right] [top] [bottom]
# Reserves space along the edge(s) of the Screen that will not # Reserves space along the edge(s) of the Screen that will not
# be covered when maximizing or placing windows. # be covered when maximizing or placing windows.
EwmhBaseStruts screen $[monitor.primary] 0 120 0 0 | #EwmhBaseStruts screen $[monitor.primary] 0 120 0 0
> EwmhBaseStruts screen $[monitor.primary] 0 0 0 0
# This sets the ClickTime and MoveThreshold used to determine # This sets the ClickTime and MoveThreshold used to determine
# Double Clicks, Hold and Move for the mouse. # Double Clicks, Hold and Move for the mouse.
ClickTime 250 | #ClickTime 250
MoveThreshold 3 MoveThreshold 3
> ClickTime 750
# Sets the focus style to SloppyFocus and a mouse click # Sets the focus style to SloppyFocus and a mouse click
# in a window will Raise it. # in a window will Raise it.
Style * SloppyFocus, MouseFocusClickRaises | #Style * SloppyFocus, MouseFocusClickRaises
> Style * FocusFollowsMouse, MouseFocusClickRaises
# Default Font # Default Font
DefaultFont "xft:Sans:Bold:size=8:antialias=True" | DefaultFont "xft:Sans:antialias=True"
> #DefaultFont "Shadow=2 bl:xft:Sans:pixelsize=16:Bold:minspace=true"
# Window Placement # Window Placement
Style * MinOverlapPlacement, GrabFocusOff, !UsePPosition Style * MinOverlapPlacement, GrabFocusOff, !UsePPosition
# Sets all windows to OpaqueMove (vs a wired frame) and windows will # Sets all windows to OpaqueMove (vs a wired frame) and windows will
# snap to each other and the edge of the screen. # snap to each other and the edge of the screen.
OpaqueMoveSize unlimited OpaqueMoveSize unlimited
Style * ResizeOpaque, SnapAttraction 15 SameType ScreenAll, SnapGrid Style * ResizeOpaque, SnapAttraction 15 SameType ScreenAll, SnapGrid
# Transient Windows (such as open file windows) # Transient Windows (such as open file windows)
Style * DecorateTransient, StackTransientParent Style * DecorateTransient, StackTransientParent
Style * !FPGrabFocusTransient, FPReleaseFocusTransient Style * !FPGrabFocusTransient, FPReleaseFocusTransient
# WindowShade # WindowShade
Style * WindowShadeScrolls, WindowShadeSteps 10 Style * WindowShadeScrolls, WindowShadeSteps 10
# Ignore Numlock and other modifiers for bindings # Ignore Numlock and other modifiers for bindings
# See http://fvwm.org/documentation/faq/#why-do-numlock-capslock-and-scrolllock-inter # See http://fvwm.org/documentation/faq/#why-do-numlock-capslock-and-scrolllock-inter
IgnoreModifiers L25 IgnoreModifiers L25
# Decor Styles # Decor Styles
Style * BorderWidth 5, HandleWidth 5, MWMButtons, FvwmBorder, FirmBorder Style * BorderWidth 5, HandleWidth 5, MWMButtons, FvwmBorder, FirmBorder
Style * Colorset 1, HilightColorset 2 Style * Colorset 1, HilightColorset 2
# BorderColorset and HilightBorderColorset take 8 positive colorsets # BorderColorset and HilightBorderColorset take 8 positive colorsets
# to specify the colorset for each edge and handle (corner). The order is: # to specify the colorset for each edge and handle (corner). The order is:
# North NorthEast East SouthEast South SouthWest West NorthWest # North NorthEast East SouthEast South SouthWest West NorthWest
# This makes the edges and corners (handles) different colors. # This makes the edges and corners (handles) different colors.
Style * BorderColorset 3 4 3 4 3 4 3 4 | #Style * BorderColorset 3 4 3 4 3 4 3 4
Style * HilightBorderColorset 4 8 4 8 4 8 4 8 | #Style * HilightBorderColorset 4 8 4 8 4 8 4 8
> Style * BorderColorset 3, HilightBorderColorset 4
# Disable Icons from appearing on desktop. # Disable Icons from appearing on desktop.
# Comment this out or use Style * Icon to get the icons back. # Comment this out or use Style * Icon to get the icons back.
Style * !Icon | #Style * !Icon
> Style * Icon
# ICCCM allows windows to tell the WM to not give them keyboard focus. # ICCCM allows windows to tell the WM to not give them keyboard focus.
# Many windows use this incorrectly and expect keyboard focus anyways. # Many windows use this incorrectly and expect keyboard focus anyways.
# This styles tells fvwm to ignore this property, which makes some # This styles tells fvwm to ignore this property, which makes some
# applications (such as java and electron apps) behave better. # applications (such as java and electron apps) behave better.
Style * Lenience Style * Lenience
# Window Specific Styles # Window Specific Styles
Style RightPanel !Title, !Borders, !Handles, Sticky, \ | #Style RightPanel !Title, !Borders, !Handles, Sticky, \
WindowListSkip, NeverFocus | # WindowListSkip, NeverFocus
Style ConfirmQuit !Title, PositionPlacement Center, WindowListSkip, Layer 6 Style ConfirmQuit !Title, PositionPlacement Center, WindowListSkip, Layer 6
Style FvwmIdent WindowListSkip Style FvwmIdent WindowListSkip
####### #######
# 3: Colorsets # 3: Colorsets
# #
# Colorsets can be used to configure the color of the various # Colorsets can be used to configure the color of the various
# parts of fvwm such as window decor, menus, modules, etc. # parts of fvwm such as window decor, menus, modules, etc.
# #
# Colorset Convention # Colorset Convention
# #
# 0 - Default # 0 - Default
# 1 - Inactive Windows # 1 - Inactive Windows
# 2 - Active Window # 2 - Active Window
# 3 - Inactive Windows Borders # 3 - Inactive Windows Borders
# 4 - Active Windows Borders # 4 - Active Windows Borders
# 5 - Menu - Inactive Item # 5 - Menu - Inactive Item
# 6 - Menu - Active Item # 6 - Menu - Active Item
# 7 - Menu - Grayed Item # 7 - Menu - Grayed Item
# 8 - Menu - Title # 8 - Menu - Title
# 9 - Reserved # 9 - Reserved
# 10+ Modules # 10+ Modules
# 10 - Module Default # 10 - Module Default
# 11 - Module Hilight # 11 - Module Hilight
# 12 - Module ActiveButton (Mouse Hover) # 12 - Module ActiveButton (Mouse Hover)
# 13 - FvwmPager Active Page # 13 - FvwmPager Active Page
# 14 - FvwmIconMan Iconified Button # 14 - FvwmIconMan Iconified Button
########### ###########
# Art-Deco theme (Blue) # Art-Deco theme (Blue)
Colorset 0 fg #ffffff, bg #2b4e5e, hi, sh, Plain, NoShape Colorset 0 fg #ffffff, bg #2b4e5e, hi, sh, Plain, NoShape
Colorset 1 fg #000000, bg #88b2b1, hi, sh, Plain, NoShape | #Colorset 1 fg #000000, bg #88b2b1, hi, sh, Plain, NoShape
Colorset 2 fg #ffffff, bg #2b4e5e, hi, sh, Plain, NoShape | #Colorset 2 fg #ffffff, bg #2b4e5e, hi, sh, Plain, NoShape
Colorset 3 fg black, bg #415554, hi, sh, Plain, NoShape | #Colorset 3 fg black, bg #415554, hi, sh, Plain, NoShape
Colorset 4 fg black, bg #14252c, hi #24424f, sh #111f26, Plain, NoShape | #Colorset 4 fg black, bg #14252c, hi #24424f, sh #111f26, Plain, NoShape
Colorset 5 fg #000000, bg #cbdcca, hi, sh, Plain, NoShape Colorset 5 fg #000000, bg #cbdcca, hi, sh, Plain, NoShape
Colorset 6 fg #ffffff, bg #88b2b1, hi, sh, Plain, NoShape Colorset 6 fg #ffffff, bg #88b2b1, hi, sh, Plain, NoShape
Colorset 7 fg #999999, bg #cbdcca, hi, sh, Plain, NoShape Colorset 7 fg #999999, bg #cbdcca, hi, sh, Plain, NoShape
Colorset 8 fg #ffffff, bg #2b4e5e, hi, sh, Plain, NoShape Colorset 8 fg #ffffff, bg #2b4e5e, hi, sh, Plain, NoShape
Colorset 10 fg #ffffff, bg #2b4e5e, hi #aaaaaa, sh #999999, Plain, NoShape Colorset 10 fg #ffffff, bg #2b4e5e, hi #aaaaaa, sh #999999, Plain, NoShape
Colorset 11 fg #ffffff, bg #1a6e99, hi #ffffff, sh #ffffff, Plain, NoShape Colorset 11 fg #ffffff, bg #1a6e99, hi #ffffff, sh #ffffff, Plain, NoShape
Colorset 12 fg #2d2d2d, bg #ffffff, hi, sh, Plain, NoShape Colorset 12 fg #2d2d2d, bg #ffffff, hi, sh, Plain, NoShape
Colorset 13 fg #ffffff, bg #006c6c, hi, sh, Plain, NoShape Colorset 13 fg #ffffff, bg #006c6c, hi, sh, Plain, NoShape
Colorset 14 fg #a8988f, bg #2b4e5e, hi #aaaaaa, sh #999999, Plain, NoShape Colorset 14 fg #a8988f, bg #2b4e5e, hi #aaaaaa, sh #999999, Plain, NoShape
> Colorset 1 VGradient 32 4 grey96 30 grey90 50 grey88 85 grey76 10 black, fg black, bg
> Colorset 2 VGradient 32 4 grey96 30 grey85 50 grey80 80 grey60 10 black, fg grey85, b
> Colorset 3 VGradient 32 3 #009a00 20 green4 50 darkslategrey 10 black, bg grey
> Colorset 4 VGradient 32 3 grey80 80 grey70 70 grey62 10 black, bg grey
####### #######
# 4: Menus # 4: Menus
########### ###########
MenuStyle * MenuColorset 5, ActiveColorset 6, GreyedColorset 7, TitleColorset 8 MenuStyle * MenuColorset 5, ActiveColorset 6, GreyedColorset 7, TitleColorset 8
MenuStyle * Hilight3DOff, HilightBack, HilightTitleBack, SeparatorsLong MenuStyle * Hilight3DOff, HilightBack, HilightTitleBack, SeparatorsLong
MenuStyle * TrianglesSolid, TrianglesUseFore MenuStyle * TrianglesSolid, TrianglesUseFore
MenuStyle * ItemFormat "%s%|%3.1i%5.3l%5l%5r%5.3>%|" MenuStyle * ItemFormat "%s%|%3.1i%5.3l%5l%5r%5.3>%|"
MenuStyle * Font "xft:Sans:Bold:size=8:antialias=True" | #MenuStyle * Font "xft:Sans:Bold:size=8:antialias=True"
> MenuStyle * Font "xft:Sans:Bold:size=6:antialias=True"
> MenuStyle * Foreground #404040, Background #9b9b9b, Greyed grey40
> #MenuStyle * ItemFormat "%|%3.1i%5.3l%5l%5r%5.3>%|"
# Root Menu # Root Menu
# #
# The root menu will PopUp with a click in the root # The root menu will PopUp with a click in the root
# window or using alt-f1 (or menu). # window or using alt-f1 (or menu).
DestroyMenu MenuFvwmRoot DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot "Fvwm" Title AddToMenu MenuFvwmRoot "Fvwm" Title
+ "$[gt.&Programs]%icons/programs.png%" Popup MenuPrograms + "$[gt.&Programs]%icons/programs.png%" Popup MenuPrograms
+ "$[gt.XDG &Menu]%icons/apps.png%" Popup XDGMenu | + "$[gt.XDG &Menu]%icons/apps.png%" Popup XDGMenu
+ "&XTerm%icons/terminal.png%" Exec exec $[infostore.terminal] | + "&XTerm%icons/terminal.png%" Exec exec $[infostore.terminal]
Test (x $[infostore.runcmd]) + "R&un Command%icons/run_arrow.png%" Exec exec $[infost Test (x $[infostore.runcmd]) + "R&un Command%icons/run_arrow.png%" Exec exec $[infost
+ "" Nop + "" Nop
> Test (x $[FVWM_MODULEDIR]/FvwmConsole) + "Fvwm&Console%icons/terminal.png%" Module Fv
Test (x FvwmPrompt) + "&FvwmPrompt%icons/terminal.png%" Exec exec $[infostore.termina Test (x FvwmPrompt) + "&FvwmPrompt%icons/terminal.png%" Exec exec $[infostore.termina
+ "$[gt.&Wallpapers]%icons/wallpaper.png%" Popup BGMenu + "$[gt.&Wallpapers]%icons/wallpaper.png%" Popup BGMenu
+ "$[gt.M&an Pages]%icons/help.png%" Popup MenuFvwmManPages | + "$[gt.M&an Pages]%icons/help.png%" Popup MenuFvwmManPages
+ "$[gt.Cop&y Config]%icons/conf.png%" FvwmScript FvwmScript-ConfirmCopyConfig + "$[gt.Cop&y Config]%icons/conf.png%" FvwmScript FvwmScript-ConfirmCopyConfig
+ "" Nop + "" Nop
+ "$[gt.Re&fresh]%icons/refresh.png%" Refresh + "$[gt.Re&fresh]%icons/refresh.png%" Refresh
+ "$[gt.&Restart]%icons/restart.png%" Restart + "$[gt.&Restart]%icons/restart.png%" Restart
+ "$[gt.&Quit]%icons/quit.png%" Module FvwmScript FvwmScript-ConfirmQuit | + "$[gt.&Quit]%icons/quit.png%" Module FvwmScript FvwmScript-ConfirmQuit
> # This (above) may no longer be pertinent:
> #Test (x $[FVWM_MODULEDIR]/FvwmConsole) + "Fvwm&Console%icons/terminal.png%" Module F
# Generate XDGMenu # Generate XDGMenu
PipeRead "fvwm-menu-desktop -e" PipeRead "fvwm-menu-desktop -e"
# Programs Menu # Programs Menu
# #
# This test for some common programs and adds them to the menu. # This test for some common programs and adds them to the menu.
# When adding programs you don't need to use the Test (x foo) # When adding programs you don't need to use the Test (x foo)
# lines as this is only to help make this menu portable. # lines as this is only to help make this menu portable.
DestroyMenu MenuPrograms DestroyMenu MenuPrograms
AddToMenu MenuPrograms "$[gt.Programs]" Title AddToMenu MenuPrograms "$[gt.Programs]" Title
> Test (x librewolf) + "LibreWolf" Exec exec librewolf
Test (x chromium) + "Chromium" Exec exec chromium Test (x chromium) + "Chromium" Exec exec chromium
Test (x firefox) + "Firefox" Exec exec firefox Test (x firefox) + "Firefox" Exec exec firefox
Test (x google-chrome) + "Google-Chrome" Exec exec google-chrome Test (x google-chrome) + "Google-Chrome" Exec exec google-chrome
Test (x gvim) + "gVim" Exec exec gvim Test (x gvim) + "gVim" Exec exec gvim
Test (x emacs) + "Emacs" Exec exec emacs Test (x emacs) + "Emacs" Exec exec emacs
Test (x gimp) + "Gimp" Exec exec gimp Test (x gimp) + "Gimp" Exec exec gimp
Test (x vlc) + "VLC" Exec exec vlc Test (x vlc) + "VLC" Exec exec vlc
# Background Menu # Background Menu
# #
# Backgrounds are located in ~/.fvwm/images/background/ # Backgrounds are located in ~/.fvwm/images/background/
# Menu icons are located in ~/.fvwm/images/bgicons/ # Menu icons are located in ~/.fvwm/images/bgicons/
DestroyMenu BGMenu DestroyMenu BGMenu
AddToMenu BGMenu "$[gt.Wallpapers]" Title | #AddToMenu BGMenu "$[gt.Wallpapers]" Title
+ "$[gt.Floral]%bgicons/bg1.png%" SetBG bg1.png | #+ "$[gt.Floral]%bgicons/bg1.png%" SetBG bg1.png
+ "$[gt.Circles]%bgicons/bg2.png%" SetBG bg2.png | #+ "$[gt.Circles]%bgicons/bg2.png%" SetBG bg2.png
+ "$[gt.Space]%bgicons/bg3.png%" SetBG bg3.png | #+ "$[gt.Space]%bgicons/bg3.png%" SetBG bg3.png
# Window Operations Menus # Window Operations Menus
DestroyMenu MenuWindowOps DestroyMenu MenuWindowOps
AddToMenu MenuWindowOps AddToMenu MenuWindowOps
+ "$[gt.Move]" Move | + "$[gt.Move]" Move
+ "$[gt.Resize]" Resize | + "$[gt.Resize]" Resize
+ "$[gt.(De)Iconify]" Iconify | + "$[gt.(De)Iconify]" Iconify
+ "$[gt.(Un)Maximize]" Maximize | + "$[gt.(Un)Maximize]" Maximize
+ "$[gt.(Un)Shade]" WindowShade | + "$[gt.(Un)Shade]" WindowShade
+ "$[gt.(Un)Stick]" Stick | + "$[gt.(Un)Stick]" Stick
+ "" Nop + "" Nop
+ "$[gt.Close]" Close | + "$[gt.Close]" Close
+ "$[gt.More]..." Menu MenuWindowOpsLong This 0 0 | + "$[gt.More]..." Menu MenuWindowOpsLong This 0 0
DestroyMenu MenuWindowOpsLong DestroyMenu MenuWindowOpsLong
AddToMenu MenuWindowOpsLong "$[gt.Window Ops]" Title AddToMenu MenuWindowOpsLong "$[gt.Window Ops]" Title
+ "$[gt.Move]%icons/win/move.png%" Move | + "$[gt.Move]%icons/win/move.png%" Move
+ "$[gt.Resize]%icons/win/resize.png%" Resize | + "$[gt.Resize]%icons/win/resize.png%" Resize
+ "$[gt.(De)Iconify]%icons/win/iconify.png%" Iconify | + "$[gt.(De)Iconify]%icons/win/iconify.png%" Iconify
+ "$[gt.(Un)Maximize]%icons/win/max.png%" Maximize | + "$[gt.(Un)Maximize]%icons/win/max.png%" Maximize
+ "$[gt.(Un)Shade]%icons/win/shade.png%" WindowShade | + "$[gt.(Un)Shade]%icons/win/shade.png%" WindowShade
+ "$[gt.(Un)Sticky]%icons/win/sticky.png%" Stick | + "$[gt.(Un)Sticky]%icons/win/sticky.png%" Stick
+ "$[gt.(No)Title Bar]%icons/win/title.png%" Pick (CirculateHit) ToggleTitle | + "$[gt.(No)Title Bar]%icons/win/title.png%" Pick (CirculateHit) ToggleTitle
+ "$[gt.Send To]%icons/win/sendto.png%" Popup MenuSendTo | + "$[gt.Send To]%icons/win/sendto.png%" Popup MenuSendTo
+ "" Nop + "" Nop
+ "$[gt.Close]%icons/win/close.png%" Close | + "$[gt.Close]%icons/win/close.png%" Close
+ "$[gt.Destroy]%icons/win/destroy.png%" Destroy | + "$[gt.Destroy]%icons/win/destroy.png%" Destroy
+ "" Nop + "" Nop
+ "$[gt.Raise]%icons/win/raise.png%" Raise | + "$[gt.Raise]%icons/win/raise.png%" Raise
+ "$[gt.Lower]%icons/win/lower.png%" Lower | + "$[gt.Lower]%icons/win/lower.png%" Lower
+ "" Nop + "" Nop
+ "$[gt.Stays On Top]%icons/win/top.png%" Pick (CirculateHit) Layer 0 6 | + "$[gt.Stays On Top]%icons/win/top.png%" Pick (CirculateHit) Layer 0 6
+ "$[gt.Stays Put]%icons/win/stays.png%" Pick (CirculateHit) Layer 0 4 | + "$[gt.Stays Put]%icons/win/stays.png%" Pick (CirculateHit) Layer 0 4
+ "$[gt.Stays On Bottom]%icons/win/bottom.png%" Pick (CirculateHit) Layer 0 2 + "$[gt.Stays On Bottom]%icons/win/bottom.png%" Pick (CirculateHit) Layer 0 2
+ "" Nop + "" Nop
+ "$[gt.Identify]%icons/info.png%" Module FvwmIdent | + "$[gt.Identify]%icons/info.png%" Module FvwmIdent
DestroyMenu MenuIconOps DestroyMenu MenuIconOps
AddToMenu MenuIconOps AddToMenu MenuIconOps
+ "$[gt.(De)Iconify]%icons/win/iconify.png%" Iconify | + "$[gt.(De)Iconify]%icons/win/iconify.png%" Iconify
+ "$[gt.(Un)Maximize]%icons/win/max.png%" Maximize | + "$[gt.(Un)Maximize]%icons/win/max.png%" Maximize
+ "$[gt.(Un)Shade]%icons/win/shade.png%" WindowShade | + "$[gt.(Un)Shade]%icons/win/shade.png%" WindowShade
+ "$[gt.(Un)Sticky]%icons/win/sticky.png%" Stick | + "$[gt.(Un)Sticky]%icons/win/sticky.png%" Stick
+ "$[gt.(No)TitleBar]%icons/win/title.png%" Pick (CirculateHit) ToggleTitle | + "$[gt.(No)TitleBar]%icons/win/title.png%" Pick (CirculateHit) ToggleTit
+ "$[gt.Send To]%icons/win/sendto.png%" Popup MenuSendTo | + "$[gt.Send To]%icons/win/sendto.png%" Popup MenuSendTo
+ "" Nop + "" Nop
+ "$[gt.Close]%icons/win/close.png%" Close | + "$[gt.Close]%icons/win/close.png%" Close
+ "$[gt.Destroy]%icons/win/destroy.png%" Destroy | + "$[gt.Destroy]%icons/win/destroy.png%" Destroy
+ "" Nop + "" Nop
+ "$[gt.Raise]%icons/win/raise.png%" Raise | + "$[gt.Raise]%icons/win/raise.png%" Raise
+ "$[gt.Lower]%icons/win/lower.png%" Lower | + "$[gt.Lower]%icons/win/lower.png%" Lower
+ "" Nop + "" Nop
+ "$[gt.Stays On Top]%icons/win/top.png%" Pick (CirculateHit) Layer 0 6 + "$[gt.Stays On Top]%icons/win/top.png%" Pick (CirculateHit) Layer 0 6
+ "$[gt.Stays Put]%icons/win/stays.png%" Pick (CirculateHit) Layer 0 4 | + "$[gt.Stays Put]%icons/win/stays.png%" Pick (CirculateHit) Layer 0 4
+ "$[gt.Stays On Bottom]%icons/win/bottom.png%" Pick (CirculateHit) Layer 0 2 + "$[gt.Stays On Bottom]%icons/win/bottom.png%" Pick (CirculateHit) Layer 0 2
+ "" Nop + "" Nop
+ "$[gt.Identify]%icons/info.png%" Module FvwmIdent | + "$[gt.Identify]%icons/info.png%" Module FvwmIdent
DestroyMenu MenuSendTo DestroyMenu MenuSendTo
AddToMenu MenuSendTo AddToMenu MenuSendTo
+ "$[gt.Current]" MoveToCurrent | + "$[gt.Current]" MoveToCurrent
+ "$[gt.Page]" PopUp MenuSendToPage | + "$[gt.Page]" PopUp MenuSendToPage
+ "$[gt.Desk]" PopUp MenuSendToDesk | + "$[gt.Desk]" PopUp MenuSendToDesk
DestroyMenu MenuSendToDesk DestroyMenu MenuSendToDesk
AddToMenu MenuSendToDesk AddToMenu MenuSendToDesk
+ "$[gt.Desk] 0" MoveToDesk 0 0 | + "$[gt.Desk] 0" MoveToDesk 0 0
+ "$[gt.Desk] 1" MoveToDesk 0 1 | + "$[gt.Desk] 1" MoveToDesk 0 1
+ "$[gt.Desk] 2" MoveToDesk 0 2 | + "$[gt.Desk] 2" MoveToDesk 0 2
+ "$[gt.Desk] 3" MoveToDesk 0 3 | + "$[gt.Desk] 3" MoveToDesk 0 3
DestroyMenu MenuSendToPage DestroyMenu MenuSendToPage
AddToMenu MenuSendToPage AddToMenu MenuSendToPage
+ "$[gt.Page] (0,0)" MoveToPage 0 0 | + "$[gt.Page] (0,0)" MoveToPage 0 0
+ "$[gt.Page] (0,1)" MoveToPage 0 1 | + "$[gt.Page] (0,1)" MoveToPage 0 1
+ "$[gt.Page] (1,0)" MoveToPage 1 0 | + "$[gt.Page] (1,0)" MoveToPage 1 0
+ "$[gt.Page] (1,1)" MoveToPage 1 1 | + "$[gt.Page] (1,1)" MoveToPage 1 1
# Fvwm Man Pages (Help) Menu # Fvwm Man Pages (Help) Menu
DestroyMenu MenuFvwmManPages DestroyMenu MenuFvwmManPages
AddToMenu MenuFvwmManPages "Help" Title AddToMenu MenuFvwmManPages "Help" Title
+ "fvwm3" ViewManPage fvwm3 + "fvwm3" ViewManPage fvwm3
+ "fvwm3commands" ViewManPage fvwm3commands + "fvwm3commands" ViewManPage fvwm3commands
+ "fvwm3styles" ViewManPage fvwm3styles + "fvwm3styles" ViewManPage fvwm3styles
+ "fvwm3menus" ViewManPage fvwm3menus + "fvwm3menus" ViewManPage fvwm3menus
+ "fvwm3all" ViewManPage fvwm3all + "fvwm3all" ViewManPage fvwm3all
+ "" Nop + "" Nop
+ "FvwmAnimate" ViewManPage FvwmAnimate + "FvwmAnimate" ViewManPage FvwmAnimate
+ "FvwmAuto" ViewManPage FvwmAuto + "FvwmAuto" ViewManPage FvwmAuto
+ "FvwmBacker" ViewManPage FvwmBacker + "FvwmBacker" ViewManPage FvwmBacker
+ "FvwmButtons" ViewManPage FvwmButtons + "FvwmButtons" ViewManPage FvwmButtons
+ "FvwmCommand" ViewManPage FvwmCommand + "FvwmCommand" ViewManPage FvwmCommand
> Test (x $[FVWM_MODULEDIR]/FvwmConsole) + "FvwmConsole" ViewManPage FvwmConsole
+ "FvwmEvent" ViewManPage FvwmEvent + "FvwmEvent" ViewManPage FvwmEvent
+ "FvwmIconMan" ViewManPage FvwmIconMan + "FvwmIconMan" ViewManPage FvwmIconMan
+ "FvwmIdent" ViewManPage FvwmIdent + "FvwmIdent" ViewManPage FvwmIdent
+ "FvwmPager" ViewManPage FvwmPager + "FvwmPager" ViewManPage FvwmPager
+ "FvwmPerl" ViewManPage FvwmPerl + "FvwmPerl" ViewManPage FvwmPerl
Test (x FvwmPrompt) + "FvwmPrompt" ViewManPage FvwmPrompt Test (x FvwmPrompt) + "FvwmPrompt" ViewManPage FvwmPrompt
+ "FvwmRearrange" ViewManPage FvwmRearrange + "FvwmRearrange" ViewManPage FvwmRearrange
+ "FvwmScript" ViewManPage FvwmScript + "FvwmScript" ViewManPage FvwmScript
+ "" Nop + "" Nop
+ "fvwm-root" ViewManPage fvwm-root + "fvwm-root" ViewManPage fvwm-root
+ "fvwm-menu-desktop" ViewManPage fvwm-menu-desktop + "fvwm-menu-desktop" ViewManPage fvwm-menu-desktop
+ "fvwm-menu-directory" ViewManPage fvwm-menu-directory + "fvwm-menu-directory" ViewManPage fvwm-menu-directory
+ "fvwm-menu-xlock" ViewManPage fvwm-menu-xlock + "fvwm-menu-xlock" ViewManPage fvwm-menu-xlock
####### #######
# 5: Mouse and Key bindings # 5: Mouse and Key bindings
# #
# Contexts: # Contexts:
# R = Root Window rrrrrrrrrrrrrrrrrrrrrr # R = Root Window rrrrrrrrrrrrrrrrrrrrrr
# W = Application Window rIrrrr<---------^rrrrr # W = Application Window rIrrrr<---------^rrrrr
# F = Frame Corners rrrrrr[13TTTT642]rrrrr # F = Frame Corners rrrrrr[13TTTT642]rrrrr
# S = Frame Sides rIrrrr[wwwwwwwww]rrrrr # S = Frame Sides rIrrrr[wwwwwwwww]rrrrr
# T = Title Bar rrrrrr[wwwwwwwww]rrrrr # T = Title Bar rrrrrr[wwwwwwwww]rrrrr
# I = Icon rIrrrrv_________>rrrrr # I = Icon rIrrrrv_________>rrrrr
# rrrrrrrrrrrrrrrrrrrrrr # rrrrrrrrrrrrrrrrrrrrrr
# #
# Numbers are buttons: [1 3 5 7 9 TTTTT 0 8 6 4 2] # Numbers are buttons: [1 3 5 7 9 TTTTT 0 8 6 4 2]
# #
# Modifiers: (A)ny, (C)ontrol, (S)hift, (M)eta, (N)othing # Modifiers: (A)ny, (C)ontrol, (S)hift, (M)eta, (N)othing
# #
# Format: Key # Format: Key
# Mouse # Mouse
#################### ####################
# Alt-F1 or Menu to load the root menu and Alt-Tab for a WindowList. # Alt-F1 or Menu to load the root menu and Alt-Tab for a WindowList.
# Ctrl-F1/F2/F3/F4 will switch between the Virtual Desktops. # Ctrl-F1/F2/F3/F4 will switch between the Virtual Desktops.
# Super_R (windows key) will launch a terminal. # Super_R (windows key) will launch a terminal.
# Alt-Space to launch dmenu (Note: dmenu must be present in the system) # Alt-Space to launch dmenu (Note: dmenu must be present in the system)
# #
# Silent suppresses any errors (such as keyboards with no Menu key). # Silent suppresses any errors (such as keyboards with no Menu key).
Silent Key F1 A M Menu MenuFvwmRoot | Silent Key F1 A M Menu MenuFvwmRoot
Silent Key Menu A A Menu MenuFvwmRoot | Silent Key Menu A A Menu MenuFvwmRoot
Silent Key Tab A M WindowList Root c c NoDeskSort, NoGeometry, SelectOnRelease Me | Silent Key Tab A M WindowList Root c c NoDeskSort, NoGeometry, SelectOnRelease Meta_L
Silent Key F1 A C GotoDesk 0 0 | Silent Key F1 A C GotoDesk 0 0
Silent Key F2 A C GotoDesk 0 1 | Silent Key F2 A C GotoDesk 0 1
Silent Key F3 A C GotoDesk 0 2 | Silent Key F3 A C GotoDesk 0 2
Silent Key F4 A C GotoDesk 0 3 | Silent Key F4 A C GotoDesk 0 3
Silent Key Super_R A A Exec exec $[infostore.terminal] | #Silent Key Super_R A A Exec exec $[infostore.terminal]
Test (x $[infostore.runcmd]) Silent Key Space A M Exec exec $[infostore.runcmd] $[inf Test (x $[infostore.runcmd]) Silent Key Space A M Exec exec $[infostore.runcmd] $[inf
> Silent Key Super_R A A
# Window Buttons: [1 3 5 7 9 TTTTT 0 8 6 4 2] # Window Buttons: [1 3 5 7 9 TTTTT 0 8 6 4 2]
# 1 - Open the WindowOps menu. # 1 - Open the WindowOps menu.
# 2 - Close on single click, Destory on double click. # 2 - Close on single click, Destory on double click.
# 4 - Maximize (right/middle button will only maximize vertical/horizontal) # 4 - Maximize (right/middle button will only maximize vertical/horizontal)
# 6 - Iconify (minimize) # 6 - Iconify (minimize)
Mouse 1 1 A Menu MenuWindowOps Delete Mouse 1 1 A Menu MenuWindowOps Delete
Mouse 1 2 A Close Mouse 1 2 A Close
Mouse 1 4 A Maximize 100 100 Mouse 1 4 A Maximize 100 100
Mouse 2 4 A Maximize 0 100 Mouse 2 4 A Maximize 0 100
Mouse 3 4 A Maximize 100 0 Mouse 3 4 A Maximize 100 0
Mouse 1 6 A Iconify Mouse 1 6 A Iconify
> #Mouse 1 1 A # Why did I disable these?
> #Mouse 1 2 A
> #Mouse 1 4 A
> #Mouse 2 4 A
> #Mouse 3 4 A
> #Mouse 1 6 A
# TitleBar: Click to Raise, Move, Double Click to Maximize # TitleBar: Click to Raise, Move, Double Click to Maximize
# Mouse Wheel Up/Down to WindowShade On/Off # Mouse Wheel Up/Down to WindowShade On/Off
# Borders: Click to raise, Move to Resize # Borders: Click to raise, Move to Resize
# Root Window: Left Click - Main Menu # Root Window: Left Click - Main Menu
# Right Click - WindowOps Menu # Right Click - WindowOps Menu
# Middle Click - Window List Menu # Middle Click - Window List Menu
# Right click TitleBar/Borders for WindowOps Menu # Right click TitleBar/Borders for WindowOps Menu
Mouse 1 T A RaiseMoveX Move Maximize | Mouse 1 T A RaiseMoveX Move Maximize
Mouse 1 FS A RaiseMove Resize | Mouse 1 FS A RaiseMove Resize
Mouse 4 T A WindowShade True | Mouse 4 T A WindowShade True
Mouse 5 T A WindowShade False | Mouse 5 T A WindowShade False
Mouse 1 R A Menu MenuFvwmRoot | Mouse 1 R A Menu MenuFvwmRoot
Mouse 2 R A WindowList | Mouse 2 R A WindowList
Mouse 3 R A Menu MenuWindowOpsLong | Mouse 3 R A Menu MenuWindowOpsLong
Mouse 1 I A RaiseMoveX Move "Iconify off" | Mouse 1 I A RaiseMoveX Move "Iconify off"
Mouse 3 T A Menu MenuWindowOps | Mouse 3 T A Menu MenuWindowOps
Mouse 3 I A Menu MenuIconOps Mouse 3 I A Menu MenuIconOps
> #Mouse 1 T A # Why did I disable these?
> #Mouse 1 FS A
> #Mouse 4 T A
> #Mouse 5 T A
> #Mouse 1 R A
> #Mouse 2 R A
> #Mouse 3 R A
> #Mouse 1 I A
> #Mouse 3 T A
> #Mouse 3 I A
# Shuffle moves a window in a given direction until it hits another window. # Shuffle moves a window in a given direction until it hits another window.
# These bindings will shuffle a window using the arrow keys. # These bindings will shuffle a window using the arrow keys.
# Ctrl-Alt Up_Arrow - Shuffle window up # Ctrl-Alt Up_Arrow - Shuffle window up
# Ctrl-Alt Right_Arrow - Shuffle window right # Ctrl-Alt Right_Arrow - Shuffle window right
# Ctrl-Alt Down_Arrow - Shuffle window down # Ctrl-Alt Down_Arrow - Shuffle window down
# Ctrl-Alt Left_Arrow - Shuffle window left # Ctrl-Alt Left_Arrow - Shuffle window left
# Holding shift (Ctrl-Alt-Shift) will grow the window in the given direction. # Holding shift (Ctrl-Alt-Shift) will grow the window in the given direction.
DestroyFunc ShuffleDir DestroyFunc ShuffleDir
AddToFunc ShuffleDir AddToFunc ShuffleDir
+ I Move shuffle layers $[w.layer] $[w.layer] snap windows $0 + I Move shuffle layers $[w.layer] $[w.layer] snap windows $0
+ I WarpToWindow 50 50 + I WarpToWindow 50 50
Key Up WTSF CM ShuffleDir up Key Up WTSF CM ShuffleDir up
Key Down WTSF CM ShuffleDir down Key Down WTSF CM ShuffleDir down
Key Left WTSF CM ShuffleDir left Key Left WTSF CM ShuffleDir left
Key Right WTSF CM ShuffleDir right Key Right WTSF CM ShuffleDir right
Key Up WTSF CSM Maximize True 0 growup Key Up WTSF CSM Maximize True 0 growup
Key Down WTSF CSM Maximize True 0 growdown Key Down WTSF CSM Maximize True 0 growdown
Key Right WTSF CSM Maximize True growright 0 Key Right WTSF CSM Maximize True growright 0
Key Left WTSF CSM Maximize True growleft 0 Key Left WTSF CSM Maximize True growleft 0
####### #######
# 6: Window Decor # 6: Window Decor
# #
# Buttons Locations: [1 3 5 7 9 TTTTT 0 8 6 4 2] # Buttons Locations: [1 3 5 7 9 TTTTT 0 8 6 4 2]
# #
# 1 - WindowOps Menu # 1 - WindowOps Menu
# 2 - Close # 2 - Close
# 4 - Maximize # 4 - Maximize
# 6 - Minimize # 6 - Minimize
########### ###########
TitleStyle Centered Height 18 -- Flat | #TitleStyle Centered Height 18 -- Flat
ButtonStyle All ActiveUp Vector 5 15x15@4 15x85@3 85x85@3 85x15@3 \ | #ButtonStyle All ActiveUp Vector 5 15x15@4 15x85@3 85x85@3 85x15@3 15x15@3 -- Flat
15x15@3 -- Flat |
ButtonStyle All ToggledActiveUp Vector 5 15x15@4 15x85@3 85x85@3 \ | #ButtonStyle All ToggledActiveUp Vector 5 15x15@4 15x85@3 85x85@3 85x15@3 15x15@3 --
85x15@3 15x15@3 -- Flat |
ButtonStyle All ActiveDown Vector 5 20x20@4 20x80@3 80x80@3 80x20@3 \ | #ButtonStyle All ActiveDown Vector 5 20x20@4 20x80@3 80x80@3 80x20@3 20x20@3 -- Flat
20x20@3 -- Flat |
ButtonStyle All ToggledActiveDown Vector 5 20x20@4 20x80@3 80x80@3 \ | #ButtonStyle All ToggledActiveDown Vector 5 20x20@4 20x80@3 80x80@3 80x20@3 20x20@3 -
80x20@3 20x20@3 -- Flat |
ButtonStyle All ToggledInactive Vector 5 47x47@3 57x53@3 53x53@3 \ | #ButtonStyle All ToggledInactive Vector 5 47x47@3 57x53@3 53x53@3 53x47@3 47x47@3 --
53x47@3 47x47@3 -- Flat |
ButtonStyle All Inactive Vector 5 47x47@3 57x53@3 53x53@3 53x47@3 \ | #ButtonStyle All Inactive Vector 5 47x47@3 57x53@3 53x53@3 53x47@3 47x47@3 -- Flat
47x47@3 -- Flat |
AddButtonStyle 1 Active Vector 5 45x45@3 55x45@3 55x55@3 45x55@3 45x45@3 | #AddButtonStyle 1 Active Vector 5 45x45@3 55x45@3 55x55@3 45x55@3 45x45@3
AddButtonStyle 2 Active Vector 4 35x35@3 65x65@3 35x65@4 65x35@3 | #AddButtonStyle 2 Active Vector 4 35x35@3 65x65@3 35x65@4 65x35@3
AddButtonStyle 4 Active Vector 8 30x70@3 30x30@3 70x30@3 70x70@3 30x70@3 \ | #AddButtonStyle 4 Active Vector 8 30x70@3 30x30@3 70x30@3 70x70@3 30x70@3 30x50@4 50x
30x50@4 50x50@3 50x70@3 |
AddButtonStyle 4 ToggledActiveUp Vector 8 30x70@3 30x30@3 70x30@3 70x70@3 \ | #AddButtonStyle 4 ToggledActiveUp Vector 8 30x70@3 30x30@3 70x30@3 70x70@3 30x70@3 50
30x70@3 50x30@4 50x50@3 70x50@3 |
AddButtonStyle 6 Active Vector 5 35x60@3 65x60@3 65x50@3 35x50@3 35x60@3 | #AddButtonStyle 6 Active Vector 5 35x60@3 65x60@3 65x50@3 35x50@3 35x60@3
ButtonStyle All - Clear | #ButtonStyle All - Clear
>
ButtonStyle 1 - MwmDecorMenu ButtonStyle 1 - MwmDecorMenu
ButtonStyle 4 - MwmDecorMax ButtonStyle 4 - MwmDecorMax
ButtonStyle 6 - MwmDecorMin ButtonStyle 6 - MwmDecorMin
> TitleStyle Centered Height 20 -- Flat
>
> ButtonStyle All ActiveUp Vector 13 15x15@4 15x85@0 85x85@0 85x
> ButtonStyle All ToggledActiveUp Vector 13 15x15@4 15x85@0 85x85@0 85x15@0 15x
> ButtonStyle All ActiveDown Vector 13 20x20@4 20x80@0 80x80@0 80x
> ButtonStyle All ToggledActiveDown Vector 13 20x20@4 20x80@0 80x80@0 80x20@0 20x
> ButtonStyle All ToggledInactive Vector 13 47x47@4 57x53@0 53x53@0 53x47@0 47x
> ButtonStyle All Inactive Vector 13 47x47@4 57x53@0 53x53@0 53x
> AddButtonStyle 1 Active Vector 13 45x45@3 55x45@3 55x
> AddButtonStyle 2 Active Vector 13 35x35@3 65x65@3 65x
> AddButtonStyle 4 Active Vector 13 30x70@3 30x30@3 70x
> AddButtonStyle 4 ToggledActiveUp Vector 13 30x70@3 30x30@3 70x30@3 70x
> AddButtonStyle 6 Active Vector 13 35x60@3 65x60@3 65x
> AddButtonStyle 6 InActive Vector 13 35x60@3 65x60@3 65x
> ButtonStyle All - Clear
> #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> # From man fvwm3all
> #
> # The Vector num X[offsetp]xY[offsetp]@C ... style draws a line
> # pattern. Since this is a standard button style, the keyword Vector
> # is optional, num is a number of point specifications of the form
> # X[offsetp]xY[offsetp]@C ... X and Y are point coordinates inside
> # the button, given in percents (from 0 to 100). An optional absolute
> # offset in pixels, can be given as "+p" for a positive or
> # "-p" for a negative offset.
> #
> # C specifies a line color (0 - the shadow color, 1 - the highlight
> # color, 2 - the background color, 3 - the foreground color, 4 - only
> # move the point, do not draw). The first point color is not used.
> # You can use up to 10000 points in a line pattern. This style is
> # partially destructive.
> #
> # The specification is a little cumbersome:
> #
> # ButtonStyle 2 Vector 4 50x30@1 70x70@0 30x70@0 50x30@1
> #
> # then the button 2 decoration uses a 4-point pattern consisting of a
> # line from (x=50,y=30) to (70,70) in the shadow color (@0), and then
> # to (30,70) in the shadow color, and finally to (50,30) in the
> # highlight color (@1). Is that too confusing? See the fvwm web pages
> # for some examples with screenshots.
> #
> # A more complex example of Vector:
> #
> # ButtonStyle 8 Vector 10 45x65@2 45x75@3 20x75@3 20x50@3 35x50@3 35x65
> # ButtonStyle 0 Vector 10 45x65@2 45x75@0 20x75@0 20x50@1 45x50@1 45x65
> #
> #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
############ ############
# 7: Modules # 7: Modules
############# #############
# FvwmIdent # FvwmIdent
# #
# FvwmIdent is a module that can be used to get the various info about # FvwmIdent is a module that can be used to get the various info about
# a window. One use is getting the class/resource/name of a window. # a window. One use is getting the class/resource/name of a window.
DestroyModuleConfig FvwmIdent:* DestroyModuleConfig FvwmIdent:*
*FvwmIdent: Colorset 10 *FvwmIdent: Colorset 10
*FvwmIdent: Font "xft:Sans:size=10:antialias=True" *FvwmIdent: Font "xft:Sans:size=10:antialias=True"
# FvwmScript # FvwmScript
# #
# FvwmScript is a module that allows one to write custom desktop # FvwmScript is a module that allows one to write custom desktop
# widgets and various other tools. This config uses two FvwmScripts. # widgets and various other tools. This config uses two FvwmScripts.
# - DateTime - uses the output of "date" to display the date/time # - DateTime - uses the output of "date" to display the date/time
# on the RightPanel. # on the RightPanel.
# - Quit - This is a popup that asks for quit confirmation before # - Quit - This is a popup that asks for quit confirmation before
# quitting fvwm. # quitting fvwm.
DestroyModuleConfig FvwmScript:* DestroyModuleConfig FvwmScript:*
*FvwmScript: DefaultColorset 10 *FvwmScript: DefaultColorset 10
# FvwmButtons - RightPanel # FvwmButtons - RightPanel
# #
# FvwmButtons is a powerful module that can be used to build custom # FvwmButtons is a powerful module that can be used to build custom
# panels and docks. This config uses FvwmButtons to build the RightPanel. # panels and docks. This config uses FvwmButtons to build the RightPanel.
# The panel contains buttons to switch desks, FvwmPager, a system tray, # The panel contains buttons to switch desks, FvwmPager, a system tray,
# FvwmIconMan (list of running windows), and a clock. # FvwmIconMan (list of running windows), and a clock.
# #
# Note - To use the system tray you must have "stalonetray" installed. # Note - To use the system tray you must have "stalonetray" installed.
DestroyModuleConfig RightPanel:* DestroyModuleConfig RightPanel:*
*RightPanel: Geometry 120x$[monitor.$[monitor.primary].height]-0+0@p | #*RightPanel: Geometry 120x$[monitor.$[monitor.primary].height]-0+0
*RightPanel: Colorset 10 | #*RightPanel: Colorset 10
*RightPanel: Rows $[monitor.$[monitor.primary].height] | #*RightPanel: Rows $[monitor.$[monitor.primary].height]
*RightPanel: Columns 120 | #*RightPanel: Columns 120
*RightPanel: Frame 0 | #*RightPanel: Frame 0
*RightPanel: Font "xft:Sans:Bold:size=10:antialias=True" | #*RightPanel: Font "xft:Sans:Bold:size=10:antialias=True"
*RightPanel: (120x45, Icon "fvwm-logo-small.png", Frame 0) | #*RightPanel: (120x45, Icon "fvwm-logo-small.png", Frame 0)
*RightPanel: (120x5, Frame 0) | #*RightPanel: (120x5, Frame 0)
*RightPanel: (10x25, Frame 0) | #*RightPanel: (10x20, Frame 0)
*RightPanel: (25x25, Id desk0, Title "0", Action (Mouse 1) GotoDesk 0 0, Colorset 11, | #*RightPanel: (25x20, Id desk0, Title "0", Action (Mouse 1) GotoDesk 0 0, Colorset 11
*RightPanel: (25x25, Id desk1, Title "1", Action (Mouse 1) GotoDesk 0 1, ActiveColors | #*RightPanel: (25x20, Id desk1, Title "1", Action (Mouse 1) GotoDesk 0 1, ActiveColor
*RightPanel: (25x25, Id desk2, Title "2", Action (Mouse 1) GotoDesk 0 2, ActiveColors | #*RightPanel: (25x20, Id desk2, Title "2", Action (Mouse 1) GotoDesk 0 2, ActiveColor
*RightPanel: (25x25, Id desk3, Title "3", Action (Mouse 1) GotoDesk 0 3, ActiveColors | #*RightPanel: (25x20, Id desk3, Title "3", Action (Mouse 1) GotoDesk 0 3, ActiveColor
*RightPanel: (10x25, Frame 0) | #*RightPanel: (10x20, Frame 0)
*RightPanel: (5x80, Frame 0) | #*RightPanel: (5x80, Frame 0)
*RightPanel: (110x80, Swallow FvwmPager 'Module FvwmPager *', Frame 0) | #*RightPanel: (110x80, Swallow FvwmPager 'Module FvwmPager *', Frame 0)
*RightPanel: (5x80, Frame 0) | #*RightPanel: (5x80, Frame 0)
*RightPanel: (120x5, Frame 0) | #*RightPanel: (120x5, Frame 0)
Test (x stalonetray) *RightPanel: (120x20, Swallow(NoClose,UseOld) \ | #Test (x stalonetray) *RightPanel: (120x20, Swallow(NoClose,UseOld) \
stalonetray 'Exec exec stalonetray --config \ | # stalonetray 'Exec exec stalonetray --config \
"$[FVWM_DATADIR]/default-config/stalonetrayrc"', Frame 0) | # "$[FVWM_DATADIR]/default-config/.stalonetrayrc"', Frame 0)
Test (x stalonetray) *RightPanel: (120x$[math.-.$[monitor.$[monitor.primary].height], | #Test (x stalonetray) PipeRead 'echo "*RightPanel: (120x$(($[monitor.$[monitor.primar
Top, Swallow FvwmIconMan 'Module FvwmIconMan', Frame 0) | # Top, Swallow FvwmIconMan \'Module FvwmIconMan\', Frame 0)"'
Test (!x stalonetray) *RightPanel: (120x$[math.-.$[monitor.$[monitor.primary].height] | #Test (!x stalonetray) PipeRead 'echo "*RightPanel: (120x$(($[monitor.$[monitor.prima
Top, Swallow FvwmIconMan 'Module FvwmIconMan', Frame 0) | # Top, Swallow FvwmIconMan \'Module FvwmIconMan\', Frame 0)"'
*RightPanel: (120x45, Swallow DateTime 'Module FvwmScript FvwmScript-DateTime',\ | #*RightPanel: (120x45, Swallow DateTime 'Module FvwmScript FvwmScript-DateTime',\
Frame 0) | # Frame 0)
*RightPanel: (120x5, Frame 0) | #*RightPanel: (120x5, Frame 0)
# FvwmPager # FvwmPager
# #
# This module displays the location of the windows on the various Pages # This module displays the location of the windows on the various Pages
# and Desks. This is setup to show only the Pages on the current Desk. # and Desks. This is setup to show only the Pages on the current Desk.
DestroyModuleConfig FvwmPager:* DestroyModuleConfig FvwmPager:*
*FvwmPager: Geometry 110x80 *FvwmPager: Geometry 110x80
*FvwmPager: Colorset * 10 *FvwmPager: Colorset * 10
*FvwmPager: HilightColorset * 13 *FvwmPager: HilightColorset * 13
*FvwmPager: BalloonColorset * 10 *FvwmPager: BalloonColorset * 10
*FvwmPager: WindowColorsets 10 11 *FvwmPager: WindowColorsets 10 11
*FvwmPager: Font None *FvwmPager: Font None
*FvwmPager: Balloons All *FvwmPager: Balloons All
*FvwmPager: BalloonFont "xft:Sans:Bold:size=8:antialias=True" *FvwmPager: BalloonFont "xft:Sans:Bold:size=8:antialias=True"
*FvwmPager: BallonYOffset +2 *FvwmPager: BallonYOffset +2
*FvwmPager: Window3dBorders *FvwmPager: Window3dBorders
*FvwmPager: MiniIcons *FvwmPager: MiniIcons
# FvwmIconMan # FvwmIconMan
# #
# FvwmIconMan is a powerful tool to list and manage windows. This # FvwmIconMan is a powerful tool to list and manage windows. This
# is used as the window list in the panel or taskbar. # is used as the window list in the panel or taskbar.
DestroyModuleConfig FvwmIconMan:* DestroyModuleConfig FvwmIconMan:*
*FvwmIconMan: UseWinList true *FvwmIconMan: UseWinList true
*FvwmIconMan: ButtonGeometry 120x20 *FvwmIconMan: ButtonGeometry 120x20
*FvwmIconMan: ManagerGeometry 1x1 *FvwmIconMan: ManagerGeometry 1x1
*FvwmIconMan: Colorset 10 *FvwmIconMan: Colorset 10
*FvwmIconMan: FocusColorset 11 *FvwmIconMan: FocusColorset 11
*FvwmIconMan: IconColorset 14 *FvwmIconMan: IconColorset 14
*FvwmIconMan: FocusAndSelectColorset 12 *FvwmIconMan: FocusAndSelectColorset 12
*FvwmIconMan: SelectColorset 12 *FvwmIconMan: SelectColorset 12
*FvwmIconMan: IconAndSelectColorset 12 *FvwmIconMan: IconAndSelectColorset 12
*FvwmIconMan: DrawIcons always *FvwmIconMan: DrawIcons always
*FvwmIconMan: ReliefThickness 0 *FvwmIconMan: ReliefThickness 0
*FvwmIconMan: Format "%t" *FvwmIconMan: Format "%t"
*FvwmIconMan: Font "xft:Sans:Bold:size=8:antialias=True" *FvwmIconMan: Font "xft:Sans:Bold:size=8:antialias=True"
*FvwmIconMan: Action Mouse 0 A ret *FvwmIconMan: Action Mouse 0 A ret
*FvwmIconMan: Action Mouse 1 A sendcommand IconManClick *FvwmIconMan: Action Mouse 1 A sendcommand IconManClick
*FvwmIconMan: Action Mouse 3 A sendcommand "Menu MenuIconOps" *FvwmIconMan: Action Mouse 3 A sendcommand "Menu MenuIconOps"
*FvwmIconMan: Resolution global *FvwmIconMan: Resolution global
*FvwmIconMan: Tips needed *FvwmIconMan: Tips needed
*FvwmIconMan: Sort id *FvwmIconMan: Sort id
# FvwmEvent # FvwmEvent
# #
# FvwmEvent is a module that can run an action or function # FvwmEvent is a module that can run an action or function
# on specific events. This instance changes which desk number # on specific events. This instance changes which desk number
# is highlighted when the desk is changed. # is highlighted when the desk is changed.
DestroyModuleConfig EventNewDesk:* DestroyModuleConfig EventNewDesk:*
*EventNewDesk: PassID *EventNewDesk: PassID
*EventNewDesk: new_desk ChangeDesk *EventNewDesk: new_desk ChangeDesk
# Local configuration file. For use with the default-config. # Local configuration file. For use with the default-config.
# #
# If $FVWMUSER_DIR/local.config ($HOME/.fvwm/local.config by default) # If $FVWMUSER_DIR/local.config ($HOME/.fvwm/local.config by default)
# exists, then read it. This allows changes to default-config settings # exists, then read it. This allows changes to default-config settings
# without needing a full copy of the default-config. This will also allow # without needing a full copy of the default-config. This will also allow
# default-config changes to get used after upgrades (if applicable). # default-config changes to get used after upgrades (if applicable).
Test (f $[FVWM_USERDIR]/local.config) Read $[FVWM_USERDIR]/local.config | #Test (f $[FVWM_USERDIR]/local.config-old) Read $[FVWM_USERDIR]/local.config-old
> # Feb 18, 2022
> # What remains of my custom config which is now appended to the next fvwm3 config.
>
> Style * EdgeMoveDelay 1450
> Style * EdgeMoveResistance 150
>
> Style * MaxWindowSize 150 150, MinWindowSize 32p 32p
>
> Style * IconSize 255 255
> #MenuStyle * IconSize 64 64
>
> #Style FvwmButtons !Handles, BorderWidth 15
> Style FvwmButtons !MinWindowSize
> Style FvwmButtons !Handles
> Style FvwmButtons FixedUSPosition
>
> ####################################################
> # MenuStyles
> ####################################################
> #MenuStyle * Games, MenuScroll "3"
> MenuStyle * fvwm, Font "-adobe-times-bold-r-*-*-12-*-*-*-*-*-*-*"
> MenuStyle * Foreground #404040, Background #9b9b9b, Greyed grey40
>
> #####################################################################################
> # default Styles:
> # make sure these fonts exist on your system:
> ####################################################
> #Style * Font "Shadow=1 bl:-adobe-times-bold-r-*-*-18-*-*-*-*-
> #Style * titleFont "xft:Luxi Mono:Medium:Roman:size=14:encodin
> #Style * IconFont -adobe-times-bold-r-*-*-10-*-*-*-*-*-*-*
> #Style * TitleFont "Shadow=2 bl:xft:Sans:pixelsize=16:Bold:min
> #Style * Font "Shadow=2 bl:xft:Sans:pixelsize=18:Bold:minspace
> Style * Font "Shadow=2 bl:xft:Sans:pixelsize=10:Bold:minspace
> Style * IconFont "xft:Luxi Mono:Medium:Roman:size=10:encoding
> Style * HilightFore black, HilightBack palevioletred
> Style * BorderWidth 2, HandleWidth 2
> Style * Icon unknown1.xpm, Color lightgrey/dimgrey
> Style * MWMFunctions, MWMDecor, HintOverride
> Style * DecorateTransient
> Style * IconBox 532x355+1249+0
> Style * FocusFollowsMouse
> Style * TileCascadePlacement
> Style * Colorset 1
> Style * Color Black/Dimgrey
> Style * StartsOnPageIncludesTransients
> Style * IconSize 255 255
> Style "Claws-mail" IconSize 255 255
> ####################################################
> # Styles for various Fvwm modules:
> ####################################################
> Style "Fvwm*" !Title, Sticky, WindowListSkip
> Style "Fvwm*" BorderWidth 2, CirculateSkipIcon, CirculateSkip
> Style "Fvwm*" Color Black/grey25
> Style "FvwmPager" StaysOnTop
> Style "FvwmButtons" Icon toolbox.xpm, ClickToFocus
>
> ####################################################
> # Styles for common terminal emulator programs:
> ####################################################
> Style "xterm" Icon xterm.xpm, HilightFore Black, HilightBack #40EE40
> Style "xterm" Color Black/#208820, SloppyFocus, !IconTitle
> Style "xterm" MaxWindowSize 100 100, MinWindowSize 2 2
> #Style "xterm" Font "Shadow=0 bl:xft:Sans:pixelsize=11:Bold:minspace=true"
> Style "xterm" Font "Shadow=0 bl:xft:Sans:pixelsize=8:Bold:minspace=true:ant
>
> Style "Konsole" Color Beige/Black, SloppyFocus
> Style "rxvt" Icon term.xpm, SloppyFocus, MWMBorder, MWMButtons
> Style "ssh" MaxWindowSize 125 125, MinWindowSize 3 5
>
> ####################################################
> # Styles for various common programs:
> ####################################################
> Style "*lock" !Title, !Handles, Sticky, WindowListSkip, ClickToFocus
> Style "xbiff" !Title, Sticky, WindowListSkip, ClickToFocus
> Style "xcalc" Icon xcalc.xpm, !Button 2,ClickToFocus
> Style "xmh" Icon mail1.xpm, !IconTitle, StickyIcon, !Button 2
> Style "xman" Icon xman.xpm, ClickToFocus
> Style "xmag" Icon mag_glass.xpm, ClickToFocus
> Style "xgraph" Icon graphs.xpm, ClickToFocus
> Style "xmosaic" Color Green/Yellow, ClickToFocus
> Style "Top" Color Green/black, ClickToFocus, MaxWindowSize 100 10
> #####################################################################################
> # My Common program styles
> ####################################################
> Style "ssh: farthing" IconTitle, Color white/#202088, HilightFore white, Hi
> Style "ssh: Cerberus" IconTitle, Color #882020/white, HilightFore white, Hi
> Style "Edit config" ResizeHintOverride, IconTitle, MinWindowSize
>
> Style "Alarms" Color Black/#994040, HilightFore Black, Hilig
> Style "Alarms" Font "Shadow=0 bl:xft:Sans:pixelsize=12:Bold:
>
> Style "endless-sky" !Title
> Style "endless-sky" BorderWidth 2
> #
> Style "Firefox" IgnoreRestack, ResizeHintOverride, Color Blac
> Style "Firefox" MaxWindowSize 100 100, MinWindowSize 30 30
> #Style "Firefox" Font -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*
> #Style "Firefox" Icon 255x255, Icon 255x255/firefox.png, MiniI
> #Style "Firefox" Icon /usr/local/lib/firefox/browser/chrome/ic
> Style "*Mozilla Firefox" Icon /usr/local/lib/firefox/browser/chrome/icons/defa
> #Style "Firefox" titleFont "Shadow=2 bl:xft:Sans:pixelsize=9:B
> #
> #Style "gkrellm-ichigo" MinWindowSize 172p 555p, Sticky, WindowListSkip,
> Style "gkrellm-ichigo" MinWindowSize 72p 155p, Sticky, WindowListSkip,
> #
> Style "BitchX" BorderWidth 2
> Style "ircII" BorderWidth 2
> #Style "ircII" titleFont "Shadow=2 bl:xft:Sans:pixelsize=12:
> #
> Style "qBittorrent" !UsePPosition, KeepWindowGroupsOnDesk
> Style "qBittorrent" IgnoreRestack, Color Red/Black, Click
> Style "qBittorrent" MaxWindowSize 100 100, MinWindowSize
> Style "Download from*" MinWindowSize 380p 160p, Color Black/Red
> Style "Deletion confirmation" MinWindowSize 380p 160p, Color Black/Red
> #
> Style "quassel" StartsOnPage 0 0, StartsOnScreen 0 0
> Style "quassel" Color Beige/Brown, !IconTitle, MinWindowSize
> Style "quassel" Font "Shadow=0"
> #
> Style *luanti_console Title Color #ffffff/#005500
> Style *luanti_console Font "Shadow=0", HilightFore #ffffff, HilightBack #0a880a
> Style *luanti_console BorderWidth 4, HandleWidth 4, MinWindowSize 100c 26c, MaxWind
> Style *luanti_console Icon /usr/local/share/minetest/games/minetest_game/menu/icon.
> #
> Style Luanti !Title, MaxWindowSize 3836p 2156p, Icon /usr/
> Style Luanti* !Title, MaxWindowSize 3836p 2156p, Icon /usr/
> Style "Luanti" !Title, MaxWindowSize 3836p 2156p, Icon /usr/local/sh
> Style "Luanti*" !Title, MaxWindowSize 3836p 2156p, Icon /usr/local/sh
> #
> Style luanti !Title, MaxWindowSize 3836p 2156p, Icon /usr/
> Style luanti* !Title, MaxWindowSize 3836p 2156p, Icon /usr/
> Style "luanti" !Title, MaxWindowSize 3836p 2156p, Icon /usr/local/sh
> #Style "luanti*" !Title, MaxWindowSize 3836p 2156p, Icon /usr/
> #
> Style "Veloren" Icon /usr/local/share/veloren/assets/voxygen/
> #
> Style "vlc" HilightFore Black, HilightBack #EEEE4
> Style "vlc" Font "Shadow=0 bl:xft:Sans:pixelsize=
> Style "vlc" MwmBorder, FirmBorder, MinWindowSize 80p 42p
> Style "vlc" Font -adobe-helvetica-medium-r-*-*-12-*-*-*-*
> #
> Style "warzone2100" Title, BorderWidth 2, IconSize 512x512, !Icon
> Style "warzone2100" Color #ffffff/#555555
> Style "warzone2100" Font "Shadow=0 size=5", HilightFore #ffffff,
> #
> Style "xscreensaver-demo" StartIconic, IconBox -190 1 -1 -140, StickyIcon, !Ico
> #
> Style "umix_xterm" !Title, BorderWidth 1, Sticky
> Style "ping_repeat" BorderWidth 2, MaxWindowSize 600p 1084
> Style "ping_repeat" Font -adobe-helvetica-medium-r-*-*-10-*-*-*-*
> Style "vlc_ncurses" !Title, BorderWidth 1, MaxWindowSize 644p 316
> Style "vlc_ncurses" Font -adobe-helvetica-medium-r-*-*-10-*-*-*-*
> Style "luanti_black" !Title, BorderWidth 1, MinWindowSize 100 90,
> Style "luanti_black" StaysOnBottom, StartsLowered, InitialMapCommand Resiz
>
> ####################################################
> # some simple default key bindings:
> ####################################################
> Key Next A SCM Next (AcceptsFocus) Focus
> Key Prior A SCM Prev (AcceptsFocus) Focus
>
> #######
> # 5: Mouse and Key bindings
> #
> # Contexts:
> # R = Root Window rrrrrrrrrrrrrrrrrrrrrr
> # W = Application Window rIrrrr<---------^rrrrr
> # F = Frame Corners rrrrrr[13TTTT642]rrrrr
> # S = Frame Sides rIrrrr[wwwwwwwww]rrrrr
> # T = Title Bar rrrrrr[wwwwwwwww]rrrrr
> # I = Icon rIrrrrv_________>rrrrr
> # rrrrrrrrrrrrrrrrrrrrrr
> #
> # Numbers are buttons: [1 3 5 7 9 TTTTT 0 8 6 4 2]
> #
> # Modifiers: (A)ny, (C)ontrol, (S)hift, (M)eta, (N)othing
> #
> # Format: Key
> # Mouse
> ####################
>
> ####################################################
> # some simple default mouse bindings:
> ####################################################
> # for the root window:
> Mouse 1 R A Menu RootMenu Nop
> Mouse 2 R A Menu Window-Ops Nop
> Mouse 3 R A WindowList
>
> # for the title bar buttons:
> Mouse 0 1 A Menu Window-Ops2 Close
> Mouse 0 2 A Maximize-Func
> Mouse 0 4 A Iconify
>
> # for other parts of the window/borders/icons:
> Mouse 1 F A Resize-or-Raise
> Mouse 1 TS A Move-or-Raise
> Mouse 1 I A Move-or-Iconify
> Mouse 2 I A Iconify
> Mouse 2 FST A Menu Window-Ops2 Nop
> Mouse 3 TSIF A RaiseLower
>
> ###################################################################################
> # Initialization Functions
> ###################################################################################
> DestroyFunc SessionInitFunction
> AddToFunc SessionInitFunction
> + I Test (Init) Exec exec feh --bg-max --no-fehbg /usr/home/tigersharke/Images/Ichigo
> + I GotoPage 1 0
>
> DestroyFunc InitFunction
> AddToFunc InitFunction
> + I Test (Init) Exec exec feh --bg-max --no-fehbg /usr/home/tigersharke/Images/Ichigo
> #+ I Module FvwmButtons
> #+ I GotoPage 1 0
> #+ I Exec exec gkrellm -f &
>
> #DestroyFunc StartFunction
> #AddToFunc StartFunction
> #+ I Module FvwmButtons
> #+ I GotoPage 1 0
>
> #DestroyFunc FuncViewManPage
> #AddToFunc FuncViewManPage
> #+ I Exec exec xterm +cm -b 5 -fg white -bg dimgrey -g 90x120 -fn 7x14 -fb 7x14bold -
>
> ###################################################################################
> # Sample Functions
> ###################################################################################
> #
> #AddToFunc MailFunction I Next (AcceptsFocus $0) Iconify -1
> #+ I Next (AcceptsFocus $0) Focus
> #+ I None (AcceptsFocus $0) Exec $0 $1
> #
> AddToFunc Move-or-Raise I Raise
> + M Move
> + D Lower
>
> AddToFunc Move-or-Raise2 M Raise
> + M Move
> + D Lower
>
> AddToFunc Maximize-Func M Maximize 0 80
> + C Maximize 0 100
> + 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 PrintReverseFunction I Raise
> + I Exec xdpr 1/2 -h -rv -id $w
>
> AddToFunc Iconify-and-Raise I Iconify
> + I Raise
> #
> ## RLOGIN machine fg bg
> #AddToFunc RLOGIN I Exec xterm -bc -bcf 1800 -fg $1 -bg $2 -e rlogin $0 -8
> #
> ## TELNET machine fg bg
> #AddToFunc TELNET I Exec xterm -fg $1 -bg $2 -e telnet $0
> #
> AddToFunc FocusAndWarp I Focus
> + I WarpToWindow 2p 2p
>
> AddToFunc DeiconifyFocusAndWarp I Iconify -1
> + I FocusAndWarp
>
> AddToFunc ChangeDefaultFocus I Style * $0
> + I Recapture
>
> # Multiple monitor (Randr support) from manpage
> #DestroyFunc RandRFunc
> #AddToFunc RandRFunc
> #+ I Exec exec xmessage "A screen changed"
>
> # Method to determine what is installed, and if present, include in the menu.
> # Found at https://github.com/fvwmorg/fvwm3/blob/master/default-config/config
> #DestroyMenu MenuPrograms
> #AddToMenu MenuPrograms "$[gt.Programs]" Title
> #Test (x chromium) + "Chromium" Exec exec chromium
> #Test (x firefox) + "Firefox" Exec exec firefox
> #Test (x google-chrome) + "Google-Chrome" Exec exec google-chrome
> #Test (x gvim) + "gVim" Exec exec gvim
> #Test (x emacs) + "Emacs" Exec exec emacs
> #Test (x gimp) + "Gimp" Exec exec gimp
> #Test (x vlc) + "VLC" Exec exec vlc
>
> ###################################################################################
> ######################## Menus ###################
> ###################################################################################
>
> #####################################################################
> # example from manpages
> #####################################################################
> # #
> # Build a menu of all .jpg files in #
> # $HOME/Pictures #
> # AddToMenu JpgMenu foo title #
> # + DynamicPopupAction Function MakeJpgMenu #
> # #
> # AddToFunc MakeJpgMenu #
> # + I DestroyMenu recreate JpgMenu #
> # + I AddToMenu JpgMenu Pictures Title #
> # + I PipeRead 'for i in $HOME/Pictures/*.jpg; \ #
> # do echo AddToMenu JpgMenu "`basename $i`" Exec xv $i; done' #
> # #
> #####################################################################
>
> AddToMenu RootMenu "Root Menu" Title
> Test (x xterm) + "Xterm" Exec exec xte
> Test (x xterm) + "Xterm hold" Exec exec xterm -hold
> + "Games"
> + "Internet"
> + "Multimedia" Popup
> + "Editors"
> + ""
> + "Desktop Utilities" Popup
> + ""
> + "System Utilities" Popup
> + "SSH"
> + ""
> + "Utilities"
> + ""
> + "Fvwm Modules" Popup
> + "Fvwm Window Ops" Popup
> + "Fvwm Simple Config Ops" Popup Misc-Op
> + ""
> + "Refresh Screen" Refre
> + "Recapture Screen" Recap
> + ""
> + "&Help"
> + ""
> + "Restart Fvwm" Resta
> + "Exit Fvwm"
>
> DestroyMenu "ClawsMailPopup"
> AddToMenu "ClawsMailPopup"
> + "Start in 'Online' mode" Exec exec /usr/local/bin/claw
> + "Start in 'Offline' mode" Exec exec /usr/local/bin/claw
> + "Receive" Exec exec /us
> + "Compose" Exec exec /us
> + "Cancel receive" Exec exec /usr/local/
> + "Exit" Exec exec /us
>
> DestroyMenu Internet
> AddToMenu Internet
> Test (x irc)i + "IRC"
> Test (x claws-mail) + "claws-mail" Popup
> Test (x quiterss) + "RSS feeds (Quiterss)" Exec exec qui
> Test (x vlc) + "Streaming Audio (vlc)" Popup Streami
> Test (x qbittorrent) + "Torrents (qbittorrent)" Exec exec qbittorrent
> Test (x librewolf) + "Web Browsing" Popup
>
> DestroyMenu Irc
> AddToMenu Irc
> Test (x BitchX) + "BitchX"
> Test (x irc) + "ircII"
> Test (x quassel) + "quassel mono" Exec
> Test (x quasselclient) + "quasselclient" Exec exec qua
>
> DestroyMenu "Streaming"
> AddToMenu "Streaming"
> + "ncurses"
>
>
> + ""
> Test (x qvlc) + "qt"
>
>
>
>
> DestroyMenu "Browsing"
> AddToMenu "Browsing"
> Test (x firefox) + "Firefox" Exec exec firefox
> Test (x firefox) + "FF private" Exec exec firefox --private-window ab
> Test (x librewolf) + "LibreWolf" Exec exec librewolf
>
> DestroyMenu "Gamesmenu"
> AddToMenu "Gamesmenu"
> Test (x endless-sky) + "endless sky" Exec exec endless-sky
> Test (x el) + "Eternal Lands" Exec exec el
> Test (x luanti) + "luanti" Popup luanti
> Test (x mame) + "mame" Popup ChooseM
> Test (x powermanga) + "Powermanga" Popup Powermanga
> Test (x swell-foop) + "swell foop" Exec exec swell-foop
> Test (x teeworlds) + "teeworlds" Exec exec teeworlds
> Test (x veloren-voxygen) + "veloren" Exec exec veloren-voxygen
> Test (x warzone2100) + "warzone2100" Exec exec warzone2100
> #+ "" Nop
> #+ "Games" Popup Games
>
> DestroyMenu "ChooseMame"
> AddToMenu "ChooseMame"
> + "mame"
> + "mame Apple IIgs"
> DestroyMenu "PlayLuanti"
> AddToMenu "PlayLuanti"
> + "Open Client"
> + ""
> Test (f $[FVWM_USERDIR]/luanti_accounts) Read $[FVWM_USERDIR]/luanti_accounts
>
> DestroyMenu "luanti"
> AddToMenu "luanti"
> Test (x luanti) + "Play luanti" Popup PlayLuanti
> + ""
> + "View maps" Popup
>
>
> DestroyMenu "MapLuanti"
> AddToMenu "MapLuanti"
> + "Provided Maps"
> Test (x feh) + "NCC Map"
> + ""
> + "MyGen Maps"
> Test (x feh) + "NCC map"
> Test (x feh) + "NCC map XL" Exec
> Test (x feh) + "NCC map XXL" Exec
> Test (x feh) + "NCC ugzips XXL" Exec
> + ""
> Test (x feh) + "darkest map" Exec
> Test (x feh) + "darkest map XL" Exec
> Test (x feh) + "darkest water XL" Exec
> Test (x feh) + "darkest Level 3 XL" Exec exec feh
> Test (x feh) + "darkest ziphalls XL" Exec exec feh
> + ""
> Test (x feh) + "meowface map" Exec
> Test (x feh) + "meowface map XL" Exec
> Test (x feh) + "meowface zip halls map XL" Exec exec feh
> + ""
> Test (x feh) + "enyekala map lgview" Exec exec feh
> Test (x feh) + "enyekala newbase map lgview" Exec exec feh ~/Image
> Test (x feh) + "enyekala map XL lgview" Exec exec feh
> Test (x feh) + "enyekala map XL zoom4 lgview" Exec exec feh ~/Image
> + ""
> Test (x feh) + "VE-NC aboveground small" Exec exec feh
> Test (x feh) + "VE-NC aboveground LARGE" Exec exec feh
> Test (x feh) + "VE-NC aboveground xw small" Exec exec feh ~/Image
> Test (x feh) + "VE-NC aboveground xw LARGE" Exec exec feh ~/Image
> Test (x feh) + "VE-NC underground LARGE" Exec exec feh
> Test (x feh) + "VE-NC underground LARGE SS" Exec exec feh ~/Image
>
> DestroyMenu "Powermanga"
> AddToMenu "Powermanga"
> + "F or F11 switches size" Nop
> + "" Nop
> + "fullscreen" Exec exec powermanga
> + "windowed" Exec exec pow
>
> #DestroyMenu "Games"
> #AddToMenu "Games"
> #PipeRead 'for i in `pkg query %o | grep games/ | sed \
> #-e "s:games\/.*\-data::" -e "s:games\/.*\-high-dpi::" \
> #-e "s:minetest_game::1" \
> #-e "s:minetest::1" \
> #-e "s:freedroidrpg:freedroidRPG:1" \
> #-e "s:freeminer-default:freeminer:2" \
> #-e "s:freeminer-default::1" \
> #-e "s:freeminer:freeminer-default:1" \
> #|cut -d / -f 2`; \
> # do echo "+ $i Exec exec `echo $i |cut -d - -f 1|sed -e "s:open-adventure:xterm\
> # -e "s:open-adventure:xterm -g 76x27 -fn 9x15 -n "Open-Adventure" -T "Open-Adventure
> # do echo " `ls -t /usr/local/bin | sort -r |grep -m 1 $1 \
> # || echo -n '+ '; `ls -t /usr/local/bin | sort -r |grep -m 1 $1` Exec exec `ls -t /u
>
> DestroyMenu "Multimedia"
> AddToMenu "Multimedia"
> Test (x asunder) + "asunder"
> Test (x audacity) + "audacity"
> Test (x blender) + "blender"
> Test (x decibel-audio-player) + "decibel-audio-player" Exec exec decibel-aud
> Test (x easytag) + "easyTag"
> Test (x epdfview) + "epdfview"
> Test (x geeqie) + "geeqie"
> Test (x gimp) + "gimp"
> Test (x inkscape) + "inkscape"
> Test (x picard) + "picard"
> Test (x ripperx) + "ripperX"
> Test (x sweethome3d) + "sweethome3d" Exec
> Test (x vlc) + "vlc"
> Test (x xv) + "xv"
>
>
> DestroyMenu "vlc_multimedia_chooser"
> AddToMenu "vlc_multimedia_chooser"
> Test (x qvlc) + "qt"
> + ""
> Test (x cvlc) + "ncurses"
>
> DestroyMenu "vlc_gui_menu"
> AddToMenu "vlc_gui_menu"
> + "qt"
> + "playlists"
>
> + "Downloaded m
>
> + "NEW X22Repor
>
> + "All X22Repor
>
>
> DestroyMenu "vlc_ncurses_menu"
> AddToMenu "vlc_ncurses_menu"
> + "ncurses"
>
> + "Playlists"
>
> + "Downloaded m
>
> + "NEW X22Repor
>
> + "All X22Repor
>
>
>
> DestroyMenu "Editors"
> AddToMenu "Editors"
> Test (x bluefish) + "Bluefish"
> Test (x nvim) + "Neovim"
> Test (x openoffice) + "Openoffice" Exec
> + "Editors"
>
> DestroyMenu "EditorsPopup"
> AddToMenu "EditorsPopup"
> PipeRead 'for i in `pkg query %o | grep editors/ | cut -d / -f 2 | sed -e "s:neovim:n
> do echo "+ $i Exec exec `echo $i |cut -d - -f 1`" ; done'
>
> DestroyMenu DeskUtils
> AddToMenu DeskUtils
> Test (x feh) + "feh"
> Test (x feh) + "feh printscreen pics"
> Test (x emprint) + "emprint"
> Test (x flameshot) + "FlameShot GUI"
> Test (x flameshot) + "FlameShot Options"
> Test (x printscreen) + "printscreen interactive" Exec
> Test (x printscreen) + "printscreen interactive 10sec" Exec exec pri
> Test (x intclock) + "intclock"
> Test (x umix) + "umix"
> -wf -fc 3 -fg green -bg black -selfg orange -T umix_xterm -e umix -d /dev/mixer -f /h
> Test (x cvlc) + "No talking (static)"
> Test (x vlc) + "No talking (static)"
>
> Test (x xterm) + "xterm as black background"
>
> DestroyMenu FlameshotOpts
> AddToMenu FlameshotOpts "FlameShot Options" Title
> + "Open launcher"
> + "Capture a screen"
> + "Capture the desktop" Exec
> + "Configure flameshot" Exec
>
> DestroyMenu System
> AddToMenu System
> Test (X xrdb) + "Reload Xresources" Exec exec xrd
> Test (x lumina-fm) + "Lumina FM" Exec
> Test (x qt5ct) + "Qt5 Config Tool" Exec exec qt5
> Test (x qt6ct) + "Qt6 Config Tool" Exec exec qt6
> Test (x qtcreator) + "Qt Creator" Exec exec qtc
>
> DestroyMenu Utilities
> AddToMenu Utilities
> + "htop"
> + "top"
> + "Connectivity wall-beep fail"
>
> + "Ping Repeat beeps"
> + "top-test"
> + "Xman"
> Test (x xscreensaver) + "Xscreensaver" Exec
> + "Xscreensaver-demo"
> + "Editres"
> + ""
> + "XLock"
> + ""
> + "Reset X defaults"
>
> AddToMenu Misc-Ops "Misc Config Opts"
> + "Sloppy Focus"
> + "Click To Focus"
> + "Focus Follows Mouse"
> + ""
> + "Colormap Follows Mouse"
> + "Colormap Follows Focus"
> + ""
> + "Full Paging ON"
> + "All Paging OFF"
> + "Horizontal Paging Only"
> + "Vertical Paging Only"
> + "Partial Paging"
> + "Full Paging && Edge Wrap"
>
> # Click desktop
> AddToMenu Window-Ops "Window Ops" Title
> + "Move"
> + "Resize"
> + "Raise"
> + "Lower"
> + "(De)Iconify" Iconi
> + "(Un)Stick"
> + "(Un)Maximize" Maxim
> + ""
> + "Delete"
> + "Close"
> + "Destroy"
> + ""
> + "Refresh Window" Refre
>
> # Click window titlebar
> AddToMenu Window-Ops2
> + "&Move" Move
> + "&Resize" Resize
> + "R&aise" Raise
> + "&Lower" Lower
> + "(De)&Iconify" Iconify
> + "(Un)&Stick" Stick
> + "(Un)Ma&ximize" Maximize
> + "" Nop
> + "&Delete" Delete
> + "&Close" Close
> + "Destroy" Destroy
> + "" Nop
> + "ScrollBar" Module FvwmScroll 2 2
> + "Print" PrintFunction
> + "Print Reverse" PrintReverseFunction
>
> # be sure to fill these in with your correct machine names:
> AddToMenu Remote-Logins
> + "dopey" Exec ssh dopey rxvt -display
> + "Tunnel" Exec ssh -2 -N -f -Y -L 5023:
> + "snoopy" Exec ssh snoopy rxvt -display
> + "grumpy" Exec ssh grumpy rxvt -display
> + "happy" Exec ssh happy rxvt -display
> + "farthing" Exec xterm -n "ssh: farthing"
> + "bailey" Exec ssh bailey rxvt -display
> + "barnum" Exec ssh barnum rxvt -display
> + "joker" Exec ssh joker rxvt -display
> + "Cerberus" Exec exec xterm -n "ssh: Cerb
>
> # "FVWM Modules" in Window-Ops menu
> AddToMenu Module-Popup
> + "Edit .fvwm/config" Exec xterm -n "Edit c
> + "Identify" Module FvwmI
> + "Talk" Module FvwmT
> + "" Nop
> + "Button-Bar" Module FvwmButtons
> + "Pager" Module FvwmP
> + "Pager (4 desks)" Module FvwmPager 2 2
> + "WinList" Module FvwmW
> + "" Nop
> + "ScrollBar" Module FvwmS
> + "Background" Module FvwmBacker
> + "AutoRaise" Module FvwmA
> + "Stop AutoRaise" KillModule FvwmAuto
> + "" Nop
> + "IconBox" Module FvwmI
> + "IconMan" Module FvwmI
> + "" Nop
> + "Form - Rlogin" Module FvwmForm Rlogi
> + "Form - MyFvwmTalk" Module FvwmForm MyFvw
> + "Form - QuitVerify" Module FvwmForm QuitV
>
> AddToMenu Quit-Verify "Really Quit Fvwm?" Title
> + "Yes, Really Quit" Quit
> + ""
> + "Restart Fvwm" Resta
> + ""
> + "Start Fvwm Themes" Resta
> + "Start twm"
> + "Start ctwm" Resta
> + "Start tvtwm" Resta
> + "Start vtwm" Resta
> + "Start mwm"
> + "Start olwm" Resta
> + ""
> + "Start dummy" Resta
> + ""
> + "No, Don't Quit" Nop
>
> ################## FvwmButtons button-bar ################################
> #*FvwmButtons: Monitor DisplayPort-1
> *FvwmButtons: BoxSize dumb
> *FvwmButtons: Geometry 540x80-0-0
> *FvwmButtons: Back bisque3
> *FvwmButtons: (Container(Rows 0 Columns 1 Frame 1))
> *FvwmButtons: (Swallow "FvwmIconMan" "Module FvwmIconMan")
> *FvwmButtons: (Swallow "FvwmPager" "Module FvwmPager 0 0")
> *FvwmButtons: (Swallow "dclock" `Exec exec dclock -nomiltime -scroll \
> -blink -fg white -bg black -fn -misc-fixed-medium-r-normal--18-120-100-100-c-
> -led_off black -date "%a %b %d, %y" -slope 90.0 -thickness 0.5 -seconds`)
> *FvwmButtons: (End)
>
> ########################## Icon Manager ####################################
> # this FvwmIconMan setup is for swallowing in above button bar example
> *FvwmIconMan: numManagers 1
> *FvwmIconMan: Resolution page
> *FvwmIconMan: background bisque3
> *FvwmIconMan: foreground black
> *FvwmIconMan: font 7x13bold
> *FvwmIconMan: format "%t"
> *FvwmIconMan: action Mouse 1 N sendcommand Focus, sendcommand "Iconify"
> *FvwmIconMan: action Mouse 2 N sendcommand "Iconify 1"
> *FvwmIconMan: action Mouse 3 N sendcommand "FvwmIdent"
> *FvwmIconMan: followfocus true
> *FvwmIconMan: sort name
> *FvwmIconMan: plainbutton up black bisque3
> *FvwmIconMan: selectbutton down black bisque3
> *FvwmIconMan: focusbutton up yellow firebrick
> *FvwmIconMan: focusandselectButton down yellow firebrick
> *FvwmIconMan: dontshow icon=Untitled title=Untitled
> *FvwmIconMan: drawicons false
> *FvwmIconMan: buttongeometry 290x0
> *FvwmIconMan: managergeometry 1x7
>
> ########################## Window-Identifier ###############################
> # Just choose colors and a font
> *FvwmIdent: Back MidnightBlue
> *FvwmIdent: Fore Yellow
> *FvwmIdent: Font -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
>
> ########################### Pager #########################################
> *FvwmPager: Back #908090
> *FvwmPager: Fore #484048
> # turn off desktop names for swallowing in above button bar example:
> *FvwmPager: Font none
> *FvwmPager: Hilight #cab3ca
> *FvwmPager: Geometry -1-1
> *FvwmPager: Label 0 Misc
> *FvwmPager: Label 1 Maker
> *FvwmPager: Label 2 Mail
> *FvwmPager: Label 3 Matlab
> *FvwmPager: SmallFont 5x8
> *FvwmPager: Balloons All
> *FvwmPager: BalloonBack Yellow
> *FvwmPager: BalloonFore Black
> *FvwmPager: BalloonFont lucidasanstypewriter-12
> *FvwmPager: BalloonYOffset +2
> *FvwmPager: BalloonBorderWidth 1
> *FvwmPager: BalloonBorderColor Black
> #*FvwmPager: Monitor DisplayPort-0
>
> ##########################FvwmWinList##################################
> *FvwmWinList: Back #908090
> *FvwmWinList: Fore Black
> *FvwmWinList: Font -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
> *FvwmWinList: Action Click1 Iconify -1,Focus
> *FvwmWinList: Action Click2 Iconify
> *FvwmWinList: Action Click3 Module "FvwmIdent" FvwmIdent
> *FvwmWinList: UseSkipList
> *FvwmWinList: Geometry +0-1
>
> *FvwmBacker: Desk 0 -solid steelblue
> *FvwmBacker: Desk 1 -solid midnightblue
>
> *FvwmScroll: Back grey40
> *FvwmScroll: Fore green
>
> ############################################################
> ############################################################
> # Note that icons are shown in the module
> # only if !Icon command is applied.
> #Style * !Icon
>
> ############################################################
> *FvwmIconBox: IconBack #cfcfcf
> *FvwmIconBox: IconHiFore black
> *FvwmIconBox: IconHiBack LightSkyBlue
> *FvwmIconBox: Back #5f9ea0
> #*FvwmIconBox: Fore blue
> *FvwmIconBox: Geometry 5x1+0+0
> *FvwmIconBox: MaxIconSize 96x64
> *FvwmIconBox: Font -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
> *FvwmIconBox: SortIcons IconName
> *FvwmIconBox: Padding 4
> *FvwmIconBox: Lines 10
> *FvwmIconBox: SBWidth 11
> *FvwmIconBox: Placement Left Top
> *FvwmIconBox: Pixmap fvwm.xpm
> #*FvwmIconBo: xHideSC Horizontal
> *FvwmIconBox: SetWMIconSize
> *FvwmIconBox: HilightFocusWin
> *FvwmIconBox: Resolution Desk
> *FvwmIconBox: Mouse 1 Click RaiseLower
> *FvwmIconBox: Mouse 1 DoubleClick Iconify
> *FvwmIconBox: Mouse 2 Click Iconify -1, Focus
> *FvwmIconBox: Mouse 3 Click Module FvwmIdent
> *FvwmIconBox: Key r RaiseLower
> *FvwmIconBox: Key space Iconify
> *FvwmIconBox: Key d Close
> *FvwmIconBox: Key n Next
> *FvwmIconBox: Key p Prev
> *FvwmIconBox: Key h Left
> *FvwmIconBox: Key j Down
> *FvwmIconBox: Key k Up
> *FvwmIconBox: Key l Right
> #
> # Icon file specifications
> #
> # Mostly, you don't have to specify icon files, as FvwmIconBox now
> # reads icon files specified in Style commands.
> #
> *FvwmIconBox "Fvwm*" -
>
> # FvwmForm alias - rlogin or telnet to host via xterm
> *Rlogin: WarpPointer
> *Rlogin: Font *helvetica*m*r*n*12*
> *Rlogin: ButtonFont *helvetica*m*o*n*12*
> *Rlogin: InputFont *cour*m*r*n*12*
> *Rlogin: Fore Black
> *Rlogin: Back Light Gray
> *Rlogin: ItemFore Wheat
> *Rlogin: ItemBack Gray50
> # begin items
> *Rlogin: Line center
> *Rlogin: Text "Login to Remote Host"
> *Rlogin: Line center
> *Rlogin: Text "Host:"
> *Rlogin: Input HostName 30 ""
> *Rlogin: Line center
> *Rlogin: Selection meth single
> *Rlogin: Choice TN TN off "telnet"
> *Rlogin: Choice RL RL on "rlogin"
> *Rlogin: Selection UserSel single
> *Rlogin: Choice Default Default on "same user"
> *Rlogin: Choice Custom Custom off "user:"
> *Rlogin: Text "(Userid:"
> *Rlogin: Input UserName 10 ""
> *Rlogin: Text ")"
> *Rlogin: Line center
> *Rlogin: Text "FG:"
> *Rlogin: Input FgColor 15 ""
> *Rlogin: Text "BG:"
> *Rlogin: Input BgColor 15 ""
> *Rlogin: Line expand
> *Rlogin: Button quit "Login" ^M
> *Rlogin: Command Exec xterm $(FgColor?-fg $(FgColor)) $(BgColor?-bg $(BgColor)) -T x
> -e $(RL?rlogin) $(TN?telnet) $(HostName) $(RL?-8 $(UserName?-l $(UserName)))
> *Rlogin: Button restart "Clear"
> *Rlogin: Command Beep
> *Rlogin: Button quit "Cancel"
> *Rlogin: Command Nop
>
> # FvwmForm alias - query exit ala mwm
> *QuitVerify: GrabServer
> *QuitVerify: WarpPointer
> *QuitVerify: Font *helvetica*m*r*n*14*
> #*QuitVerify: ButtonFont *helvetica*m*o*n*14*
> *QuitVerify: ButtonFont 7x13bold
> *QuitVerify: Fore Black
> *QuitVerify: Back Light Gray
> *QuitVerify: ItemFore Wheat
> *QuitVerify: ItemBack Gray50
> # begin items
> *QuitVerify: Line center
> *QuitVerify: Text "Do you really want to exit fvwm?"
> *QuitVerify: Line expand
> *QuitVerify: Button quit " Exit "
> *QuitVerify: Command Quit
> *QuitVerify: Button quit "Cancel"
> *QuitVerify: Command Nop
>
> # MyTalk & MyFvwmTalk from Dave Goldberg
> # MyTalk Form - dissappears after use
> *MyTalk: WarpPointer
> *MyTalk: Font *helvetica*m*r*n*14*
> *MyTalk: ButtonFont *helvetica*m*o*n*14*
> *MyTalk: InputFont *cour*m*r*n*14*
> *MyTalk: Fore Red
> *MyTalk: Back Gray
> *MyTalk: ItemFore Blue
> *MyTalk: ItemBack Gray
> *MyTalk: Line center
> *MyTalk: Text "Fvwm Function"
> *MyTalk: Input Func 40 ""
> *MyTalk: Line expand
> *MyTalk: Button quit "Run" ^M
> *MyTalk: Command $(Func)
> *MyTalk: Button restart "Clear" ^R
> *MyTalk: Button quit "Cancel" ^C
> *MyTalk: Command Nop
>
> # MyFvwmTalk Form - sticks around
> *MyFvwmTalk: WarpPointer
> *MyFvwmTalk: Font *helvetica*m*r*n*14*
> *MyFvwmTalk: ButtonFont *helvetica*m*o*n*14*
> *MyFvwmTalk: InputFont *cour*m*r*n*14*
> *MyFvwmTalk: Fore Red
> *MyFvwmTalk: Back Gray
> *MyFvwmTalk: ItemFore Blue
> *MyFvwmTalk: ItemBack Gray
> *MyFvwmTalk: Line center
> *MyFvwmTalk: Text "Fvwm Function"
> *MyFvwmTalk: Input Func 40 ""
> *MyFvwmTalk: Line expand
> *MyFvwmTalk: Button restart "Run" ^M
> *MyFvwmTalk: Command $(Func)
> *MyFvwmTalk: Button restart "Clear" ^R
> *MyFvwmTalk: Command Nop
> *MyFvwmTalk: Button restart "Iconify" ^Z
> *MyFvwmTalk: Command Next [MyFvwmTalk] Iconify
> *MyFvwmTalk: Button quit "Quit" ^C
> *MyFvwmTalk: Command Nop
>
> # to change banner pixmap
> #*FvwmBanner: Pixmap fvwm3.xpm
> #*FvwmBanner: Timeout 2
There is a second file included in my local.config with the Test line below because addresses and passwords are involved, and is used so I can show all but this portion here.
Test (f $[FVWM_USERDIR]/luanti_accounts) Read $[FVWM_USERDIR]/luanti_accounts
Another unexplained few lines relate to mame and how it seems I must start it from within the
tigersharke@ichigo:~/scripts % ls -l total 50 drwxr-xr-x 2 tigersharke tigersharke 4 Apr 7 06:33 . drwxr-xr-x 55 tigersharke tigersharke 129 Apr 10 22:32 .. -rwxr-xr-x 1 tigersharke tigersharke 45 Apr 7 06:34 2mame -rwxr-xr-x 1 tigersharke tigersharke 146 Apr 7 06:31 2mame2gs tigersharke@ichigo:~/scripts % cat 2mame* #!/bin/sh cd /home/tigersharke/.mame && mame #!/bin/sh cd /home/tigersharke/.mame && mame apple2gs -sl7 "cffa2" -hard1 "software/my_appleIIgs-hdd.chd" -hard2 "software/my_IIgs-hdd-120mb.chd"
It is a good idea to look at the sample configuration file for ports you have installed when you update them. Check them at least periodically, once a month or at surely at every major revision. Read the upstream changelog for the port, announcements on their blog, or other documentation sources. You may discover new features or ways of controlling old ones, or possibly even why something is broken now that once worked perfectly before. You may also find information about any plan for deprecation of any present feature or configuration style or method for any of them. It is easy to forget that upstream can make changes but we should remember that documentation and sample files may be present for reference.
No comments:
Post a Comment