LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: gkp

我的FVWM配置和注释

[复制链接]
 楼主| 发表于 2005-7-8 17:20:07 | 显示全部楼层

(9)f.menu菜单的配置及注释:

############Menu#######################

#以“menuStyle"开头的是关于菜单一些定义。像颜色,字体等。具体可参看王哏的指南。
MenuStyle * Hilight3DOff, HilightBack #424164, ActiveFore white
Colorset 0 Transparent,fg white
MenuStyle * MenuColorset 0
MenuStyle * Foreground grey90  #前景色
MenuStyle * Background #1c5572  #背景色
MenuStyle * Font "-adobe-helvetica-bold-r-*-*-12-*,-*-simsun-medium-r-*-*-12-*-*-*-*-*-*-*"
#MenuStyle * MenuColorset 0, HilightBack, ActiveColorset 1
MenuStyle * BorderWidth 1, TitleUnderlines1, SeparatorsLong, TrianglesSolid
MenuStyle * ItemFormat "%.2|%.5i%.5l%.5i%2.3>%2|"
MenuStyle * AutomaticHotKeys
MenuStyle * MenuFace VGradient 128 1 #2c80A0 1 #1c5572
ColormapFocus FollowsFocus

#-------------------------------------------------------------------------------------------------------------------
#主菜单上显示的程序及子菜单。
DestroyMenu MenuFvwmRoot
AddToMenu MenuFvwmRoot
+  "Mlterm终端"                  Exec exec mlterm
+  "Konsole终端"            Exec exec konsole
+  "gkp家目录"                  Exec exec konqueror /home/gkp
+   ""                                      Nop
+   "OpenOffice办公套件"                 Exec exec openoffice
+   "Ark"                        Exec exec ark
+   "星际译王"                   Exec exec stardict
+   "网络工具"        Popup MenuInternet
+   "Editor工具"                     Popup MenuEditors
+   "多媒体程序"                  Popup MenuMultimedia
+   "系统工具"       Popup MenuUtilities
+   "&运行..."        Module FvwmForm FvwmForm-Run
#+   "references"                Popup MenuFvwmConfig
+   ""                                      Nop
+   "退出窗口管理器"         Popup MenuQuit-Verify

#--------------------------------------------------------------------------------------------------------
#各个子菜单,显示的程序。
DestroyMenu MenuInternet
AddToMenu MenuInternet
+   "Firefox-火狐" Exec exec firefox
+   "opera" Exec exec opera
+   "konqueror" Exec exec konqueror
+   "Gftp"    Exec exec gftp
+   "Dillo"     Exec exec dillo
+   "D4x" Exec exec d4x
+ "" nop
+   "Network Analyser"    Exec exec ethereal
+   "Nmap security Scanner" Exec exec nmapfe
+   "IRC Client"          Exec exec xchat
+   "Gaim"    Exec exec gaim
+   "LumaQQ" Exec exec lumaqq
DestroyMenu MenuEditors
AddToMenu MenuEditors
+   "Kwrite"       Exec exec kwrite
+   "Kate"         Exec exec kate
+   "Vim Editor"   Exec exec gvim -geom 115x46
+   "Leafpad"      Exec exec leafpad
+   "Gedit" Exec exec gedit
+   "Emacs CoffeeMachine"   Exec exec emacs
+   "Bluefish Html Editor"   Exec exec bluefish
+   "Amaya Html Editor"   Exec exec amaya

DestroyMenu MenuMultimedia
AddToMenu MenuMultimedia
+   "Kmix"  Exec exec kmix
+   "Kaffeine"  Exec exec kaffeine
+   "Totem"  Exec exec totem
+   "Xmms Media Player"     Exec exec xmms
+   "Amarok"    Exec exec amarok
+   "Xine" Exec exec xine
+   "DisPlay"               Exec exec display
+ "" nop
+   "TheGimp"   Exec exec gimp
+   "Blender"   Exex exec blender
+   "Gqview"    Exec exec gqview
+   "Gwenview"  Exec exec gwenview
+   "Ksnapshot"  Exec exec ksnapshot
+ "" nop
+   "Sodipodi" Exec exec sodipodi
+   "Audio CD Player"    Exec exec grip
+   "NeroLinux"   Exec exec nero
+   "K3b cd-burner" Exec exec k3b
+   "Alsa Audio Mixer"  Exec exec aterm -e alsamixer
+   "Video Recorder" Exec exec gvidcap
+   "Color controls" Exec exec gxvattr
+   "EE"   Exec exec ee

DestroyMenu MenuUtilities
AddToMenu MenuUtilities
+   "Adobe Reader"   Exec exec acroread
+   "XPDF"                Exec exec xpdf
+   "Rox File Manager"    Exec exec rox
+   "VMware Workstation"    Exec exec vmware
+   "Gtk2 Theme Changer" Exec exec gtk-chtheme
+   "GnuPg" Exec exec gpa
+  "Xfont Selector" Exec exec xfontsel
+   "&Screenshot"      Exec exec ~/.fvwm/snapshot.sh
+   "Window Information"        Exec exec xmessage "`xwininfo`"
+   "Magnifying Glass"   Exec exec xmag
+   "Show Desktop" All (AcceptsFocus CurrentPage !Iconic !Shaded) Thumbnail
+   "Xdaliclock"  Exec exec xdaliclock -24 -font or -fn -microsoft-Tahoma-medium-r-normal--24-0-0-0-p-0-iso8859-1 -geometry 100+100
DestroyMenu MenuGames
AddToMenu MenuGames
+   MissingSubmenuFunction FuncFvwmMenuDirectory
+   "Chess Database analyser"    Exec exec scid
+   "Eboard Chess Client" Exec exec eboard

DestroyMenu MenuQuit-Verify
AddToMenu MenuQuit-Verify
+   "Exit FVWM Now...    "   Quit
+   "Restart FVWM ..." Restart
+   "ower Off"  Exec exec /sbin/halt -p
+   "Reset"      Exec exec /sbin/reboot
+   "&Lock Screen"    Exec exec #xscreensaver-command -lock

DestroyMenu MenuFvwmConfig
AddToMenu MenuFvwmConfig
+   "FvwmConsole" Module FvwmConsole -terminal rxvt
+   "Colour Browser" Exec exec gcolor
+   "Edit fvwm2rc"   Exec exec gvim -geom 115x46 ~/.fvwm/.fvwm2rc
+   "R&efresh"   Refresh
+   "&Xkill"           Pick Destroy
+   "Configure Screensaver..."  Exec exec xscreensaver

DestroyMenu MenuFvwmWindowOps
AddToMenu MenuFvwmWindowOps
+   "Resize"            Pick Resize
+   "Shade"               Pick WindowShade Toggle
+   ""  Nop
+   "Stick"         Pick Stick
+   "Scroll"            Pick Module FvwmScroll
+   "Refresh"    Pick RefreshWindow
+   ""  Nop
+   "Identify"       Pick Module FvwmIdent
+   "Zoom"      Pick Exec exec xmag -source $[w.width]x$[w.height]+$[w.x]+$[w.y] -mag 2
+   ""  Nop
+   "Close"                                 Close
+   "Destroy"                               Destroy

DestroyFunc FuncFvwmFocusPolicyChange
AddToFunc FuncFvwmFocusPolicyChange
+ I Style * $0
+ I Recapture

DestroyFunc DestroyOnHold
AddToFunc DestroyOnHold I Raise
+ C Schedule 50 Close
+ H Destroy

AddToFunc StartFunction I FvwmEvent FvwmEvent-NewWindow

AddToFunc Move-or-Raise I Raise
+ M Move
+ D WindowShade Toggle

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




!!!!!!!我感觉在菜单上不使用图标比较酷,如想使用图标,可参看我的f.taskbar和f.buttonbar文件的设置。!!!!!!!!!
回复 支持 反对

使用道具 举报

发表于 2005-7-8 18:40:55 | 显示全部楼层
兄弟就是历害
回复 支持 反对

使用道具 举报

发表于 2005-7-8 21:43:55 | 显示全部楼层
不错
注释详细
回复 支持 反对

使用道具 举报

发表于 2005-7-8 22:25:20 | 显示全部楼层
感谢楼主
回复 支持 反对

使用道具 举报

发表于 2005-7-9 09:44:41 | 显示全部楼层
收藏了 :)
回复 支持 反对

使用道具 举报

发表于 2005-7-9 13:25:09 | 显示全部楼层
很好,收藏,谢谢!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-9 18:56:17 | 显示全部楼层
听说AMD-K6兄是FVWM高手,怎不见来仍几块砖头?
回复 支持 反对

使用道具 举报

发表于 2005-7-28 04:18:49 | 显示全部楼层
好帖,感谢楼主
回复 支持 反对

使用道具 举报

发表于 2008-7-14 16:06:54 | 显示全部楼层
收下了  谢谢LZ
回复 支持 反对

使用道具 举报

发表于 2009-2-27 14:33:38 | 显示全部楼层
怎么没看到附件下载啊?最近正学fvwm呢
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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