LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: euboy

==== FVWM ====

[复制链接]
发表于 2004-11-26 17:27:24 | 显示全部楼层
版主的连接没文件
发表于 2004-11-26 21:47:54 | 显示全部楼层
谢谢分享
发表于 2004-11-26 22:29:46 | 显示全部楼层
很PP啊,
发表于 2004-12-2 19:59:41 | 显示全部楼层
楼主可不可以把.fvwm2rc单独贴出来.让我等不是用mandrake的也可以学习下..^^
发表于 2004-12-3 16:39:02 | 显示全部楼层
可以把配置文件单独贴出来吗!好渴望啊!
发表于 2004-12-3 23:03:37 | 显示全部楼层

文件找不到

链接有问题
 楼主| 发表于 2004-12-12 00:29:57 | 显示全部楼层
重新更正了连接。
我目前没有linux机器,无法将配置文件单独贴出来。
不过大家可以下载rpm解压,就可以得到了。解压命令是:
rpm2cpio rpmfile | cpio -i
发表于 2004-12-12 01:27:14 | 显示全部楼层
谢谢,哈哈。
发表于 2004-12-13 08:08:54 | 显示全部楼层
太棒了,感谢
 楼主| 发表于 2004-12-20 05:54:55 | 显示全部楼层
# $Id: config,v 1.73 2004/05/23 18:12:32 stanley Exp $

##########################################################################
##########################################################################
##  AUTHOR: Stanley <euboy2000@163.com>
##  This work is licensed under the Creative Commons Attribution License.
##  To view a copy of this license, visit:
##   - http://creativecommons.org/licenses/by/1.0/
##  I got some ideas from fvwm-crstal and taviso's:
##   - http://dev.gentoo.org/~taviso/fvwm2rc.html
##   - http://www.linuxpl.org/software/fvwm-crystal/
##  Here is some of the features:
##   - No xpm, png files except in the menu file and Wallpaper
##   - Almost every feature new in fvwm 2.5.x is used
##   - Customized for Mandrake usage
##
##  You don't have to edit this file directly
##  Do it in the file ~/.fvwm/local.fvwm2rc
##
##  Please write to ``euboy2000@163.com'' if you have any question.
##########################################################################
##########################################################################

# |-----------------------------|
# | Section 1: General Settings |
# |-----------------------------|

# All environmental variables set by fvwm is prefixed with 'FVWM_'
Read $[FVWM_USERDIR]/local.fvwm2rc Quiet
SetEnv FVWM_DEFAULT_FONT1 "StringEncoding=gbk-0:xft:simsun:bold:encoding=iso10646-1"
SetEnv FVWM_DEFAULT_FONT2 "StringEncoding=gbk-0:xft:simsun:medium:encoding=iso10646-1"
SetEnv FVWM_DEFAULT_FONT3 "StringEncoding=gbk-0:xft:simsun:italic:encoding=iso10646-1"

ImagePath /usr/share/icons/mini:+
# http://www.fvwm.org/documentation/faq/#5.5
IgnoreModifiers L25
EdgeResistance 250 10
EdgeScroll 0 0
ClickTime 750
DeskTopSize 4x1
ColormapFocus FollowsMouse
# You can use EwmhBaseStruts to stop Maximised windows from obscuring
# TaskBars/ButtonBars or anything else you always want to be visible.
# you can set the EWMHPlacementIgnoreWorkingArea or
# EWMHMaximizeIgnoreWorkingArea Style options.
# Syntax: EwmhBaseStruts left right top bottom
EwmhBaseStruts 0 0 0 26
OpaqueMoveSize -1
SnapAttraction 3 SameType

# Initialization Functions
AddToFunc StartFunction
+ I PipeRead `f=$[FVWM_USERDIR]/local.fvwm2rc; [ -f $f ] ||{ for i in rxvt mlterm Eterm aterm xterm; do T=\`which $i 2>/dev/null\`; if [[ -x $T ]]; then echo SetEnv FVWM_TERMINAL $i > $f; break; fi; done; echo SetEnv FVWM_WALLPAPER \\"/usr/share/mdk/backgrounds/default.png\\" >>$f; echo Restart; }`
+ I Module FvwmButtons FvwmButtonsTB

AddToFunc InitFunction
+ I Test (f $[FVWM_WALLPAPER]) Exec exec fvwm-root --dither -r $[FVWM_WALLPAPER]
+ I TestRc (NoMatch) Module FvwmBacker

AddToFunc ExitFunction
+ I Exec sync

# For some SM-s (like gnome-session) there is an internal background setter.
AddToFunc SessionInitFunction
+ I Nop

#------------------------ End of Section 1 ------------------------


# |------------------------------|
# | Section 2: Window Decoration |
# |------------------------------|

Colorset 0 Foreground white, Background black, Hilight gray, Shadow gray, RootTransparent, Tint rgb:41/09/55 50
Colorset 1 Foreground white, Background black, Hilight gray, Shadow gray, RootTransparent, Tint rgb:00/30/30 50

TitleStyle LeftJustified Height 22
TitleStyle InActive ( Colorset 0 -- Flat ) Active ( Colorset 1 -- Flat )
ButtonStyle All InActive ( Colorset 0 -- Flat )
ButtonStyle All Active ( Colorset 1 -- Flat )
AddButtonStyle  1 Active Vector 4 49x49@2 49x51@2 51x51@2 51x49@2 -- Flat
AddButtonStyle  1 Inactive Vector 4 49x49@3 49x51@3 51x51@3 51x49@3 -- Flat
AddButtonStyle  1 AllUp Vector 2 50x55@1 50x55@1 -- Flat
AddButtonStyle  2 Active Vector 4 40x40@2 60x60@2 60x40@4 40x60@2 -- Flat
AddButtonStyle  2 Inactive Vector 4 40x40@3 60x60@3 60x40@4 40x60@3 -- Flat
AddButtonStyle  2 AllUp Vector 4 40x45@1 60x65@1 60x45@4 40x65@1 -- Flat
AddButtonStyle  4 Active Vector 7 40x40@2 40x60@2 60x60@2 60x40@2 40x40@2 40x45@2 60x45@2 -- Flat
AddButtonStyle  4 Inactive Vector 7 40x40@3 40x60@3 60x60@3 60x40@3 40x40@3 40x45@3 60x45@3 -- Flat
AddButtonStyle  4 AllUp Vector 4 40x65@1 60x65@1 45x50@4 55x50@1 -- Flat
AddButtonStyle  6 Active Vector 5 40x60@2 60x60@2 60x55@2 40x55@2 40x60@2 -- Flat
AddButtonStyle  6 Inactive Vector 5 40x60@3 60x60@3 60x55@3 40x55@3 40x60@3 -- Flat
AddButtonStyle  6 AllUp Vector 2 40x65@1 60x65@1 -- Flat
AddButtonStyle  8 Active Vector 9 40x40@2 45x35@2 55x35@2 60x40@2 60x45@2 50x50@2 50x55@2 50x65@4 50x65@2 -- Flat
AddButtonStyle  8 InActive Vector 9 40x40@3 45x35@3 55x35@3 60x40@3 60x45@3 50x50@3 50x55@3 50x65@4 50x65@3 -- Flat
AddButtonStyle  8 AllUp Vector 7 40x45@1 45x40@1 55x40@1 60x50@4 50x60@1 50x75@4 50x75@1 -- Flat
ButtonStyle 1 - MwmDecorMenu
ButtonStyle 6 - MwmDecorMin
ButtonStyle 4 - MwmDecorMax
BorderStyle -- HiddenHandles !NoInset Raised

#------------------------ End of Section 2 ------------------------


# |-------------------|
# | Section 3: Styles |
# |-------------------|

############################################################
# Note that icons are shown in the module
#    only if NoIcon commnand is applied.
Colorset 2 Foreground gray, Background gray
Colorset 3 Foreground white, Background white
Style * NoIcon, FPGrabFocus
Style * Colorset 2
Style * HilightColorset 3
Style * Font $[FVWM_DEFAULT_FONT1]
Style * IconFont $[FVWM_DEFAULT_FONT2]
Style * BorderWidth 1, HandleWidth 1
Style * MiniIcon mandrake.png
Style * MWMFunctions, MWMDecor, HintOverride
Style * DecorateTransient, NoPPosition
# Click in a window, it will be raised (MouseFocusClickRaises)
Style * SloppyFocus, MouseFocusClickRaises
Style * MinOverlapPercentPlacement, WindowShadeSteps 20, ResizeOpaque

# Use an arrow rather than the `X` cursor on the root window.
CursorStyle root top_left_arrow
CursorStyle menu right_ptr

# Styles for various Fvwm modules:
Style "Fvwm*"       NoTitle,  Sticky, WindowListSkip
Style "Fvwm*"       BorderWidth 2, CirculateSkipIcon, CirculateSkip
Style "FvwmPager"   StaysOnTop
Style "FvwmBanner"  StaysOnTop
Style "FvwmButtons*" NeverFocus

# Apps MiniIcon
Style "GQview*"        MiniIcon gqview.png
Style "qterm*"        MiniIcon qterm.png
Style "Gimp*"        MiniIcon wilbur.png
Style "Emacs*"        MiniIcon emacs.png
Style "xmms*"        MiniIcon xmms.png
Style "Terminal*"        MiniIcon terminals_section.png
Style "rxvt*"        MiniIcon rxvt-CJK.png

#------------------------ End of Section 3 ------------------------


# |-------------------------------|
# | Section 4: Key&Mouse Bindings |
# |-------------------------------|

Key Next    A    SCM    Next (AcceptsFocus) Focus
Key Prior   A    SCM    Prev (AcceptsFocus) Focus
Key Up      A    CM     CursorMove 0 -10
Key Down    A    CM     CursorMove 0 10
Key Left    A    CM     CursorMove -10 0
Key Right   A    CM     CursorMove 10 0
Key Up      A    SCM    CursorMove 0 -10p
Key Down    A    SCM    CursorMove 0 10p
Key Left    A    SCM    CursorMove -10p 0
Key Right   A    SCM    CursorMove 10p 0
# CurrentAtEnd makes Alt-Tab work like in other wms
Key Tab     A    M    WindowList NoGeometry Noicons CurrentAtEnd NoCurrentDeskTitle MaxLabelWidth 60
Key Escape  A    M    SendToModule FvwmProxy ShowToggle
Key F1      A    M    Exec exec $[FVWM_TERMINAL]
Key F2      A    M    Popup RootMenu
Key F3      A    M    funcShrink1_5
Key F4      A    M    Close
Key F5      A    M    Popup Window-Ops
Key F7      A    M    Move
Key F8      A    M    Resize
Key F9      A    M    Iconify
Key F10     A    M    Maximize 100 100
Key F11     A    M    RaiseLower
Key F12     A    M    Stick
# some simple default mouse bindings:
# syntax: Menu menu-name [position] [double-click-action]

# remove the default binding
Mouse 1     R    A    -
Mouse 1     W    C    StrokeFunc DrawMotion FeedBack StrokeWidth 2
Mouse 1     R    N    StrokeFunc DrawMotion FeedBack StrokeWidth 2
Mouse 2     R    N    All (FvwmButtonsTB) Iconify
Mouse 3     R    N    Menu RootMenu Nop
# for the title bar buttons:
Mouse 0     1    A    funcWindow-Ops
Mouse 0     2    A    Close-Func
Mouse 0     4    A    Maximize
Mouse 0     6    A    Iconify
Mouse 0     8    A    Module FvwmIdent
# for other parts of the window/borders/icons:
Mouse 1     F    A    Resize-or-Raise
Mouse 1     TS   A    Move-or-Maximize
Mouse 1     I    A    Move-or-Iconify
Mouse 2     I    A    Iconify
Mouse 2     FST  A    WindowShade
Mouse 3     TSIF A    Raise-or-Move
# Stroke Sequence
Stroke N456    0    A    A    GotoPage +1p +0p
Stroke N654    0    A    A    GotoPage -1p +0p
Stroke N74123  0    R    A    Module FvwmForm QuitVerify
# Sample Functions:
AddToFunc Move-or-Maximize
+ I Raise
+ M Move
+ D Maximize

AddToFunc Raise-or-Move
+ C RaiseLower
+ M Move

# Destroy On Hold
AddToFunc Close-Func
+ M Nop
+ C Close
+ H Destroy

AddToFunc Move-or-Iconify
+ I Raise
+ M Move
+ D Iconify

AddToFunc Resize-or-Raise
+ I Raise
+ M Resize
+ D Lower
# Fvwm uses this function when selecting windows from the WindwList command
# you can make this function do any thing you like, it is executed in the
# context of the selected window.
DestroyFunc WindowListFunc
AddToFunc WindowListFunc
+ I Raise
+ I FlipFocus

# Create a MenuStyle matching the TitleStyle
DestroyFunc funcWindow-Ops
AddToFunc funcWindow-Ops
+ I AddToMenu Window-Ops DynamicPopDownAction ChangeMenuStyle * Window-Ops
+ I CopyMenuStyle * ops_style
+ I MenuStyle ops_style MenuColorset 1, HilightBack white, ActiveFore black
+ I MenuStyle ops_style VerticalItemSpacing 2 2
+ I MenuStyle ops_style Hilight3DThickness 1, Font $[FVWM_DEFAULT_FONT1]
+ I ChangeMenuStyle ops_style Window-Ops
+ I Menu Window-Ops

# Shrink window to 4/5 of its original size
DestroyFunc funcShrink1_5
AddToFunc funcShrink1_5
+ I PipeRead 'echo Resize $(( $[cw.width]*4/5 ))p $(( $[cw.height]*4/5 ))p'
+ I PipeRead 'echo WarpToWindow 50 50'
+ I PipeRead 'echo AnimatedMove w$(( $[cw.width]/10 ))p w$(( $[cw.height]/10 ))p Warp'

#------------------------ End of Section 4 ------------------------


# |------------------|
# | Section 5: Menus |
# |------------------|

Colorset 4 fg rgb:ff/ff/ff, bg rgb:00/00/00, hi rgb:ad/d8/e6, sh rgb:ad/d8/e6,Translucent rgb:00/30/30 50, IconAlpha 60
Colorset 5 fg #000000, fgsh #b5b7b8, bg #ffffff, hi #ffffff, sh #9a9a9a
MenuStyle * Mwm
MenuStyle * MenuColorset 4 ,HilightBack, ActiveColorset 5
MenuStyle * ActiveColorset 5
MenuStyle * BorderWidth 1, TitleUnderlines1, SeparatorsShort, TrianglesSolid
MenuStyle * Hilight3DThickness 1
MenuStyle * VerticalItemSpacing 3 6
MenuStyle * PopupOffset 0 100, PopupDelay 500
MenuStyle * Font $[FVWM_DEFAULT_FONT1]

DestroyMenu RootMenu
AddToMenu RootMenu
+ "Terminal%terminals_section.png%" Exec exec $[FVWM_TERMINAL]
+ "" Nop
Read $./menu
AddToMenu RootMenu
+ "" Nop
+ "FvwmConsole" FvwmConsole -terminal $[FVWM_TERMINAL] -geometry 72x15 -fg red
+ "Fvwm Modules" Popup ModulePopup
+ "reference" Popup MenuFvwmConfig
+ "Windows Controls" Popup Window-Ops
+ "" Nop
+ "Restart" Restart
+ "Quit" Module FvwmForm QuitVerify

DestroyMenu MenuFvwmConfig
AddToMenu MenuFvwmConfig
+ "Configure FvwmForm" Module FvwmForm FvwmForm-Form
+ "Configure Cursor" Module FvwmForm FvwmForm-RootCursor
+ "Screensaver Settings" Exec exec xscreensaver-demo
+ "Mouse Settings" Module FvwmScript FvwmScript-PointerSetup
+ "Keyboard Settings" Module FvwmScript FvwmScript-KeyboardSetup
+ "Configure Bell" Module FvwmScript FvwmScript-BellSetup
+ "General Settings" Module FvwmScript FvwmScript-BaseConfig

DestroyMenu ModulePopup
AddToMenu ModulePopup
+ DynamicPopDownAction DestroyMenu ModuleList
+ MissingSubmenuFunction funcModuleList
+ "KillModule"           Popup   ModuleList
+ "Identify"      Module  FvwmIdent
+ "Talk"          Module  FvwmTalk
+ ""              Nop
+ "Buttons TaskBar"    Module  FvwmButtons FvwmButtonsTB
+ "ager"         Module  FvwmPager -transient 0 0
+ "ager (2 desks)" Module  FvwmPager -transient 0 1
+ "WinList"       Module  FvwmWinList
+ "roxy"           Module  FvwmProxy
+ ""              Nop
+ "Banner"        Module  FvwmBanner
+ "ScrollBar"     Module  FvwmScroll 50p 50p
+ "Background"    Module  FvwmBacker
+ "AutoRaise"     Module  FvwmAuto 300 Raise Nop
+ ""              Nop
+ "IconBox"       Module  FvwmIconBox
+ "IconMan"       Module  FvwmIconMan IconMan
+ "GtkDebug"      Module  FvwmGtkDebug

# Try out the command in the command line:
# % exec COMMAND
# If the output was right, then translate to PipeRead.
DestroyFunc funcModuleList
AddToFunc funcModuleList
+ I PipeRead `ps x|grep /Fvwm|grep -v 'grep\\|sed'|sed -e 's!.*/\\(Fvwm[a-zA-Z]\\+\\).*!AddToMenu ModuleList \\1 KillModule \\1!'|sort -u`

DestroyMenu Window-Ops
AddToMenu Window-Ops
+ "(Alt-F4)Close" Close
+ "(Alt-F7)Move" Move
+ "(Alt-F8)Resize" Resize
+ "(Alt-F9)Iconify" Iconify
+ "(Alt-F10)Maximize" Maximize
+ "(Alt-F11)RaiseLower" RaiseLower
+ "(Alt-F12)Stick" Stick
+ "" Nop
+ "StaysOnTop" funcToggleStaysOnTop
+ "&GotoPage..." Module FvwmPager -transient 0 0
+ "" Nop
+ "Delete" Delete
+ "Destroy" Destroy
+ "" Nop
+ "Refresh Window" RefreshWindow

DestroyFunc funcToggleStaysOnTop
AddToFunc funcToggleStaysOnTop
+ I ThisWindow (Layer 6) Layer 0 4
+ I KeepRc ThisWindow Raise
+ I TestRc (NoMatch) Layer 0 6

#------------------------ End of Section 5 ------------------------


# |-----------------------------|
# | Section 6: Modules Settings |
# |-----------------------------|

# Module Colorsets
Colorset 6  fg white, bg black, hi rgb:ad/d8/e6, sh rgb:ad/d8/e6, RootTransparent, Tint rgb:00/30/30 50
Colorset 7 fg white, Transparent, fgTint rgb:66/80/b3 50
Colorset 8 fg rgb:ba/f2/f7, bg gray, Transparent
Colorset 9 Transparent
Colorset 10 Transparent, Tint rgb:ad/d8/e6 50
Colorset 11 Transparent, Tint rgb:dd/d1/b9 50

# FvwmButtons: FvwmButtonsTB -- TaskBar using FvwmButtons
*FvwmButtonsTB: Font "Shadow=1 1 SE:xft:Bitstream Vera Sans Mono:style=Roman:Bold:size=8"
*FvwmButtonsTB: Colorset 6
PipeRead 'echo *FvwmButtonsTB: Geometry $[vp.width]x26-0-0'
*FvwmButtonsTB: (Frame 0, Padding 1 0, Container(Rows 1 Columns 32))
*FvwmButtonsTB: (2x1, Frame 1, Padding 2 0, Title(side) "Start", Left, Icon \
mandrake.png, Action(Mouse 1) 'Menu RootMenu Rectangle +$left+$top 0 -100m')
*FvwmButtonsTB: (18x1, Frame 1, Padding 2 0, Swallow(NoClose, UseOld) "IconMan" "Module FvwmIconMan IconMan")
*FvwmButtonsTB: (5x1, Frame 0, Swallow "IconMan-Icon" "Module FvwmIconMan IconMan-Icon")
*FvwmButtonsTB: (4x1, Frame 1, Swallow "FvwmPager" "Module FvwmPager 0 0")
*FvwmButtonsTB: (3x1, Frame 1, Swallow(UseOld) "xdaliclock" "Exec exec \
xdaliclock -transparent -24 -fg white -font 7x13bold -geometry -10000-10000")
*FvwmButtonsTB: (End)

# FvwmIconMan:
# this FvwmIconMan setup is for swallowing in above TaskBar

DestroyModuleConfig IconMan*
*IconMan: DrawIcons Always
*IconMan: Colorset 6
*IconMan: FocusAndSelectColorset 7
*IconMan: FocusColorset 8
*IconMan: Resolution  Global
*IconMan: font        $[FVWM_DEFAULT_FONT3]
*IconMan: format      "%t"
*IconMan: followfocus true
*IconMan: plainbutton          flat
*IconMan: selectbutton         flat
*IconMan: focusbutton          flat
*IconMan: focusandselectButton flat
*IconMan: buttongeometry  24x24
*IconMan: managergeometry 18x1-1-27
*IconMan: DontShow Class=Fvwm*
*IconMan: ShowOnlyIcons Never
*IconMan: Title ""
*IconMan: Sort id
*IconMan: action      Mouse   1 N sendcommand "Function GoThere"
*IconMan: action      Mouse   2 N sendcommand "Iconify Toggle"
*IconMan: action      Mouse   3 N sendcommand "Function ComeHere"

*IconMan-Icon: DrawIcons Always
*IconMan-Icon: Colorset 9
*IconMan-Icon: Resolution  Global
*IconMan-Icon: font        $[FVWM_DEFAULT_FONT3]
*IconMan-Icon: format      ""
*IconMan-Icon: Title           ""
*IconMan-Icon: followfocus true
*IconMan-Icon: plainbutton          flat
*IconMan-Icon: selectbutton         flat
*IconMan-Icon: focusbutton          flat
*IconMan-Icon: focusandselectButton flat
PipeRead 'echo *IconMan-Icon: buttongeometry $(($[vp.width]*5/(32*8)-1))x$(($[vp.width]*5/(32*8)-1))'
*IconMan-Icon: managergeometry 8x0
*IconMan-Icon: ShowOnlyIcons True
*IconMan-Icon: Sort id
*IconMan-Icon: action      Mouse   1 N sendcommand "Function GoThere"
*IconMan-Icon: action      Mouse   2 N sendcommand "Iconify Toggle"
*IconMan-Icon: action      Mouse   3 N sendcommand "Function ComeHere"

DestroyFunc ComeHere
AddToFunc ComeHere
+ I Iconify False
+ I MoveToDesk 0 $[desk.n]
+ I MoveToPage $[page.nx] $[page.ny]
+ I WarpToWindow 50 50

DestroyFunc GoThere
AddToFunc GoThere
+ I Iconify False
+ I WarpToWindow 50 50

# FvwmIdent:
*FvwmIdent: Colorset 0

# FvwmPager: Swallowed by TaskBar
*FvwmPager: Colorset * 6
PipeRead `echo *FvwmPager: Geometry -$[pointer.x]-$[pointer.y]`
*FvwmPager: HilightColorset * 10
*FvwmPager: WindowColorsets 0 11
*FvwmPager: BalloonColorset * 0
# turn off desktop names for swallowing in above TaskBar example:
*FvwmPager: Font none
*FvwmPager: SmallFont none
*FvwmPager: Balloons            All
*FvwmPager: BalloonFont         "xft:Bitstream Vera Sans:style=Roman:size=9"
*FvwmPager: BalloonYOffset      +2
*FvwmPager: BalloonBorderWidth  1
*FvwmPager: UseSkipList
*FvwmPager: SolidSeparators
*FvwmPager: WindowBorderWidth 1

# FvwmWinList:
*FvwmWinList: Colorset 0
*FvwmWinList: FocusColorset 1
*FvwmWinList: IconColorset 4
*FvwmWinList: ButtonFrameWidth 0
*FvwmWinList: MaxWidth 256
PipeRead `echo *FvwmWinList: MaxWidth $(($[vp.width]/2))`
*FvwmWinList: Action Click1 Iconify -1,Focus
*FvwmWinList: Action Click2 Iconify
*FvwmWinList: Action Click3 Module "FvwmIdent" FvwmIdent
*FvwmWinList: UseSkipList
*FvwmWinList: Geometry -0+1


# FvwmBacker:
*FvwmBacker: Desk * -solid rgb:35/4b/42
*FvwmBacker: RetainPixmap

# FvwmScroll:
*FvwmScroll: Back grey60

# FvwmIconBox:
*FvwmIconBox: Colorset 0
*FvwmIconBox: IconColorset 4
*FvwmIconBox: IconHiColorset 5
*FvwmIconBox: Geometry    5x1+0+0
*FvwmIconBox: MaxIconSize 64x38
*FvwmIconBox: Font  "xft:Bitstream Vera Sans:style=Roman:size=10"
*FvwmIconBox: SortIcons   IconName
*FvwmIconBox: Padding     2
*FvwmIconBox: Lines       10
*FvwmIconBox: SBWidth     11
*FvwmIconBox: Placement   Left Top
*FvwmIconBox: HideSC 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:
# FvwmForm alias - query exit ala mwm
*QuitVerify: GrabServer
*QuitVerify: WarpPointer
*QuitVerify: Font          "xft:Bitstream Vera Sans:style=Roman:size=13"
*QuitVerify: ButtonFont    "xft:Bitstream Vera Sans:style=Bold:size=12"
*QuitVerify: Colorset 0
*QuitVerify: ItemColorset 1
# begin items
*QuitVerify: Line          center
PipeRead `echo *QuitVerify: Text \\"\`cut -d \' \' -f \'1 2 3\' /etc/mandrake-release\`\\"`
*QuitVerify: Line          center
*QuitVerify: Text          "Do you really want to exit FVWM?"
*QuitVerify: Line          expand
*QuitVerify: Button   quit      " Exit " ^M
*QuitVerify: Command  Quit
*QuitVerify: Button   quit      "Cancel" ^[
*QuitVerify: Command  Nop

# FvwmProxy:
DestroyModuleConfig FvwmProxy: *
*FvwmProxy: ProxyMove true

#------------------------ End of Section 6 ------------------------
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表