|
|

楼主 |
发表于 2004-9-2 21:18:29
|
显示全部楼层
##########################################################################
imagePath $HOME/.fvwm/icons
#imagePath /usr/share/icons/wm-icons
##########################################################################
#EdgeScroll 0 0
EdgeScroll 100 100
DesktopSize 2x2
##########################################################################
#title
# Configure the title Style
TitleStyle Height 18
TitleStyle LeftJustified
ButtonStyle all -- UseTitleStyle
ButtonStyle 2 17 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0 60x50@0 80x70@1 80x80@0 70x80@0 50x60@0 30x80@0 20x80@0 20x70@0 40x50@1 20x30@0 20x20@1
ButtonStyle 4 4 50x25@1 75x75@0 25x75@0 50x25@1
ButtonStyle 6 4 50x65@1 35x35@1 65x35@1 50x65@0
ButtonStyle 1 - Clear MWMDecorMenu
##########################################################################
#Configure The Mouse String
Mouse 0 1 A Menu Window-Ops2 Close
Mouse 0 3 A Stick
Mouse 0 6 A Iconify
Mouse 0 4 A Maximize
Mouse 0 2 A Close
#Load The Keyboard & Mouse Configure
Mouse 0 1 A Menu Window-Ops2 Close
#Mouse 0 3 A Stick
#Mouse 0 6 A WindowShade
Mouse 0 6 A Iconify
Mouse 0 4 A Maximize
Mouse 0 2 A Close
Mouse 1 R A Menu RootMenu Nop
Mouse 2 R A Menu Window-Ops2 Nop
Mouse 3 R A WindowList
Mouse 1 I A FuncFvwmMoveOrIconify
#Configurt The Keyboard String Under The Window
Key F4 WTSFI M Close
Key F4 WTSFI M2 Close
Key F3 WTSFI M Maximize
Key F3 WTSFI M2 Mazimize
Key F2 WTSFI M Iconify
Key F2 WTSFI M2 Iconify
#Configure The Keyboard String
Key F1 A M Exec exec rxvt +sr -T RXVT\ Terminal -scrollstyle next -bg Black -fg White
#Key F1 A M Exec exec rxvt +sr -T RXVT\ Terminal -scrollColor black -scrollstyle next -pixmap ~/.fvwm/Backgroud/backgroundA0.xpm
Key F2 R M Exec exec FvwmConsole
Key F3 R M Exec exec
Key F4 R M Exec exec
Key F5 R M Exec exec
Key F6 R M Exec exec
Key F7 R M Exec exec
Key F8 R M Exec exec
Key F8 R M Exec exec rxvt +sb -bg black -fg white -T PPP... -e wvdial 96163
Key F9 R M Exec exec
Key F10 R M FvwmConsole
#Key F11 R M Restart fvwm
Key F12 R M Quit
#Key F12 A A Exec exec rxvt +sb -bg black -fg white -T FvwmConfigure -e vi $HOME/.fvwm/.fvwm2rc
Key R R M Exec exec rxvt -bg black -fg white +sr -T RXVT\ Terminal -scrollColor black -scrollstyle next -pixmap ~/.fvwm/Backgroud/ckgroundA0.xpm
#Key A R C Exec exec
Key A R M Exec exec gaim
Key E R M Exec exec emacs
Key F R M Exec exec gftp
Key G R M Exec exec gimp
Key I R M Exec exec gvim
Key M R M Exec exec MozillaFirebird
Key P R M Exec exec xpdf
Key Q R M Exec exec gqview
Key U R M Exec exec rxvt +sb -bg black -fg white -T Mutt\ Mail -e mutt
Key V R M Exec exec gv
Key X R M Exec exec xmms
##########################################################################
#Load The Fvwm Style
# Configure the mouse curse
CursorStyle ROOT left_ptr
CursorStyle TITLE left_ptr
CursorStyle DEFAULT left_ptr
CursorStyle SYS left_ptr
CursorStyle MENU left_ptr
# Configure All Style
#Style "*" Font "-misc-quillscript-medium-r-normal-*-12-*-*-*-*-*-*-*, -kaiyuan-TangTi-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0,*-r-*"
Style "*" Font "-adobe-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*,-kaiyuan-tangti-medium-r-normal-*-12-*-*-*-*-*-*-*"
Style "*" IconFont "-adobe-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*,-kaiyuan-tangti-medium-r-normal-*-12-*-*-*-*-*-*-*"
#Style "*" IconFont "-misc-quillscript-medium-r-normal-*-12-*-*-*-*-*-*-*, -kaiyuan-TangTi-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0,*-r-*"
Style "*" HandleWidth 2
Style "*" HilightBack #4b6888
Style "*" HilightFore #ffffff
Style "*" Color #ffffff/grey50
Style "*" MWMFunctions, MWMDecor, HintOverride
Style "*" MWMBorder
Style "*" DecorateTransient, NoPPosition
Style "*" IconBox +74+45
# 设置菜单样式
MenuStyle * Font "-adobe-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*,-kaiyuan-tangti-medium-r-normal-*-12-*-*-*-*-*-*-*"
MenuStyle * PopupOffset 1 90
MenuStyle * ActiveFore #ffffff
MenuStyle * Foreground #ffffff
MenuStyle * Background #4b6888
#Add form another fvwm Configure
#MenuStyle * Foreground #FFFFF3F3D9D9, Background #a28b6d
#MenuStyle * MenuFace Dgradient 50 #4b6888 #7992c1
#设置背景图片
#MenuStyle * MenuFace TiledPixmap /root/.fvwm/gppic.xpm
#虚拟桌面切换栏的样式
*FvwmPagerBack #4b6888
*FvwmPagerFore grey90
*FvwmPagerFont none
*FvwmPagerGeometry 70x70+10+520
*FvwmPagerHilight grey90
*FvwmPagerBalloons All
#*FvwmPagerLabel 0 Misc
#*FvwmPagerLabel 1 Maker
#*FvwmPagerLabel 2 Mail
#*FvwmPagerLabel 3 Matlab
*FvwmPagerBalloonBack #8090a0
*FvwmPagerBalloonFore white
*FvwmPagerBalloonFont "-adobe-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*,-kaiyuan-tangti-medium-r-normal-*-12-*-*-*-*-*-*-*"
#*FvwmPagerBalloonFont "-misc-quillscript-medium-r-normal-*-12-*-*-*-*-*-*-*, -kaiyuan-TangTi-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0,*-r-*"
#*FvwmPagerBalloonYOffset +2
#*FvwmPagerBalloonBorderWidth 1
Style "FvwmButtons" ClickToFocus,StaysOnBottom
Style "Fvwm*" Sticky,WindowListSkip,CirculateSkip,NoHandles,NoTitle,StayOnBottom
Style "*" Icon 48x48/apps/xmms.png
Style "AppsPanel" NoTitle, NoHandles, BorderWidth 0
Style "The GIMP" Icon 48x48/apps/gimp.png,TitleAtLeft, NoHandles
#Style "BarButtons" NoTitle, NoHandles, Sticky, WindowListSkip
#Style "RXVT*" Icon 48x48-gnome/terminal.xpm
#Style "Rxvt*" Icon 48x48-gnome/terminal.xpm
#Style "emacs*" Icon 48x48-gnome/gnu.xpm
Style "XMMS*" Icon 48x48/apps/xmms.png
#Style "GQview*" Icon 48x48-gnome/science.xpm
#Style "Mozilla*" Icon 48x48-gnome/www.xpm
#Style "Xpdf*" Icon 48x48-gnome/ghostview.xpm
##########################################################################
#Load The Fvwm Meun
#AddToMenu workmenu@my_sidepic.xpm@^black^ "Main menu" Title
AddToMenu RootMenu "Fvwm Rootmenu%16x16/apps/tux.png" Title
+ "Rxvt Term%16x16/apps/terminal.png" Exec exec rxvt +sr -T RXVT\ Terminal -scrollstyle next -bg black -fg White -fm -kaiyuan-tangti-medium-r-normal-*-12-*-*-*-c-*-gb18030-0
+ "The Gimp%16x16/apps/gimp.png" Exec exec gimp
+ "Xmms Player%16x16/apps/xmms.png" Exec exec xmms
+ "Firefox Brower%16x16/apps/browser.png" Exec exec firefox
+ "Xchat Chat%16x16/apps/package_system.png" Exec exec xchat
+ "Gaim Chat%16x16/apps/mouse.png" Exec exec gaim
+ "Gvim Editor%16x16/apps/kedit.png" Exec exec gvim
+ "Gtksee Viewer%16x16/apps/xeyes.png" Exec exec gtksee
+ "XPDF Viewer%16x16/mimetypes/pdf.png" Exec exec xpdf
+ "Xing Player%16x16/apps/juk.png" Exec exec xine
+ "" Nop
+ "System Menu%16x16/actions/reload.png" Menu System Nop
AddToMenu System
+ "Restart Fvwm%16x16/actions/reload.png" Restart fvwm
+ "Exit The Fvwm %16x16/actions/stop.png" Quit
+ "" Nop
+ "Restart Conmputer%16x16/actions/reload.png" Exec exec init 6
+ "Shutdown Computer%16x16/actions/stop.png" Exec exec init 0
#增加窗口控制菜单
AddToMenu Window-Ops2
+ "Move%16x16-kde/window-move.xpm" Move
+ "Resize%16x16-kde/window-resize.xpm" Resize
+ "(Un)Iconify%16x16-kde/window-iconify.xpm" Iconify
#+ "(Un)Stick%16x16-kde/window-stick.xpm" Stick
+ "(Un)Maximize%16x16-kde/windows.xpm" Maximize
+ "" Nop
#+ "Close%16x16-kde/window-close.xpm" Close
#+ "Delete%16x16-kde/window-delete.xpm" Delete
+ "Close%16x16-kde/window-destroy.xpm" Destroy
##########################################################################
########################################### moudle
*FvwmButtonsFore #ffffff
*FvwmButtonsBack #527299
*FvwmButtonsFrame 1
#*FvwmButtonsFont "-adobe-helvetica-bold-r-normal-*-14-*-*-*-*-*-*-*,-kaiyuan-tangti-bold-r-normal-*-14-*-*-*-*-*-*-*"
#*FvwmButtonsFont "Shadow=1 font:-misc-quillscript-medium-r-normal-*-16-*-*-*-p-*-iso8859-15,-misc-fzshuti s05s-medium-r-semicondensed-*-*-160-*-*-p-*-gb2312.1980-0"
#*FvwmButtonsFont "Shadow=1 1 SE:xft:Bitstream Vera Sans Mono:style=Roman:size=14"
*FvwmButtonsGeometry 66x600+0-0
*FvwmButtonsRows 10
####### The BUTTONS
*FvwmButtons(1x1,Swallow "FvwmPager")
############################################################################
#*FvwmButtons(1x1,Icon 48x48-gnome/terminal.xpm, Action 'Exec exec rxvt -bg black -fg Yellow +sr -T Rxvt\ Terminal -scrollstyle next ')
#*FvwmButtons(1x1,Icon 48x48-gnome/gnu.xpm, Action 'Exec exec emacs ')
#*FvwmButtons(1x1,Title(Side) Gvim, Icon 48x48-gnome/word-processor.xpm, Action 'Exec exec gvim')
#*FvwmButtons(1x1,Title(Side) Gimp, Icon 48x48-gnome/gimp.xpm, Action 'Exec exec gimp')
#*FvwmButtons(1x1,Title(Side) Gqview, Icon 48x48-gnome/science.xpm, Action 'Exec exec gqview')
#*FvwmButtons(1x1,Title(Side) Xpdf, Icon 48x48-gnome/ghostview.xpm, Action 'Exec exec xpdf')
#*FvwmButtons(1x1,Icon 48x48/apps/xmms.png, Action 'Exec exec xmms')
#*FvwmButtons(1x1,Icon 48x48/apps/firefox.png, Action 'Exec exec MozillaFirebird')
*FvwmButtons: (1x1,Swallow "cputnik" "Exec exec cputnik &")
*FvwmButtons: (1x1,Swallow "wmnd" "Exec exec wmnd")
*FvwmButtons: (1x1,Swallow "wmppp" "Exec exec wmppp")
*FvwmButtons: (1x1,Swallow "apm" "Exec exec wmapm")
*FvwmButtons: (1x1,Swallow "wmmp3" "Exec exec wmmp3")
*FvwmButtons: (1x1,Swallow "WMMemFree" "Exec exec wmmemfree &")
*FvwmButtons: (1x1,Swallow "wmCalClock" "Exec exec wmCalClock")
#*FvwmButtons: (1x1,Swallow "wmxmms" "Exec exec wmxmms")
*FvwmButtons: (1x1,Swallow "asmail" "Exec exec asmail")
#*FvwmButtons(1x1,Title(Side) Gaim, Icon 48x48-gnome/modules.xpm, Action 'Exec exec gaim')
####################################################################################
#*FvwmButtons: (1x1, Padding 0 0, Container(Padding 0 0, Frame 1, Columns 3))
#*FvwmButtons: (Icon 16x16-gnome/modules.xpm, Action 'Exec exec gaim ')
#*FvwmButtons: (Icon 16x16-gnome/science.xpm, Action 'Exec exec gqview ')
#*FvwmButtons: (Icon 16x16-gnome/multimedia.xpm, Action 'Exec exec xmms')
#*FvwmButtons: (Icon 16x16-gnome/www.xpm, Action 'Exec exec rxvt +sb -bg black -fg white -T Mutt\ Mail -e mutt')
#*FvwmButtons: (Icon 16x16-gnome/editor.xpm,Action 'Exec exec gvim' )
#*FvwmButtons: (Icon 16x16-gnome/amusement.xpm, Action 'Exec exec realplay')
#*FvwmButtons: (Icon 16x16-gnome/sound.xpm, Action 'Exec exec rxvt +sb -bg black -fg white -T Mp3blaster -e mp3blaster')
#*FvwmButtons: (Icon 16x16-gnome/disk-cd.xpm, Action 'Exec exec rxvt +sb -bg black -fg white -e mount -o iocharset=gb2312 /dev/cdrom /mnt/cdrom ')
#*FvwmButtons: (Icon 16x16-gnome/disk-floppy.xpm, Action 'Exec exec rxvt +sb -bg black -fg white -e umount /mnt/cdrom ')
#*FvwmButtons: (End)
#*FvwmButtons: (Swallow "cputnik" "Exec exec cputnik &")
#*FvwmButtons: (Padding 0 0, Container(Padding 0 0, Frame 1, Columns 2))
#*FvwmButtons: (2x1, Swallow "wmppp" "Exec exec wmppp &")
#*FvwmButtons: (Swallow "xclock" "Exec exec xclock &")
#*FvwmButtons: (Swallow "xlogo" "Exec exec xlogo &")
#*FvwmButtons: (End)
###########################################################################
AddToFunc StartFunction I FvwmButtons FvwmButtons
AddToFunc StartFunction I FvwmPager
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
+ "I" Iconify
AddToFunc Resize-or-Raise "I" Raise
+ "M" Resize
+ "I" Lower
AddToFunc FuncFvwmMoveOrIconify "I" Raise
+ "M" Move
+ "D" Iconify
##########################################################################
exec xloadimage -onroot -fullscreen ~/.fvwm/Wallpaper.jpg & |
|