Wang Yin's FVWM configuration file

Source: Internet
Author: User
ImagePath +:/usr/share/icons:/usr/share/pixmaps:/usr/share/icons/hicolor/48x48/apps: /usr/local/share/FVWM/icons: $ home /. FVWM/icons
Edgeresistance 250 100
Edgescroll 100 100
Colormapfocus followsmouse
Clicktime 750
Optional topsize 2x2

# Default styles:
Style * borderwidth 5, handlewidth 5, depressableborder
Style * icon kcmkwm.png
Style * mwmfunctions, mwmdecor, mwmbuttons, hintoverride
Style * decoratetransient, nopposition
Style * sloppyfocus, mousefocusclickraises
Style * smartplacement
Style * font-*-simsun-Medium-r-*-14 -*-*-*-*-*-*-*
Style * iconfont-*-simsun-Medium-r-*-12 -*-*-*-*-*-*-*
Style * hilightfore black, hilightback gainsboro
Style * iconbox 360x200 + 1-1, iconfill left bottom

Style * windowshadeshrinks, windowshadesteps 100

Titlestyle height 22
Addtitlestyle activedown vgradient 8 gold Black

Menustyle * mwm
Menustyle * popupdelayed, popupdelay 160, animation, titlewarp
Menustyle * foreground gold, background gray40
Menustyle * activefore white
Menustyle * font-*-simsun-Medium-r-*-14 -*-*-*-*-*-*-*
Menustyle * menuface vgradient 64 darkgray midnightblue
# Menustyle * menuface tiledpixmap weird10dark. XPM

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

Cursorstyle root 58
Cursorstyle title 62
Cursorstyle stroke 86


# Styles for various FVWM modules:
Style "FVWM *" layer 5, notitle, sticky, windowlistskip
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 "xterm" icon/usr/share/icons/bluecurve/48x48/apps/gnome-term-tiger.png, sloppyfocus
Style "rxvt" notitle, icon/usr/share/icons/bluecurve/48x48/apps/gnome-term-linux.png
Style "GV" clicktofocus
Style "Mozilla" randomplacement, sloppyfocus
Style "noresource" notitle borderwidth 0, handlewidth 0
Style "xdaliclock" notitle, nohandles, sticky, windowlistskip, clicktofocus, layer 6
Style "mplayer" notitle, Layer 7
Style "RealPlayer" Layer 7
Style "xsim" 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

# 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

Read FVWM. strokes


# 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 -*- *-*-*-*-*-*"
Key F5 a c exec import-window root shot.png
Key F11 a c exec xscreensaver-command-Lock

# 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-Func2

# 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 fvwmanimate
+ I module fvwmtaskbar
+ I exec xdaliclock
+ I exec xloadimage-onroot-fullscreen ~ /PIC/cat_0000jpg
+ I exec xsim

Destroyfunc initfunction
Addtofunc initfunction
+ I exec xscreensaver-no-splash

Destroyfunc exitfunction
Addtofunc exitfunction
+ I all (xdaliclock) Close
+ I all (xscreensaver) Close
+ I all (xsim) Close

######################## Menus ############### ####

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
+ "& Programs" popup programsmenu
+ "& Utilities" popup utilities
+ "" NOP
+ "Re & fresh screen" Refresh
+ "Re & capture screen" recapture
+ "" NOP
+ "& Lock" Exec exec xscreensaver-command-Lock
+ "& Exit FVWM % Mini. Exit. XPM %" popup quit-verify

Destroymenu programsmenu
Addtomenu "programsmenu" "programs" title
+ "& Vim" Exec exec gvim
+ "Emacs % Mini. GNU. XPM" Exec exec Emacs
+ "& GV % Mini. gv. XPM" Exec exec gv
+ "&#Bat;mini=. XPM" Exec exec {read
+ "X & MMS" Exec exec xmms
+ "P & hoenix" Exec exec Phoenix
+ "Mo & Zilla" Exec exec Mozilla
+ "& Mathematica" Exec exec Mathematica

Destroymenu utilities
Addtomenu utilities "utilities" title
+ "TOP" Exec exec xterm-t top-N top-E top
+ "Calculator" Exec exec xcalc
+ "Xman" Exec exec xman
+ "Xmag" Exec exec xmag
+ "" NOP
+ "Reset x defaults" Exec xrdb-load $ home/. xdefaults
+ "Screenshot" Exec import-window root shot.png

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 bisque3
* Mainpanel: geometry 80x18 + 40 + 4
* Mainpanel: Back seagreen
* Mainpanel: (Panel (down, indicator, delay 0, steps 1 )\
Pagerpanel "module fvwmbuttons pagerpanel ")
* Mainpanel: font-*-simsun-Medium-r-*-16 -*-*-*-*-*-*-*
* Pagerpanel: geometry80 x 352
* Pagerpanel: (swallow fvwmpager "module fvwmpager 0 3 ")
* Pagerpanel: font-*-simsun-Medium-r-*-16 -*-*-*-*-*-*-*

########################## 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-*-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# 908090
* Fvwmpagerfore #484048
* Fvwmpager: font-*-simsun-Medium-r-*-14 -*-*-*-*-*-*-*
* Fvwmpagerhilight # cab3ca
* Fvwmpagerlabel 0 main
* Fvwmpagerlabel 1 Internet
* Fvwmpagerlabel 2 Program
* Fvwmpagerlabel 3 amusement
* Fvwmpager: smallfont-*-simsun-Medium-r-*-12 -*-*-*-*-*-*-*
* Fvwmpagerballoons all
* Fvwmpagerballoonback yellow
* Fvwmpagerballoonfore black
* Fvwmpager: balloonfont-*-simsun-Medium-r-*-14 -*-*-*-*-*-*-*
* Fvwmpagerballoonyoffset + 2
* Fvwmpagerballoonborderwidth 1
* Fvwmpagerballoonbordercolor black

########################## Fvwmwinlist ############# #####################
* Fvwmwinlistback# 908090
* 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 0, borderwidth 0
* Fvwmtaskbar: useskiplist
* Fvwmtaskbar: autostick
* Fvwmtaskbar: Unique only
# * Fvwmtaskbar: Action click1 deiconifyraiseandfocus
* Fvwmtaskbar: Action click2 iconify on
* Fvwmtaskbar: Action click3 lower
# * Fvwmtaskbar: Action click3 fvwmident
* Fvwmtaskbar: mailcommand exec rxvt-e mutt
* Fvwmtaskbar: 3 dfvwm
* Fvwmtaskbar: startname FVWM
* Fvwmtaskbar: startmenu rootmenu
* Fvwmtaskbar: font-*-simsun-Medium-r-*-14 -*-*-*-*-*-*-*
# * Fvwmtaskbar: font "xft: Luxi mono"
* Fvwmtaskbar: selfont-*-simsun-Medium-r-*-14 -*-*-*-*-*-*-*
* Fvwmtaskbar: showtips
* Fvwmtaskbar: clockformat
* Fvwmtaskbar: windowbuttonsrightmargin 20

* Fvwmtaskbar: Back seagreen
* Fvwmtaskbar: Fore gold2
* Fvwmtaskbar: focusfore cornsilk
* Fvwmtaskbar: iconback darkgreen
* 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.