Copyright January 4 Note: This file was originally a configuration file of Wang Yin, part of the change.
Read fvwm. strokes
ImagePath +:/usr/clooo/pixmaps
EdgeResistance 250 100
EdgeScroll 100 100
EwmhBaseStruts 0 0 0 30
ColormapFocus FollowsMouse
ClickTime 750
Optional topsize 2x2
######################## Default Styles ############## #############
Style * BorderWidth 4, HandleWidth 4
Style * Icon default. xpm
Style * FocusFollowsMouse
Style * TileCascadePlacement
Style * MWMFunctions, MWMDecor, MWMButtons, HintOverride
Style * DecorateTransient, NoPPosition
Style * SloppyFocus, MouseFocusClickRaises
Style * SmartPlacement
Style * Font-adobe-helvetica-blod-r-*-12 -*, -*-simsun-medium-r-*-12 -*-*-*-*-*-*-*
Style * IconFont-adobe-helvetica-blod-r-*-12 -*, -*-simsun-medium-r-*-12 -*-*-*-*-*-*-*
Style * HilightFore gold2, HilightBack #124A24
Style * IconBox 360x200 + 10-70, IconFill left bottom
Style * WindowShadeShrinks, WindowShadeSteps 100
######################## Styles for various Fvwm modules ########### ####################
Style "Fvwm *" Layer 5, Sticky, WindowListSkip, NoTitle
Style "Fvwm *" BorderWidth 2, CirculateSkipIcon, CirculateSkip
Style "FvwmPager" StaysOnTop
Style "FvwmBanner" StaysOnTop
Style "FvwmButtons" Icon toolbox. xpm, NeverFocus
Style "FvwmConsole" SloppyFocus
###################### Styles for your common terminal emulator programs ########## ################
Style "* term" TitleAtLeft
Style "xterm" Icon xterm-bsd.xpm, SloppyFocus
Style "rxvt" Icon rterm. xpm, TitleAtLeft
Style "gv" ClickToFocus
Style "ILA Firefox" RandomPlacement, SloppyFocus
Style "NoResource" NoTitle BorderWidth 0, HandleWidth 0
Style "SCIM" Layer 7, NoTitle, HandleWidth 1, Sticky, WindowListSkip
Style "emacs" Icon gnu-animal.xpm
Style "gv" Icon gv. xpm
Style "Xdvi help" NoTitle
Style "writable read" VariablePosition, VariableUSPosition
Style * RaiseTransient LowerTransient StackTransientParent
# Style * NoActiveIconOverride
# Style "kmix" NoTitle
####################### Styles for various common programs ############ ################
Style "xbiff" NoTitle, Sticky, WindowListSkip, ClickToFocus
Style "xcalc" Icon xcalc. xpm, NoButton 2, RandomPlacement, ClickToFocus
Style "xmh" Icon mail1.xpm, NoIconTitle, StickyIcon
Style "xmh" RandomPlacement, NoButton 2
Style "xman" Icon xman. xpm, RandomPlacement, ClickToFocus
Style "xmag" RandomPlacement, ClickToFocus
Style "FvwmButtons" BorderWidth 0, NoHandles
####################### Style For Title ############## #############
TitleStyle height 20
AddTitleStyle ActiveDown VGradient 20 #993300 #003300
####################### Style For Menu ############## ##############
MenuStyle * MWM
MenuStyle * PopupDelayed, PopupDelay 160, Animation, TitleWarp
MenuStyle * Font-adobe-helvetica-blod-r-*-12 -*, -*-simsun-medium-r-*-12 -*-*-*-*-*-*-*
MenuStyle * Hilight3DOff, HilightBack #124A24, ActiveFore # D10000
############ Transparent MenuStyle #################
# Colorset 0 Transparent, fg gold2
# MenuStyle * MenuColorset 0
#############
MenuStyle * MenuFace VGradient 256 darkgray #124A24
MenuStyle * Foreground gold2
MenuStyle * Background #124A24
MenuStyle * BorderWidth 1, TitleUnderlines1, SeparatorsLong, TrianglesSolid
MenuStyle * ItemFormat "%. 2 | %. 5i %. 5l %. 5i % 2.3> % 2 |"
MenuStyle * AutomaticHotKeys
ColormapFocus FollowsFocus
########################### Style For Button ########## ################
ButtonStyle All -- UseTitleStyle
ButtonStyle All ActiveDown VGradient 8 palevioletred black
ButtonStyle 1 Vector 7 \
65x15 @ 0 25x55 @ 1 45x55 @ 0 35x85 @ 1 75x45 @ 0 55x45 @ 1 65x15 @ 0
ButtonStyle 6 16 20x20 @ 1 30x20 @ 1 50x40 @ 1 70x20 @ 1 80x20 @ 1 80x30 @ 0 60x50 @ 0 80x80 @ 0 70x80 @ 0 50x60 @ 0 30x80 @ 0 20x80 @ 0 20cross @ 0 40x50 @ 1 20x30 @ 0 20x20 @ 1
ButtonStyle 2 7 30x30 @ 1 30x60 @ 1 60x60 @ 1 60x30 @ 1 30x30 @ 1 30x35 @ 1 60x35 @ 1
ButtonStyle 4 5 30x60 @ 0 60x60 @ 0 60x50 @ 1 30x50 @ 1 30x60 @ 1
########################## Style for Cursor ########### ################
CursorStyle ROOT 58
CursorStyle TITLE 62
CursorStyle STROKE 86
########################## Some simple default key bindings ######### ##################
# Key Tab a m-
Key Next a scm Next [*] Focus
Key Prior a scm Prev [*] Focus
Key F1 a m GotoDesk-1
Key F2 a m GotoDesk 1
Mouse 3 a m MoveToDesk 1
Mouse 1 a m MoveToDesk-1
Key F3 A Module FvwmConsole-terminal rxvt-geometry 45x5-0 + 0-bg gold-fg midnightblue-fn "-adobe-courier-medium-r-*-14 -*- *-*-*-*-*-*"
########################## Some simple default mouse bindings ######### #################
Mouse 1 r a Menu RootMenu Nop
Mouse 2 r a Menu ProgramsMenu Nop
Mouse 3 wi SC CloseOrNot
Mouse 3 a mc Menu RootMenu Nop
Mouse 3 a s Move
DestroyFunc CloseOrNot
AddToFunc CloseOrNot
+ C Silent Close
+ M Nop
######################## For the title bar buttons ########## ###################
Mouse 1 4 A Iconify
Mouse 1 6 A Close
Mouse 3 2 A Maximize-Func
Mouse 1 1 A Menu ClientMenu
# 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
######################## Initialization Functions ############## ##############
DestroyFunc StartFunction
AddToFunc StartFunction
+ I Module FvwmButtons MainPanel
+ I Module FvwmAuto 500 Raise Nop
+ I Module FvwmAudio
+ I Module FvwmAnimate
+ I Module FvwmTaskBar
+ I Exec exec xloadimage-onroot-fullscreen/usr/clooo/ph/dog1.jpg
DestroyFunc InitFunction
AddToFunc InitFunction
+ I Module FvwmBanner
DestroyFunc ExitFunction
AddToFunc ExitFunction
+ I All (scim) Close
######################## Menus ############### ####
AddToMenu ClientMenu "ClientMenu" Title
+ "Iconify" Iconify
+ Maximize Maximize-Func2
+ "CloseOrNot" CloseOrNot
DestroyMenu RootMenu
AddToMenu RootMenu "Root Menu" Title
+ "& Xterm % mini. display. xpm %" Exec exec xterm
+ "& Rxvt % mini. monitor. xpm %" Exec exec rxvt
+ "& Big Rxvt" Exec exec rxvt-geometry 78x43
+ "" Nop
+ "& Konqueror" Exec exec Konqueror
+ "K & office" Popup Menukoffice
+ "& Stardict" Exec exec stardict
+ "& Internet" Popup Menuinternet
+ "& Editor" Popup MenuEditor
+ "& Multimedia" Popup MenuMedia
+ "& Utilities" Popup MenuUtilities
+ "" Nop
+ "Re & fresh Screen" Refresh
+ "Re & capture Screen" Recapture
+ "" Nop
+ "& Exit Fvwm % mini. exit. xpm %" Popup Quit-Verify
DestroyMenu Menukoffice
AddToMenu Menukoffice "Koffice" Title
+ "& VIM" Exec exec gvim
+ "Emacs % mini. gnu. xpm" Exec exec emacs
+ "& Kate % U % mini. gv. xpm" Exec exec kate % U
+ "&#Bat;mini=. xpm" Exec exec {read
+ "X & mms" Exec exec xmms
+ "Mo & zilla" Exec exec firefox
+ "& Eva" Exec exec eva
DestroyMenu Menuinternet
AddToMenu Menuinternet "Internet" Title
+ "& Mozilla Firefox" Exec exec firefox
+ "Konqueror" Exec exec konqueror
+ "& Eva" Exec exec eva
DestroyMenu MenuEditor
AddToMenu MenuEditor "Editors" Title
+ "& GVIM" Exec exec gvim
+ "& Emacs % mini. gnu. xpm" Exec exec emacs
+ "Kate" Exec exec kate % U
DestroyMenu MenuMedia
AddToMenu MenuMedia "Media" Title
+ "Kmix" Exec exec kmix
+ "& XmmS" Exec exec xmms
+ "Xine" Exec exec xine
+ "K3d" Exec exec k3d
+ "" Nop
+ "Gimp" Exec exec gimp
+ "Kview" Exec exec kview
+ "KsnapShot" Exec exec ksnapshot
+ "" Nop
+ "K3b" Exec exec k3b
DestroyMenu MenuUtilities
AddToMenu MenuUtilities "Utilities" Title
+ "Acrobat" Exec exec acrobat
+ "Xpdf" Exec exec xpdf
+ "" Nop
+ "Top" Exec exec xterm-T Top-n Top-e top
+ "Calculator" Exec exec xcalc
+ "Xman" Exec exec xman
+ "Xmag" Exec exec xmag
DestroyMenu Quit-Verify
AddToMenu Quit-Verify "Really Quit Fvwm? "Title
+ "Yes, Really Quit" Quit
+ "Restart Fvwm2" Restart fvwm2
+ "No, Don't Quit" Nop
######################## Sample Functions ############## ############
DestroyFunc Move-or-Raise
AddToFunc Move-or-Raise I Raise
+ "M" Move
+ "D" WindowShade
DestroyFunc Move-or-Raise2
AddToFunc Move-or-Raise2 "M" Raise
+ "M" Move
+ "D" Lower
DestroyFunc Maximize-Func
AddToFunc Maximize-Func "M" Maximize 0 100
+ "C" Maximize 0 80
+ "D" Maximize 100 98
DestroyFunc Maximize-Func2
AddToFunc Maximize-Func2 "M" Maximize 100 0
+ "C" Maximize 80 0
+ "D" Maximize 100 98
DestroyFunc Move-or-Iconify
AddToFunc Move-or-Iconify I Raise
+ "M" Move
+ "D" Iconify
DestroyFunc Resize-or-Raise
AddToFunc Resize-or-Raise I Raise
+ "M" Resize
+ "D" Lower
DestroyFunc Resize-or-Raise2
AddToFunc Resize-or-Raise2 "M" Raise
+ "M" Resize
+ "D" Lower
DestroyFunc Iconify-and-Raise
AddToFunc Iconify-and-Raise I Iconify
+ I Raise
################## FvwmButtons button-bar ################## ##############
* FvwmButtonsBack # B1D864
* MainPanel: Geometry 80x18 + 40 + 4
* MainPanel: back# 000000
* MainPanel: (Panel (down, indicator, delay 0, steps 1 )\
PagerPanel "Module FvwmButtons PagerPanel ")
* MainPanel: Font-adobe-helvetica-blod-r-*-10 -*, -*-simsun-medium-r-*-10 -*-*-*-*-*-*-*
* PagerPanel: geometry80 x 352
* PagerPanel: (Swallow FvwmPager "Module FvwmPager 0 3 ")
* PagerPanel: Font-adobe-helvetica-blod-r-*-10 -*, -*-simsun-medium-r-*-10 -*-*-*-*-*-*-*
########################## Icon Manager ############ ########################
# This FvwmIconMan setup is for swallowing in abve button bar example
* FvwmIconMan * numManagers 1
* FvwmIconMan * Resolution page
* FvwmIconMan * background bisque3
* FvwmIconMan * foreground black
* FvwmIconMan * font-adobe-helvetica-bold-r-*-10 -*, -*-simsun-medium-r-*-10 -*-*-*-*-*-*-*
# * FvwmIconMan * font &; nbsp;-*-magicsong-medium-r-*-16-*-gb2312.1980-0
* 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 none
* FvwmIconMan * plainbutton up black bisque3
* FvwmIconMan * selectbutton down black bisque3
* FvwmIconMan * focusbutton up yellow firebrick
* FvwmIconMan * focusandselectButton down yellow firebrick
* FvwmIconMan * dontshow icon = Untitled
# * FvwmIconMan * drawicons true
* FvwmIconMan * buttongeometry300 x 0
* FvwmIconMan * managergeometry 1x5
########################## Window-Identifier ########### ####################
# Just choose colors and a fonts
* FvwmIdentBack MidnightBlue
* FvwmIdentFore Yellow
* FvwmIdentFont-*-simsun-medium-r-*-14 -*-*-*-*-*-*-*
########################### Pager ############ #############################
* FvwmPager: Rows 4
* FvwmPager: Columns 1
* Fvwmpagerback# 660011
* FvwmPagerFore gold2
* FvwmPager: Font-adobe-helvetica-blod-r-*-10 -*, -*-simsun-medium-r-*-10 -*-*-*-*-*-*-*
* FvwmPagerHilight #124A24
* FvwmPagerLabel 0 Main
* FvwmPagerLabel 1 Internet
* FvwmPagerLabel 2 Program
* FvwmPagerLabel 3 Amusement
* FvwmPager: SmallFont-adobe-helvetica-blod-r-*-8 -*, -*-simsun-medium-r-*-8 -*-*-*-*-*-*-*
* FvwmPagerBalloons All
* FvwmPagerBalloonBack Yellow
* FvwmPagerBalloonFore Black
* FvwmPager: BalloonFont "-adobe-helvetica-blod-r-*-10 -*, -*-simsun-medium-r-*-10 -*-*-*-*-*-*-*"
* FvwmPagerBalloonYOffset + 2
* FvwmPagerBalloonBorderWidth 0
* FvwmPagerBalloonBorderColor #124A24
########################## FvwmWinList ############# #####################
* FvwmWinListBack #124A24
* FvwmWinListFore Black
* FvwmWinListFont-*-simsun-medium-r-*-14 -*-*-*-*-*-*-*
* FvwmWinListAction Click1 Iconify-1, Focus
* FvwmWinListAction Click2 Iconify
* FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
* FvwmWinListUseSkipList
* FvwmWinListGeometry + 0-1
########################## For FvwmBacker ############ ######################
* FvwmBackerDesk 0-solid steelblue
* FvwmBackerDesk 1-solid midnightblue
########################## For FvwmScroll ############ ##################
* FvwmScrollBack grey40
* FvwmScrollFore green
* FvwmAnimate: Delay 25
* FvwmAnimate: Effect Random
* FvwmAnimate: Width 3
Style FvwmTaskBar HandleWidth 6, BorderWidth 6
# * FvwmTaskBar: Rows 2
* FvwmTaskBar: HighlightFocus
* FvwmTaskBar: 3 DFvwm
* FvwmTaskBar: Back #124A24
* FvwmTaskBar: Fore # FFDA1F
* FvwmTaskBar: TipsBack #367000
* FvwmTaskBar: TipsFore # FFCC00
* FvwmTaskBar: Geometry + 100-0
* FvwmTaskBar: Font-adobe-helvetica-blod-r-*-10 -*, -*-simsun-medium-r-*-10 -*-*-*-*-*-*-*
* FvwmTaskBar: SelFont-adobe-helvetica-blod-r-*-10 -*, -*-simsun-medium-r-*-10 -*-*-*-*-*-*-*
* FvwmTaskBar: StatusFont fixed
* FvwmTaskBar: Action Click1 DeiconifyRaiseAndFocus
* FvwmTaskBar: Action Click2 Iconify On
* FvwmTaskBar: Action Click3 Lower
* FvwmTaskBar: UseSkipList
* FvwmTaskBar: UseIconNames
* FvwmTaskBar: AutoStick
* FvwmTaskBar: ShowTips
* FvwmTaskBar: NoIconAction SendToModule FvwmAnimate animate
* FvwmTaskBar: ButtonWidth 180
* FvwmTaskBar: BellVolume 20
* FvwmTaskBar: MailBox/var/spool/mail/
* FvwmTaskBar: MailCommand Exec xterm-e mail
* FvwmTaskBar: ClockFormat % I: % M % p
* FvwmTaskBar: StartName Fvwm
* FvwmTaskBar: StartMenu RootMenu
* FvwmTaskBar: Button Title Firefox, Action exec firefox
* FvwmTaskBar: Button Icon mini. term. xpm, Action exec xterm
* FvwmTaskBar: Button Title XMMS, Icon mini. cd. xpm, Action exec xmms
* FvwmTaskBar: IconBack #384A12
* FvwmTaskBar: IconFore white
# * FvwmTaskBar: Button Title hello, Icon mini. x. xpm, Action (Mouse 1) Module FvwmConsole
# * FvwmTaskBar: DateFormat "% A, % B % d, % Y"
* FvwmTaskBar: WindowButtonsLeftMargin 20
* FvwmTaskBar: HighlightFocus
# * FvwmTaskBar: AutoHide 6