fvwm+themes如何修改菜单?
fvwm 2.5.8+fvwm-themes-0.7.0-2想修改菜单项和字体
看了一下.fvwm2rc好象没有可以改的地方
望高人指点。。。 ~/.fvwm/.fvwmrc2
默认的菜单选项是(我修改过字体了,用了simsun,没有改变菜单项)
菜单外观:
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
菜单其它部分:
######################## 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" ModuleFvwmPager 0 0
+ "Pager (2 desks)" ModuleFvwmPager 0 1
+ "WinList" ModuleFvwmWinList
+ "" Nop
+ "Banner" Module FvwmBanner
+ "ScrollBar" ModuleFvwmScroll 50 50
+ "Background" ModuleFvwmBacker
+ "AutoRaise" ModuleFvwmAuto 200 Raise Nop
+ "Stop AutoRaise" KillModule FvwmAuto
+ "" Nop
+ "IconBox" Module FvwmIconBox
+ "IconMan" ModuleFvwmIconMan
+ "" 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
fvwm-themes的菜单不是在.fvwm2rc里改的。
直接改/usr/share/fvwm/themes/default(差不多是这样的目录)
fvwm-themes的菜单只有default里的。 能不能详细一点?
/usr/share/fvwm/themes/default/settings/menu-system下面有3个文件
enable
disable
replace
看了一下,好像没有菜单配置在里面? 正常情况下是在$HOME/.fvwm/.fvwmrc文件内修改的~~
页:
[1]