my fvwm configuration

DestroyFunc StartFunction
AddToFunc StartFunction      
+ I Module FvwmAuto 800 Raise Nop
+ I Exec exec fcitx
+ I Exec exec xclock -fg white -bg black -digital -strftime "%b %d %a %H:%M" -geometry -0-0
+ I Exec fvwm-root -r $HOME/.fvwm/background.png

DestroyFunc RestartFunction
AddToFunc RestartFunction
+ I Exec exec fcitx
DestroyFunc ExitFunction
AddToFunc ExitFunction
+ I KillModule FvwmAuto
+ I Exec exec killall fcitx
+ I Exec exec killall xclock

#WindowFont     "-misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso10646-1,-misc-simsun-medium-r-normal-*-*-100-*-*-c-*-gb2312.1980-0"

#DefaultFont     "-misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso10646-1,-misc-simsun-medium-r-normal-*-*-100-*-*-c-*-gb2312.1980-0"

#WindowFont     "-misc-fixed-medium-r-semicondensed-*-*-120-*-*-c-*-iso10646-1,-misc-simsun-medium-r-normal-*-*-90-*-*-c-*-iso10646-1"
#DefaultFont     "-misc-fixed-medium-r-semicondensed-*-*-120-*-*-c-*-iso10646-1,-misc-simsun-medium-r-normal-*-*-90-*-*-c-*-iso10646-1"


Colorset 1001 fg white, bg #244e9a
Colorset 1002 fg white,bg #5881b5
Colorset 1003 fg white,bg #4c8d17

#MenuStyle color

Colorset 0 Transparent, fg #FFFFFF, bg #000000
Colorset 1005 fg black, bg white, sh rgb:ac/a8/99, hi rgb:f0/e8/e0, /
    IconAlpha 95, IconTint yellow 8, Plain, NoShape

# active menu item fg+bg
#Colorset 6 fg rgb:e8/f5/f5, bg rgb:34/88/de, fgsh rgb:10/28/40, Plain, NoShape
Colorset 1006 fg white, bg rgb:31/6a/c5, IconAlpha 95, IconTint cyan 8, /
    Plain, NoShape

# greyed menu item fg
Colorset 1007 fg grey, bg grey, Plain, NoShape
#MenuStyle color end


Colorset 1010 fg white, bg average, /
    VGradient 300 3 rgb:14/6f/ea 2 rgb:00/3f/aa 6 rgb:14/6f/ea 1 rgb:00/3f/aa, NoShape


Colorset 1014 fg rgb:ff/ff/f0, bg average, fgsh rgb:22/48/7a, NoShape, /
    VGradient 250 7 rgb:6e/ac/f5 1 rgb:34/5c/9a 3 rgb:11/62/cd 3 rgb:0e/60/cc 3 rgb:0f/62/ce 9 rgb:1e/70/d6 9 rgb:3a/89/e6 6 rgb:46/92/f0


Colorset 1015 fg rgb:ff/ff/f0, bg average, fgsh rgb:22/48/7a, NoShape, /
    Tint cyan 38, bgTint cyan 38, /
    VGradient 250 7 rgb:6e/ac/f5 1 rgb:34/5c/9a 3 rgb:11/62/cd 3 rgb:0e/60/cc 3 rgb:0f/62/ce 9 rgb:1e/70/d6 9 rgb:3a/89/e6 6 rgb:46/92/f0

Colorset 1016 fg rgb:ff/ff/b0, bg rgb:14/58/bc, Plain, NoShape




# 設定圖標資源的目錄
ImagePath $HOME/.fvwm/wm-icons

# 設定標題欄的大小,默認是17象素
TitleStyle Height 17

# On init la couleur de la barre de titre (ici on ge un gradient)
#TitleStyle (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue4)
TitleStyle  (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue4)
# On init la couleur lorsque la barre de titre est press
AddTitleStyle ActiveDown (VGradient 128 2 royalblue3 50 royalblue1 50 royalblue4)
# barre de titre inactive
TitleStyle Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat

# 1.2 Bouttons
ButtonStyle 1 (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue4)-- Flat
ButtonStyle 1 Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat
AddButtonStyle 1 Inactive (8 01x50@0 50x99@0 99x50@0 80x50@0 80x01@0 20x01@0 20x50@0 01x50@0) -- Flat
AddButtonStyle 1 ActiveUp (8 01x50@1 50x99@01 99x50@0 80x50@0 80x01@0 20x01@1 20x50@1 01x50@1) -- Flat
#inversion du gradient pour donner un effet de "boutton pouss ...
AddButtonStyle 1 ActiveDown (VGradient 128 2 royalblue3 50 royalblue1 50 royalblue4 8 01x50@1 50x99@1 99x50@1 80x50@1 80x01@1 20x01@1 20x50@1 01x50@1) -- Flat

# boutton 3 : (un)stick
ButtonStyle 3 (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue4)-- Flat
ButtonStyle 3 Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat
# un lair
AddButtonStyle 3 ActiveUp (7 70x15@0 30x55@1 50x55@0 40x85@1 80x45@0 60x45@1 70x15@0) -- Flat
AddButtonStyle 3 Inactive (7 70x15@0 30x55@1 50x55@0 40x85@1 80x45@0 60x45@1 70x15@0) -- Flat
AddButtonStyle 3 ActiveDown (VGradient 128 2 royalblue3 50 royalblue1 50 royalblue4 7 70x15@0 30x55@1 50x55@0 40x85@1 80x45@0 60x45@1 70x15@0) -- Flat

# boutton 2: close
ButtonStyle 2 (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue4)-- Flat
ButtonStyle 2 Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat
# on dessine une croix
AddButtonStyle 2 ActiveUp (13 20x20@0 80x80@0 85x80@0 25x20@0 30x20@0 90x80@0 50x50@0 20x80@0 80x20@0 85x20@0 25x80@0 30x80@0 90x20@0) -- Flat
AddButtonStyle 2 ActiveDown (VGradient 128 2 royalblue3 50 royalblue1 50 royalblue4 13 20x20@1 80x80@1 85x80@1 25x20@1 30x20@1 90x80@1 50x50@1 20x80@1 80x20@1 85x20@1 25x80@1 30x80@1 90x20@1) -- Flat
AddButtonStyle 2 Inactive (13 20x20@0 80x80@0 85x80@0 25x20@0 30x20@0 90x80@0 50x50@0 20x80@0 80x20@0 85x20@0 25x80@0 30x80@0 90x20@0) -- Flat

# boutton 4: Maximize
ButtonStyle 4 (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue4)-- Flat
ButtonStyle 4 Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat
# on dessine un cadre
AddButtonStyle 4 ActiveUp (7 20x20@0 90x20@0 90x25@0 20x25@0 20x80@0 90x80@0 90x20@0) -- Flat
AddButtonStyle 4 ActiveDown (VGradient 128 2 royalblue3 50 royalblue1 50 royalblue4 7 20x20@1 90x20@1 90x25@1 20x25@1 20x80@1 90x80@1 90x20@1) -- Flat
AddButtonStyle 4 Inactive (7 20x20@0 90x20@0 90x25@0 20x25@0 20x80@0 90x80@0 90x20@0) -- Flat

# boutton 6:minimize
ButtonStyle 6 (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue4)-- Flat
ButtonStyle 6 Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat
# on dessine une barre
AddButtonStyle 6 ActiveUp (4 25x80@0 85x80@0 85x75@0 25x75@0 25x70@0 85x70@0) -- Flat
AddButtonStyle 6 ActiveDown (VGradient 128 2 royalblue3 50 royalblue1 50 royalblue4 4 25x80@1 85x80@1 85x75@1 25x75@1 25x70@1 85x70@1) -- Flat
AddButtonStyle 6 Inactive (4 25x80@0 85x80@0 85x75@0 25x75@0 25x70@0 85x70@0) -- Flat

# 設定菜單的樣式和字體
#MenuStyle * Hilight3DThickness 1
#MenuStyle * PopupDelayed, PopupDelay 150, PopdownDelayed, PopdownDelay 150
#MenuStyle * PopupOffset -15 100, TitleWarpOff
#MenuStyle * TitleUnderlines1, SeparatorsLong, TrianglesRelief
#MenuStyle * Animation, AutomaticHotkeysOff, DoubleClickTime
MenuStyle * BorderWidth 0, SidePic, SideColor
#MenuStyle * PopupAsSubmenu, HoldSubmenus, SubmenusRight
#MenuStyle * ItemFormat "%.4s%.1|%.5i%.5l%.5l%.5r%.5i%2.3>%1|"
#MenuStyle * VerticalItemSpacing, VerticalTitleSpacing

#MenuStyle * MenuFace, ActiveFore, HilightBack
#MenuStyle * MenuColorset 1005, ActiveColorset 1006, GreyedColorset 1007
MenuStyle * MenuColorset 0

MenuStyle *        MWM
MenuStyle *       MenuColorset 0
MenuStyle *      PopupDelayed, PopupDelay 160, Animation, TitleWarp
MenuStyle *        Font "-misc-fixed-medium-r-normal-*-*-120-*-*-p-*-iso10646-1,-*-simsun-medium-r-*-*-13-*-*-*-*-*-*-*,*-r-*"

#MenuStyle *   ActiveFore White
#MenuStyle *   Foreground , Background gray40
#MenuStyle *   MenuFace TiledPixmap menuback3.png
#MenuStyle *   MenuFace VGradient 128 2 white 50 green 50 orange

BusyCursor DynamicMenu True

# 設定虛擬桌面的數目
DeskTopSize 2x1
#EdgeResistance 100 10
# pourcentage du scroll en cas de flip-edge
EdgeScroll 100 0

# 2.2 Propri du bureau
# -----------------------
ClickTime 750
OpaqueMoveSize 150
SnapAttraction 8 All Screen
ColormapFocus FollowsMouse

# 菜單的主要字體
#Style "*" Font "xft:simsun:size=10:encoding=gb2312.1980"
#Style "*" IconFont  "xft:simsun:size=10:encoding=gb2312.1980"
# Couleur des textes et de l'arrie plan des fenres ou icones actives
Style "*" HilightFore white, HilightBack #1c5572
# Style fenres.
Style "*" BorderWidth 1, HandleWidth 1
# Couleur du texte/fond des fenres/icones inactives
Style "*" Color black/#8090A0
# Style la Mosaic...
Style "*" MWMFunctions, MWMDecor, HintOverride
Style "*" MWMBorder
#, MWMButtons
Style "*" DecorateTransient, NoPPosition
# inition de l'iconebox (l ou vont les icones)
# On peut en mettre plusieurs o en consacrer certaines certaines
# applications.
Style "*" IconBox 1096 404 1152 -120
# Option de focus et de placement.
Style "*" SmartPlacement
Style "*" MouseFocusClickRaises
Style "*" FPAllowFocusClickFunction, FPAllowRaiseClickFunction

# 2.4 Fenres particulies
# --------------------------
# D'abord les fenres spiales fvwm
Style "Fvwm*" NoTitle, Sticky, WindowListSkip
Style "Fvwm*" BorderWidth 1, CirculateSkipIcon, CirculateSkip

#Style "*lock" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus
#Style "xcalc" Icon xcalc.xpm,RandomPlacement,ClickToFocus
#Style "xmh" Icon mail1.xpm, NoIconTitle,StickyIcon
#Style "xman" Icon xman.xpm, RandomPlacement, ClickToFocus
#Style "xmag" Icon mag_glass.xpm, RandomPlacement, ClickToFocus
Style "rxvt" NoTitle

Style "xterm" Icon xterm.xpm, MouseFocusClickRaises
Style "konqueror" Icon apple-red.xpm
#Style "gphoto" Icon gphoto.xpm
#Style "psi" Sticky
#Style "gkrellm" Sticky,WindowListSkip,NoTitle
#Style "gkrellm" CirculateSkipIcon,CirculateSkip
#Style "aterm" Sticky,NoTitle, WindowListSkip,BorderWidth 0,NoHandles
#Style "penguineyes" Sticky,WindowListSkip,BorderWidth 0, NoTitle
#Style "penguineyes" CirculateSkipIcon,CirculateSkip
#Style "xconsole" WindowListSkip
#Style "Blur scope" WindowListSkip,NoTitle,ClickToFocus,RandomPlacement
#Style "Oscilloscope Flou" WindowListSkip,NoTitle,ClickToFocus,Placement
#Style "Zinf" WindowListSkip,Sticky
Style "xmms" CirculateSkip
Style "emacs" Icon emacs.png
#Style "rclock" Sticky,Iconify,WindowListSkip,NoTitle,CirculateSkip
#Style "xclock" Sticky,Iconify,WindowListSkip,NoTitle,CirculateSkip
Style "rclock" Sticky,WindowListSkip,NoTitle,CirculateSkip
Style "xclock" Sticky,WindowListSkip,NoTitle,CirculateSkip



#####################################
# 3. Commandes
#####################################

Key Tab A M MyTab
Key Tab A M2 MyTab
Key Tab A C MyTab2
Key Tab A C2 MyTab2
Key F4 WTSFI M Close
Key F4 WTSFI M2 Close
Key F3 A M Popup Window-Ops
Key F3 A M2 Popup Window-Ops
#Key F2 A M Exec rxvt -bg black -fg white -fn fixed
#Key F2 A M2 Exec rxvt -bg black -fg white -fn fixed
Key F12 A C Quit
Key F12 A C2 Quit
Key F12 A M Restart fvwm2
Key F12 A M2 Restart fvwm2
Key F1 WTSFI M Maximize
Key F1 WTSFI M2 Maximize
Key F1 WTSFI C MyIcon
Key F1 WTSFI C2 MyIcon
Key Escape A C WindowList Root c c
Key Escape A C2 WindowList Root c c
#stop
Key s A M Exec exec xmms -s
Key s A M2 Exec exec xmms -s
#emacs
Key e A CM Exec exec emacs
Key e A CM2 Exec exec emacs
Key r A CM Exec exec rxvt -fn 7x14 -tr -geometry 80x23 -fg white
Key r A CM2 Exec exec rxvt -fn 7x14 -tr geometry 80x23 -fg white
# Les raccourcies suivants permettent de "naviguer" dans les bureaux
#rox
Key r A M Exec exec rox
Key r A M2 Exec exec rox

Key Left A M Scroll -100 +0
#Key Left A M2 Scroll -100 +0
Key Right A M Scroll +100 +0
#Key Right A M2 Scroll +100 +0
#Key Up A M Scroll +0 -100
#Key Up A M2 Scroll +0 -100
#Key Down A M Scroll +0 +100
#Key Down A M2 Scroll +0 +100

# Les menus accessibles depuis la souris
Mouse 1 R A Menu RootMenu Nop
Mouse 2 R A Menu Window-Ops Nop
Mouse 3 R A WindowList

# Bouttons des fenres et title bar:
Mouse 0 1 A Menu Window-Ops2 Close
Mouse 0 3 A Stick
Mouse 0 2 A Close
Mouse 0 4 A Maximize
Mouse 0 6 A Iconify
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 T A WindowShade
Mouse 3 T A Raise-or-RaiseLower

# StartMenu
#-----------------------------------------------------------------------------#
# 主要的菜單選項,請你自行添加

AddToMenu RootMenu "Root Menu " Title
+ "Shell%terminal.png" Exec exec rxvt -fn 7x14 -geometry 80x23 -fg white -tr
+ "Browser%mozilla.png" Exec exec opera
#/home/public/system/firefox/firefox
+ "Rox%file-manager.png" Exec exec rox
+ "Music%xmms.png" Exec exec beep-media-player
+ "" Nop%16x16-gnome/
+ "Develop%programming.png" Popup programmenu
+ "Office%office.png" Popup officemenu
+ "Picture%gnome-graphics.png" Popup artmenu
+ "Media%multimedia.png" Popup multimediamenu
+ "Utilities%gnome-util.png" Popup Utilities
+ "Internet%redhat-internet.png" Popup Internet
+ "Games%gnome-games.png" Popup games
+ "" Nop%16x16-gnome/
+ "Help%gnome-help.png" Popup HelpMenu
+ "System%gnome-system.png" Popup config

AddToMenu config
#+ "Executer" Exec exec grun
#+ "Rechercher%16x16-gnome/window-identify.xpm" Exec exec gtkfind
+ "Xkill" Exec exec xkill
+ "" Nop
+ "Restart Fvwm2" Restart
#+ "Start GNOME" Restart gnome
#+ "Start kde" Restart kde
#+ "Edit Fvwm2rc" Exec exec rxvt -fn 7x14 -geometry 80x30 -e vim $HOME/.fvwm/.fvwm2rc
+ "Edit Fvwm2rc" Exec exec emacs $HOME/.fvwm/.fvwm2rc
+ "" Nop
+ "Quit Fvwm2" Quit
#+ "Reboot" Exec exec reboot
#+ "Poweroff" Exec exec poweroff

AddToMenu programmenu
#+ "Text Editor%gedit-icon.png" Popup editmenu
+ "Emacs" Exec exec emacs -bg black -fg white
+ "Anjuta" Exec exec anjuta
+ "DevHelp" Exec exec devhelp
#+ "Scilab3.0" Exec exec scilab
+ "Vim" Exec exec rxvt -fn 7x14 -e vim
+ "Eclipse" Exec exec /home/public/system/eclipse/eclipse
+ "ArgoUML" Exec exec java   -Duser.language=en -jar  /home/public/system/argouml/argouml.jar
+ "SourceNav" Exec exec snavigator
#+ "Qt Designer" Exec exec designer
+ "Doxygen" Exec exec doxywizard
+ "DDD" Exec exec ddd


+ "Gedit" Exec exec gedit
#+ "XEmacs" Exec exec xemacs
+ "Gvim" Exec exec gvim

AddToMenu games
+ "連連看" Exec exec llk_linux
+ "雷電" Exec exec chromium
+ "極品飛車" Exec exec torcs
+ "飛機" Exec exec gl-117
+ "魔獸世界" Exec exec freecraft
+ "超級瑪麗" Exec exec supertux
+ "星際戰士" Exec exec starfighter
+ "文明" Exec exec civ
+ "Enigma" Exec exec enigma
+ "大魚吃小魚" Exec exec fillets
+ "Wesnoth" Exec exec wesnoth
+ "stratagus" Exec exec stratagus
+ "craft" Exec exec craft
+ "kraptor" Exec exec kraptor

AddToMenu officemenu
+ "OO Writer" Exec exec swriter
+ "OO impress" Exec exec simpress
+ "GNUmeric" Exec exec gnumeric
+ "OO calc" Exec exec scalc
+ "OO math" Exec exec smath

AddToMenu artmenu
+ "Gimp" Exec exec gimp
+ "Gqview" Exec exec gqview
+ "gThumb" Exec exec gthumb

AddToMenu multimediamenu
#+ "音量控制器" Exec exec gnome-volume-control
+ "音頻播放器" Exec exec beep-media-player
+ "Gxine" Exec exec gxine
+ "Xine 影像播放器" Exec exec xine
+ "RealPlayer 10" Exec exec  realplay
+ "Helix Player " Exec exec hxplay
+ "Mplayer" Exec exec mplayer
#+ "Audio Ripper" Exec exec grip

AddToMenu Internet
+ "Firefox" Exec exec firefox
+ "Mozilla" Exec exec mozilla
+ "opera" Exec exec opera
+ "D4x" Exec exec d4x
+ "Ethereal" Exec exec ethereal
+ "aMule" Exec exec amule
+ "Evolution" Exec exec evolution
+ "Dillo" Exec exec dillo
#+ "Pan" Exec exec pan
+ "Gaim" Exec exec gaim
+ "Xchat" Exec exec xchat
+ "Gftp" Exec exec gftp
+ "Azureus" Exec exec /home/public/system/azureus/azureus
+ "QQ" Exec exec  /home/public/system/LumaQQ/lumaqq

AddToMenu additionmenu
+ "Stardict" Exec exec stardict
+ "Nautilus" Exec exec nautilus

AddToMenu Reader
+ "GGV" Exec exec ggv
+ "Xpdf" Exec exec xpdf
+ "Abode Reader" Exec exec acroread
+ "Xchm" Exec exec xchm
+ "Xdvi" Exec exec xdvi
#+ "Fvwm Modules" Popup Module-Popup
#+ "Fvwm Window Ops" Popup Window-Ops
#+ "Fvwm Simple Config Ops" Popup Misc-Ops
#+ "" Nop
#+ "刷新窗口" Refresh
#+ "Recapture Screen" Recapture
#+ "" Nop
#+ "退出 Fvwm" Popup Quit-Verify

AddToMenu Utilities
+ "Reader" Popup Reader
+ "Attachment" Popup additionmenu
+ "XTerm" Exec exec xterm -bg black -fg white +sb
+ "Top" Exec exec rxvt -geometry 80x50 -fn 7x14 -tr -fg white -e top
#xterm -T Top -n Top -e top
+ "Calculator" Exec exec xcalc
+ "Xmag" Exec exec xmag
+ "Editres" Exec exec editres
+ "rclock" Exec exec rclock -geometry 58x58-0-0
+ "clock" Exec exec xclock -digital -strftime "%d/%b %a %H:%M" -geometry -0-0
#+ "" Nop
#+ "Reset X defaults" Exec xrdb -load $HOME/.Xdefaults



AddToMenu Misc-Ops "Misc Config Opts" Title
+ "Sloppy Focus" ChangeDefaultFocus SloppyFocus
+ "Click To Focus" ChangeDefaultFocus ClickToFocus
+ "Focus Follows Mouse" ChangeDefaultFocus FocusFollowsMouse
+ "" Nop
+ "OpaqueMove On" OpaqueMoveSize 100
+ "OpaqueMove Off" OpaqueMoveSize 0
+ "" Nop
+ "Colormap Follows Mouse" ColormapFocus FollowsMouse
+ "Colormap Follows Focus" ColormapFocus FollowsFocus
+ "" Nop
+ "Full Paging ON" EdgeScroll 100 100
+ "All Paging OFF" EdgeScroll 0 0
+ "Horizontal Paging Only" EdgeScroll 100 0
+ "Vertical Paging Only" EdgeScroll 0 100
+ "Partial Paging" EdgeScroll 50 50
+ "Full Paging && Edge Wrap" EdgeScroll 100000 100000

AddToMenu Window-Ops "移動窗口" Move
+ "重新設定大小" Resize
#+ "R&aise%16x16-gnome/window-raise.xpm%" Raise
#+ "&Lower%16x16-gnome/window-lower.xpm%" Lower
+ "(恢復)圖標化" Iconify
+ "(恢復)鎖定窗口" Stick
+ "(恢復)最大化" Maximize
+ "" Nop
+ "刪除窗口" Delete
+ "關閉窗口" Close
+ "毀滅窗口" Destroy
#+ "" Nop
#+ "ScrollBar" Module FvwmScroll 2 2
#+ "Print" PrintFunction
#+ "Print Reverse" PrintReverseFunction

AddToMenu Module-Popup "FvwmModules" Title
+ "Identify" Module FvwmIdent
+ "Talk" Module FvwmTalk
+ "" Nop
#+ "Button-Bar" Module FvwmButtons
+ "Pager" Module FvwmPager 0 0
+ "Pager (2 desks)" Module FvwmPager 0 1
+ "WinList" Module FvwmWinList
+ "" Nop
+ "Banner" Module FvwmBanner
+ "ScrollBar" Module FvwmScroll 50 50
+ "Background" Module FvwmBacker
+ "AutoRaise" Module FvwmAuto 200 Raise Nop
+ "Stop AutoRaise" KillModule FvwmAuto
+ "" Nop
+ "IconBox" Module FvwmIconBox
+ "IconMan" Module FvwmIconMan
+ "" Nop
+ "Form - Rlogin" Module FvwmForm Rlogin
+ "Form - MyFvwmTalk" Module FvwmForm MyFvwmTalk
+ "Form - QuitVerify" Module FvwmForm QuitVerify

AddToMenu Quit-Verify "Really Quit Fvwm?" Title
+ "Yes, Really Quit" Quit
+ "" Nop
+ "Restart Fvwm2" Restart
+ "重新啓動 Fvwm" Restart
+ "" Nop
#+ "Start 95" Restart fvwm95
+ "Start GNOME" Restart gnome
#+ "Start mwm" Restart mwm
#+ "Start wmaker" Restart wmaker
+ "Start kde" Restart kde
#+ "Start kwm" Restart kwm
#+ "Start sawmill" Restart sawmill
#+ "Start xterm" Restart xterm
#+ "" Nop
#+ "No, Don't Quit" Nop
AddToMenu HelpMenu "Help" Title
+ "Gnome Help" Exec exec gnome-help
+ "KDE Help" Exec exec khelpcenter

######################## Sample Functions ##########################

AddToFunc MailFunction "I" Next [$0] Iconify -1
+ "I" Next [$0] Focus
+ "I" None [$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 100
+ "C" Maximize 0 80
+ "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 -fg $1 -bg $2 -e rlogin $0 -8
AddToFunc SSH "I" Exec rxvt -e ssh $0

# TELNET machine fg bg
AddToFunc TELNET "I" Exec xterm -fg $1 -bg $2 -e telnet $0

AddToFunc FocusAndWarp "I" FlipFocus
+ "I" WarpToWindow 50 50

AddToFunc DeiconifyFocusAndWarp "I" Iconify -1
+ "I" FocusAndWarp

AddToFunc ChangeDefaultFocus "I" Style "*" $0
+ "I" Recapture

AddToFunc MyTab "I" Next [!Iconic] FocusAndWarp

AddToFunc MyTab2 "I" Next [*] DeiconifyFocusAndWarp

AddToFunc MyIcon "I" Iconify
+ "I" Focus
+ "I" WarpToWindow 50 50

# 增加"桌面"背景,路徑請自行修改
#Exec exec xloadimage -onroot -fullscreen /home/public/picture/desktop/662.jpg
#beauty/sky.jpeg

發佈了8 篇原創文章 · 獲贊 0 · 訪問量 7萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章