|
我使用FVWM也有一段时间了,其中有不少的心得,也有不少的经验.现在想写出来和大家探讨.选用FVWM的理由:我想这样不用说了吧,凡是用过KDE和GNOME的兄弟没有不抱怨运行缓慢的.但是你用FVWM的话,就没有这样的顾虑.可以说在WM种FVWM运行速度和占用的系统资源是最少的了.我现在还在使用K6的老机子.呵呵,没有理由叫我去运行下死人的KDE吧?!我才64M的条子啊!?呵呵,言归正传.我想只有真正了解LINUX的人,才会去使用FVWM的.我虽然不了解LINUX(使用只有两年的时间),但是我已经喜欢上了FVWM了!!
FVWM的配置我这里就不多说了,希望了解FVWM的朋友可以去网上自己去找,反正我找了一堆的关于FVWM的技术文档了.下面是我的FVWM的帖图,我希望大家能够喜欢,我的做法是下载人家的配置文件,然后自己修改想要的.我是以红旗LINUX 3.2 版为基础的(因为用不着烦人的中文化了,显示中文的效果也好.)大家在字体的方面要改一改哦,别忘了.乱码的话,就加一个可以显示中文的字体就可以了.再罗索一句:一定要使用 FVWM 2.5 以上的版本,否则无论你怎么配置FVWM就是不显示中文!!这是我的良言!!警记,警记!!好了就说到这里了,兄弟我现在在读暑假班呢,学习重要,呵呵.有什么关于LINUX的事情我们一起探讨吧,我的电子邮箱是 lufj@tom.com 由于我的学业的问题,可能不能及时的回信请大家见量了.
FVWM 配置文件:
# 设定图标资源的目录
ImagePath /usr/share/.wm-icons:/usr/share/icons/wm-icons
# 设定标题栏的大小,默认是17象素
TitleStyle Height 17
# On init la couleur de la barre de titre (ici on ge un gradient)
TitleStyle (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue4)
# On init la couleur lorsque la barre de titre est press
AddTitleStyle ActiveDown (VGradient 128 2 royalblue3 50 royalblue1 50 royalblue4)
# barre de titre inactive
TitleStyle Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat
# 1.2 Bouttons
ButtonStyle 1 (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue4)-- Flat
ButtonStyle 1 Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat
AddButtonStyle 1 Inactive (8 01x50@0 50x99@0 99x50@0 80x50@0 80x01@0 20x01@0 20x50@0 01x50@0) -- Flat
AddButtonStyle 1 ActiveUp (8 01x50@1 50x99@01 99x50@0 80x50@0 80x01@0 20x01@1 20x50@1 01x50@1) -- Flat
#inversion du gradient pour donner un effet de "boutton pouss ...
AddButtonStyle 1 ActiveDown (VGradient 128 2 royalblue3 50 royalblue1 50 royalblue4 8 01x50@1 50x99@1 99x50@1 80x50@1 80x01@1 20x01@1 20x50@1 01x50@1) -- Flat
# boutton 3 : (un)stick
ButtonStyle 3 (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue4)-- Flat
ButtonStyle 3 Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat
# un lair
AddButtonStyle 3 ActiveUp (7 70x15@0 30x55@1 50x55@0 40x85@1 80x45@0 60x45@1 70x15@0) -- Flat
AddButtonStyle 3 Inactive (7 70x15@0 30x55@1 50x55@0 40x85@1 80x45@0 60x45@1 70x15@0) -- Flat
AddButtonStyle 3 ActiveDown (VGradient 128 2 royalblue3 50 royalblue1 50 royalblue4 7 70x15@0 30x55@1 50x55@0 40x85@1 80x45@0 60x45@1 70x15@0) -- Flat
# boutton 2: close
ButtonStyle 2 (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue4)-- Flat
ButtonStyle 2 Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat
# on dessine une croix
AddButtonStyle 2 ActiveUp (13 20x20@0 80x80@0 85x80@0 25x20@0 30x20@0 90x80@0 50x50@0 20x80@0 80x20@0 85x20@0 25x80@0 30x80@0 90x20@0) -- Flat
AddButtonStyle 2 ActiveDown (VGradient 128 2 royalblue3 50 royalblue1 50 royalblue4 13 20x20@1 80x80@1 85x80@1 25x20@1 30x20@1 90x80@1 50x50@1 20x80@1 80x20@1 85x20@1 25x80@1 30x80@1 90x20@1) -- Flat
AddButtonStyle 2 Inactive (13 20x20@0 80x80@0 85x80@0 25x20@0 30x20@0 90x80@0 50x50@0 20x80@0 80x20@0 85x20@0 25x80@0 30x80@0 90x20@0) -- Flat
# boutton 4: Maximize
ButtonStyle 4 (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue4)-- Flat
ButtonStyle 4 Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat
# on dessine un cadre
AddButtonStyle 4 ActiveUp (7 20x20@0 90x20@0 90x25@0 20x25@0 20x80@0 90x80@0 90x20@0) -- Flat
AddButtonStyle 4 ActiveDown (VGradient 128 2 royalblue3 50 royalblue1 50 royalblue4 7 20x20@1 90x20@1 90x25@1 20x25@1 20x80@1 90x80@1 90x20@1) -- Flat
AddButtonStyle 4 Inactive (7 20x20@0 90x20@0 90x25@0 20x25@0 20x80@0 90x80@0 90x20@0) -- Flat
# boutton 6:minimize
ButtonStyle 6 (VGradient 128 2 royalblue1 50 royalblue3 50 royalblue4)-- Flat
ButtonStyle 6 Inactive (VGradient 128 2 grey85 50 grey70 50 grey50) -- Flat
# on dessine une barre
AddButtonStyle 6 ActiveUp (4 25x80@0 85x80@0 85x75@0 25x75@0 25x70@0 85x70@0) -- Flat
AddButtonStyle 6 ActiveDown (VGradient 128 2 royalblue3 50 royalblue1 50 royalblue4 4 25x80@1 85x80@1 85x75@1 25x75@1 25x70@1 85x70@1) -- Flat
AddButtonStyle 6 Inactive (4 25x80@0 85x80@0 85x75@0 25x75@0 25x70@0 85x70@0) -- Flat
# 设定菜单的样式和字体
MenuStyle * Foreground grey90
MenuStyle * Background #1c5572
MenuStyle * SeparatorsShort
MenuStyle * Hilight3DOff, HilightBack #424164, ActiveFore white
MenuStyle * Animation
MenuStyle * TrianglesSolid
MenuStyle * Font -redflag-default-medium-r-normal-*-12-*-*-*-*-*-*-* fvwm, PopupOffset 1 90
MenuStyle * MenuFace VGradient 128 1 #2c80A0 1 #1c5572
# Menu Gris malis #MenuStyle * MenuFace VGradient 128 2 grey85 50 grey70 50 grey50 -- Flat
BorderStyle -- HiddenHandles NoInset
# 设定虚拟桌面的数目
DeskTopSize 2x2
#EdgeResistance 100 10
# pourcentage du scroll en cas de flip-edge
EdgeScroll 0 0
# 2.2 Propri du bureau
# -----------------------
ClickTime 750
OpaqueMoveSize 150
SnapAttraction 8 All Screen
ColormapFocus FollowsMouse
# 菜单的主要字体
Style "*" Font -redflag-default-medium-r-normal-*-12-*-*-*-*-*-*-*
Style "*" IconFont -redflag-default-medium-r-normal-*-12-*-*-*-*-*-*-*
# Couleur des textes et de l'arrie plan des fenres ou icones actives
Style "*" HilightFore white, HilightBack #1c5572
# Style fenres.
Style "*" BorderWidth 1, HandleWidth 1
# Couleur du texte/fond des fenres/icones inactives
Style "*" Color black/#8090A0
# Style la Mosaic...
Style "*" MWMFunctions, MWMDecor, HintOverride
Style "*" MWMBorder
#, MWMButtons
Style "*" DecorateTransient, NoPPosition
# inition de l'iconebox (l ou vont les icones)
# On peut en mettre plusieurs o en consacrer certaines certaines
# applications.
Style "*" IconBox 1096 404 1152 -120
# Option de focus et de placement.
Style "*" SmartPlacement
Style "*" MouseFocusClickRaises
Style "*" FPAllowFocusClickFunction, FPAllowRaiseClickFunction
# 2.4 Fenres particulies
# --------------------------
# D'abord les fenres spiales fvwm
Style "Fvwm*" NoTitle, Sticky, WindowListSkip
Style "Fvwm*" BorderWidth 2, CirculateSkipIcon, CirculateSkip
Style "FvwmPager" StaysOnTop
Style "FvwmBanner" StaysOnTop
Style "FvwmButtons" Icon toolbox.xpm, ClickToFocus
# Programmes personnels. Remarquons que toutes les initions d'icones
# sont inutiles si mw-icons est appel la fin du fichier. Si c'est le
# cas, c'est ce fichier l que vous devez modifier pour associer vos
# icones vos programmes.
Style "*lock" NoTitle, NoHandles, Sticky, WindowListSkip, ClickToFocus
Style "xcalc" Icon xcalc.xpm,RandomPlacement,ClickToFocus
Style "xmh" Icon mail1.xpm, NoIconTitle,StickyIcon
Style "xman" Icon xman.xpm, RandomPlacement, ClickToFocus
Style "xmag" Icon mag_glass.xpm, RandomPlacement, ClickToFocus
Style "rxvt" Icon konsole.xpm
Style "xterm" Icon xterm.xpm, MouseFocusClickRaises
Style "konqueror" Icon apple-red.xpm
Style "gphoto" Icon gphoto.xpm
Style "psi" Sticky
Style "gkrellm" Sticky,WindowListSkip,NoTitle
Style "gkrellm" CirculateSkipIcon,CirculateSkip
Style "aterm" Sticky,NoTitle, WindowListSkip,BorderWidth 0,NoHandles
Style "penguineyes" Sticky,WindowListSkip,BorderWidth 0, NoTitle
Style "penguineyes" CirculateSkipIcon,CirculateSkip
Style "xconsole" WindowListSkip
Style "Blur scope" WindowListSkip,NoTitle,ClickToFocus,RandomPlacement
Style "Oscilloscope Flou" WindowListSkip,NoTitle,ClickToFocus,Placement
Style "Zinf" WindowListSkip,Sticky
#####################################
# 3. Commandes
#####################################
# 3.1 Raccourcis claviers
# -----------------------
# touche|situation|controleur|action
# touche = touche presseur
# situation = A(ll),W(indow),T(itle),R(oot),F(rame),S(ide),I(con),0-9
# Frame = coin d'une fenre, 0-9 bouttons correspondants
# controleur=M(eta),C(ontrol),...
# Meta = touche alt
# on rajoute un 2 apr pour que marche avec numlock activ !
Key Tab A M MyTab
Key Tab A M2 MyTab
Key Tab A C MyTab2
Key Tab A C2 MyTab2
Key F4 WTSFI M Close
Key F4 WTSFI M2 Close
Key F3 A M Popup Window-Ops
Key F3 A M2 Popup Window-Ops
Key F2 A M Exec rxvt -bg black -fg white -fn fixed
Key F2 A M2 Exec rxvt -bg black -fg white -fn fixed
Key F12 A C Quit
Key F12 A C2 Quit
Key F12 A M Restart fvwm2
Key F12 A M2 Restart fvwm2
Key F1 WTSFI M Maximize
Key F1 WTSFI M2 Maximize
Key F1 WTSFI C MyIcon
Key F1 WTSFI C2 MyIcon
Key Escape A C WindowList Root c c
Key Escape A C2 WindowList Root c c
#Gestion de XMMS
#stop
Key q A M Exec exec xmms -p
Key q A M2 Exec exec xmms -p
#stop
Key s A M Exec exec xmms -s
Key s A M2 Exec exec xmms -s
#pause
Key w A M Exec exec xmms -u
Key w A M2 Exec exec xmms -u
#prent
Key a A M Exec exec xmms -s
Key a A M2 Exec exec xmms -s
#suivante
Key x A M Exec exec xmms -f
Key x A M2 Exec exec xmms -f
# Les raccourcies suivants permettent de "naviguer" dans les bureaux
Key Left A M Scroll -100 +0
Key Left A M2 Scroll -100 +0
Key Right A M Scroll +100 +0
Key Right A M2 Scroll +100 +0
Key Up A M Scroll +0 -100
Key Up A M2 Scroll +0 -100
Key Down A M Scroll +0 +100
Key Down A M2 Scroll +0 +100
# Les menus accessibles depuis la souris
Mouse 1 R A Menu RootMenu Nop
Mouse 2 R A Menu Window-Ops Nop
Mouse 3 R A WindowList
# Bouttons des fenres et title bar:
Mouse 0 1 A Menu Window-Ops2 Close
Mouse 0 3 A Stick
Mouse 0 2 A Close
Mouse 0 4 A Maximize
Mouse 0 6 A Iconify
Mouse 1 F A Resize-or-Raise
Mouse 1 TS A Move-or-Raise
Mouse 1 I A Move-or-Iconify
Mouse 2 I A Iconify
Mouse 2 T A WindowShade
Mouse 3 T A Raise-or-RaiseLower
# 3.2 Commandes l'initialisation
# --------------------------------
# On met ici ce qui doit re lanc au rage ou au rearage de fvwm.
# On peut inir fond d'ran, etc.. mais rien ne sert de faire
# double-emploi avec .xsession
AddToFunc InitFunction "I" Module FvwmPager 0 0
+ "I" Module FvwmButtons
AddToFunc RestartFunction "I" Module FvwmPager 0 0
+ "I" Module FvwmButtons
# 主要的菜单选项,请你自行添加
AddToMenu RootMenu "Fvwm2 根菜单%16x16-gnome/linux.xpm" Title
+ "XTerm 控制台%16x16-gnome/terminal.xpm" Exec exec xterm -bg black -fg white +sb
+ "Konqueror 浏览器%16x16-gnome/news.xpm" Exec exec konqueror
+ "Xmms 音频播放器%16x16-gnome/music.xpm" Exec exec xmms
+ "KDE文本编辑器%16x16-gnome/kde.xpm" Exec exec kedit
#+ "电子邮件%16x16-gnome/mail.xpm" Exec exec mut -y
#+ "Compose%mini/mail.xpm" Exec exec xterm -e mutt ""
#+ "si%16x16-gnome/modules.xpm" Exec exec psi
#+ "文件管理器%16x16-gnome/folder.xpm" Exec exec xftree
+ "" Nop%16x16-gnome/
+ "文本编辑器%16x16-gnome/editor.xpm" Popup editmenu
+ "图形图象%16x16-gnome/image-processor.xpm" Popup artmenu
+ "多媒体系统%16x16-gnome/multimedia.xpm" Popup multimediamenu
+ "文本阅读器%16x16-gnome/information.xpm" Popup Reader
#+ "工具软件%16x16-gnome/utility.xpm" Popup Utilitaires
+ "网络工具%16x16-gnome/network.xpm" Popup Internet
#+ "游戏%16x16-gnome/game.xpm" Popup games
+ "" Nop%16x16-gnome/
+ "系统菜单%16x16-gnome/modules.xpm" Popup config
AddToMenu config
#+ "Executer" Exec exec grun
#+ "Rechercher%16x16-gnome/window-identify.xpm" Exec exec gtkfind
+ "Xkill 关闭命令%16x16-gnome/window-delete.xpm" Exec exec xkill
+ ""
+ "编辑 Fvwm 配置文件%16x16-gnome/editor.xpm" Exec exec gvim $HOME/.fvwm/.fvwm2rc
+ "" Nop
+ "重新启动 Fvwm2%16x16-gnome/refresh.xpm" Restart fvwm2
+ "退出 Fvwm2 会话%16x16-gnome/choice-yes.xpm" Quit
AddToMenu editmenu
#+ "OpenOffice" Popup ooffice
+ "KDE文本编辑器%16x16-gnome/kde.xpm" Exec exec kedit
#+ "Blue Fish" Exec exec bluefish
#+ "" nop
#+ "Gvim" Exec exec gvim
#+ "Notepad" Exec exec gnp
#+ "Nedit" Exec exec nedit
#+ "AbiWord" Exec exec abiword
#+ "GNUmeric" Exec exec gnumeric
AddToMenu artmenu
#+ "Gthumb%16x16-gnome/colors.xpm" Exec exec gthumb
#+ "GtkSee%16x16-gnome/colors.xpm" Exec exec gtksee
#+ "" nop
+ "The Gimp%16x16-gnome/gimp.xpm" Exec exec gimp
+ "Gqview%16x16-gnome/science.xpm" Exec exec gqview
#+ "Xmorph" Exec exec xmorph
#+ "" nop
#+ "hotos Cam%mini/video.xpm" Exec exec camphotos
AddToMenu multimediamenu
+ "音量控制器%16x16-gnome/sound.xpm" Exec exec kmix
+ "Xmms 音频播放器%16x16-gnome/music.xpm" Exec exec xmms
+ "Xing 影像播放器%16x16-gnome/music.xpm" Exec exec xine
+ "RealPlayer 8.0 Basic" Exec exec realplay
#+ "VideoLanClient%16x16-gnome/display.xpm" Exec exec vlc
+ "Mplayer%16x16-gnome/display.xpm" Exec exec gmplayer
AddToMenu Internet
+ "电子邮件%mini/mail.xpm" Exec exec evolution
+ "Mozilla 浏览器%16x16-gnome/www.xpm" Exec exec mozilla
+ "Konqueror%16x16-gnome/news.xpm" Exec exec konqueror
#+ "an%16x16-gnome/news.xpm" Exec exec pan
#+ "Kbear" Exec exec kbear
+ "Gaim%16x16-gnome/modules.xpm" Exec exec gaim
#+ "AxyFTP" Exec exec axyftp
+ "Gftp" Exec exec gftp
#+ "XsmBrowser" Exec exec xsmbrowser
AddToMenu Reader
+ "GV" Exec exec gv
+ "Xpdf" Exec exec xpdf
+ "Abode Reader 4.0 %/abode.png" Exec exec acroread
#AddToMenu Utilitaires "Utilitaires" Title
#+ "GMC" Exec exec Konqueror
#+ "worker" Exec exec worker
#+ "Audio Burner" Exec exec eroaster
#+ "Audio Ripper" Exec exec grip
#+ "XcdRoast" Exec exec xcdroast
#+ "Utilities" Popup Utilities
#+ "" Nop
#+ "Fvwm Modules" Popup Module-Popup
#+ "Fvwm Window Ops" Popup Window-Ops
#+ "Fvwm Simple Config Ops" Popup Misc-Ops
#+ "" Nop
#+ "刷新窗口" Refresh
#+ "Recapture Screen" Recapture
#+ "" Nop
#+ "退出 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
#+ "Emacs" Exec exec emacs
#+ "Mail" MailFunction xmh "-font fixed"
#+ "" Nop
#+ "XLock" Exec exec xlock -mode random
#+ "" Nop
#+ "Reset X defaults" Exec xrdb -load $HOME/.Xdefaults
AddToMenu games "游戏" Title
+ "Screen" Popup screen
+ "Cube" Exec exec sh ~/Cube/Alu/Cube/cube_unix -w1152 -h864 -l
+ "Quake2" Exec exec quake2
+ "Tux Racer" Exec exec tuxracer
+ "GL Tron" Exec exec gltron
+ "Space Orbit" Exec exec orbit
+ "Xbill" Exec exec xbill
+ "Tux Kart" Exec exec tuxkart
AddToMenu screen "Snow" Exec exec xsnow
+ "enguins%16x16-gnome/linux.xpm" Exec exec xpenguins
+ "Classic Penguins%16x16-gnome/linux.xpm" Exec exec xpenguins -t "Classic Penguins"
+ "Big Pinguins%16x16-gnome/linux.xpm" Exec exec xpenguins -t "Big Penguins"
+ "Little Bill" Exec exec xpenguins -t Bill
+ "Turtles" Exec exec xpenguins -t Turtles
+ "Quel Bordel !" Exec exec xpenguins --all
+ "" nop
+ "Kill snow" Exec exec killall xsnow
+ "Kill peng" Exec exec killall xpenguins
AddToMenu Misc-Ops "Misc Config Opts" Title
+ "Sloppy Focus" ChangeDefaultFocus SloppyFocus
+ "Click To Focus" ChangeDefaultFocus ClickToFocus
+ "Focus Follows Mouse" ChangeDefaultFocus FocusFollowsMouse
+ "" Nop
+ "OpaqueMove On" OpaqueMoveSize 100
+ "OpaqueMove Off" OpaqueMoveSize 0
+ "" 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
+ "artial Paging" EdgeScroll 50 50
+ "Full Paging && Edge Wrap" EdgeScroll 100000 100000
AddToMenu Window-Ops2 "移动窗口%16x16-gnome/window-move.xpm%" Move
+ "重新设定大小%16x16-gnome/window-resize.xpm" Resize
#+ "R&aise%16x16-gnome/window-raise.xpm%" Raise
#+ "&Lower%16x16-gnome/window-lower.xpm%" Lower
+ "(恢复)图标化%16x16-gnome/window-iconify.xpm" Iconify
+ "(恢复)锁定窗口%16x16-gnome/window-stick.xpm" Stick
+ "(恢复)最大化" Maximize
+ "" Nop
+ "删除窗口%16x16-gnome/window-delete.xpm%" Delete
+ "关闭窗口%16x16-gnome/window-close.xpm%" Close
+ "毁灭窗口%16x16-gnome/window-destroy.xpm%" Destroy
#+ "" Nop
#+ "ScrollBar" Module FvwmScroll 2 2
#+ "rint" PrintFunction
#+ "rint Reverse" PrintReverseFunction
AddToMenu Module-Popup "FvwmModules" Title
+ "Identify" Module FvwmIdent
+ "Talk" Module FvwmTalk
+ "" Nop
+ "Button-Bar" Module FvwmButtons
+ "ager" Module FvwmPager 0 0
+ "ager (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 Fvwm2" Restart fvwm2
+ "重新启动 Fvwm" Restart fvwm
+ "" Nop
#+ "Start 95" Restart fvwm95
#+ "Start bal" Restart blackbox
#+ "Start mwm" Restart mwm
#+ "Start wmaker" Restart wmaker
#+ "Start kde" Restart kde
#+ "Start kwm" Restart kwm
#+ "Start sawmill" Restart sawmill
#+ "Start xterm" Restart xterm
#+ "" Nop
#+ "No, Don't Quit" Nop
######################## Sample Functions ##########################
AddToFunc MailFunction "I" Next [$0] Iconify -1
+ "I" Next [$0] Focus
+ "I" None [$0] Exec $0 $1
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
+ "D" Iconify
AddToFunc Resize-or-Raise "I" Raise
+ "M" Resize
+ "D" Lower
AddToFunc Resize-or-Raise2 "M" Raise
+ "M" Resize
+ "D" Lower
AddToFunc PrintFunction "I" Raise
+ "I" Exec xdpr -id $w
AddToFunc PrintReverseFunction "I" Raise
+ "I" Exec xdpr 1/2 -h -rv -id $w
AddToFunc Iconify-and-Raise "I" Iconify
+ "I" Raise
# RLOGIN machine fg bg
AddToFunc RLOGIN "I" Exec xterm -fg $1 -bg $2 -e rlogin $0 -8
AddToFunc SSH "I" Exec rxvt -e ssh $0
# TELNET machine fg bg
AddToFunc TELNET "I" Exec xterm -fg $1 -bg $2 -e telnet $0
AddToFunc FocusAndWarp "I" FlipFocus
+ "I" WarpToWindow 50 50
AddToFunc DeiconifyFocusAndWarp "I" Iconify -1
+ "I" FocusAndWarp
AddToFunc ChangeDefaultFocus "I" Style "*" $0
+ "I" Recapture
AddToFunc MyTab "I" Next [!Iconic] FocusAndWarp
AddToFunc MyTab2 "I" Next DeiconifyFocusAndWarp
AddToFunc MyIcon "I" Iconify
+ "I" Focus
+ "I" WarpToWindow 50 50
########################## Window-Identifier ###############################
# Just choose colors and a fonts
*FvwmIdentBack #708090
*FvwmIdentFore black
*FvwmIdentFont -redflag-default-medium-r-normal-*-12-*-*-*-*-*-*-*
########################### Pager #########################################
*FvwmPagerBack #1e5774
*FvwmPagerFore #000000
# turn off desktop names for swallowing in above button bar example:
*FvwmPagerFont none
*FvwmPagerHilight #dee5ef
*FvwmPagerGeometry 75x75-5-5
*FvwmPagerLabel 0 Misc
*FvwmPagerLabel 1 Maker
*FvwmPagerLabel 2 Mail
*FvwmPagerLabel 3 Matlab
*FvwmPagerSmallFont 5x8
*FvwmPagerBalloons All
*FvwmPagerBalloonBack #000000
*FvwmPagerBalloonFore white
*FvwmPagerBalloonFont -redflag-default-medium-r-normal-*-12-*-*-*-*-*-*-*
*FvwmPagerBalloonYOffset +2
*FvwmPagerBalloonBorderWidth 1
*FvwmPagerBalloonBorderColor Black
*FvwmPagerMiniIcons
##########################FvwmWinList##################################
*FvwmWinListBack #403030
*FvwmWinListFore White
*FvwmWinListFont -redflag-default-medium-r-normal-*-12-*-*-*-*-*-*-*
*FvwmWinListAction Click1 Iconify -1,Focus
*FvwmWinListAction Click2 Iconify
*FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent
*FvwmWinListUseSkipList
*FvwmWinListGeometry +0-1
*FvwmBackerDesk 0 -solid steelblue
*FvwmBackerDesk 1 -solid midnightblue
*FvwmScrollBack grey40
*FvwmScrollFore green
*FvwmBannerTimeout 4
Read fvwm2rc-wm-icons
# FvwmButtons settings
# Creates buttons in the upper left corner which slide a panel with some
# frequently used applications (which are open all the time) in and out.
# Some apps are not spawned automatically (Nop), allowing me e.g. to logoff
# MSN on one computer, go to work, and logon there. When they get started
# again, they are automatically swallowed in the panel (UseOld).
Style "FvwmButtons" Sticky, NoHandles, NoTitle, BorderWidth 0, StaysOnBottom
*FvwmButtons: Columns 1
*FvwmButtons: Back black
*FvwmButtons: Frame 0
*FvwmButtons: (Icon menu/music.xpm \
Panel(position top,right,delay 0,UseOld,NoClose) \
"Zinf" Exec exec zinf)
*FvwmButtons: (Icon menu/modules.xpm Swallow(position top,right,delay 0,UseOld,NoClose) "psi" Exec exec psi)
# 增加"桌面"背景,路径请自行修改
Exec exec xloadimage -onroot -fullscreen $HOME/.fvwm/wall.jpg |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|