|
发表于 2004-5-25 20:24:08
|
显示全部楼层
~/.fvwm/.fvwmrc2
默认的菜单选项是(我修改过字体了,用了simsun,没有改变菜单项)
菜单外观:
[code:1]
DeskTopSize 2x2
MenuStyle * Hilight3DThin,popup -2 100
MenuStyle * BorderWidth 2,TitleUnderlines1,SeparatorsLong,TrianglesSolid,Animation
Menustyle * Font -misc-simsun-bold-r-*-*-16-*-*-*-*-*-gbk-0,*-r-*
MenuStyle * MenuColorset 0,HilightBack,ActiveColorset 1
[/code:1]
菜单其它部分:
[code:1]
######################## Menus ###################
AddToMenu RootMenu "Root Menu" Title
+ "XTerm" Exec exec xterm
+ "Gnome-terminal" Exec exec gnome-terminal
+ "" Nop
+ "Remote Logins" Popup Remote-Logins
+ "" Nop
+ "Utilities" Popup Utilities
+ "" Nop
+ "Fvwm Modules" Popup Module-Popup
+ "Fvwm Window Ops" Popup Window-Ops
+ "Fvwm Simple Config Ops" Popup Misc-Ops
+ "" Nop
+ "Refresh Screen" Refresh
+ "Recapture Screen" Recapture
+ "" Nop
+ "Exit Fvwm" Popup Quit-Verify
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
+ "Editres" Exec exec editres
+ "" Nop
+ "XEmacs" Exec exec xemacs
+ "Mail" MailFunction xmh "-font fixed"
+ "" Nop
+ "XLock" Exec exec xlock -mode random
+ "" 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
+ "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 "Window Ops" Title
+ "Move" Move
+ "Resize" Resize
+ "Raise" Raise
+ "Lower" Lower
+ "(De)Iconify" Iconify
+ "(Un)Stick" Stick
+ "(Un)Maximize" Maximize
+ "" Nop
+ "Delete" Delete
+ "Close" Close
+ "Destroy" Destroy
+ "" Nop
+ "Refresh Window" RefreshWindow
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 rsh dopey rxvt -display $HOSTDISPLAY &
+ "snoopy" Exec rsh snoopy rxvt -display $HOSTDISPLAY &
+ "grumpy" Exec rsh grumpy rxvt -display $HOSTDISPLAY &
+ "happy" Exec rsh happy rxvt -display $HOSTDISPLAY &
+ "bailey" Exec rsh bailey rxvt -display $HOSTDISPLAY &
+ "barnum" Exec rsh barnum rxvt -display $HOSTDISPLAY &
+ "joker" Exec rsh joker rxvt -display $HOSTDISPLAY &
+ "signal" Exec rxterm signal
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 Fvwm" Restart
+ "Restart Fvwm 1.x" Restart fvwm -s
+ "" Nop
+ "Start twm" Restart twm
+ "Start ctwm" Restart ctwm
+ "Start tvtwm" Restart tvtwm
+ "Start vtwm" Restart vtwm
+ "Start mwm" Restart mwm
+ "Start olwm" Restart /usr/openwin/bin/olwm
+ "" Nop
+ "Start dummy" Restart xterm
+ "" Nop
+ "No, Don't Quit" Nop
[/code:1] |
|