pandaisme 发表于 2003-3-28 12:11:21

个人认为fvwm不错,很稳定,定制也方便,只要一个配置文件即

个人认为fvwm不错,不象kde/gnome那样不稳定,如果想用gnome/kde可以在fvwm
内单独启动,我用它是因为kde/gnome在放缩窗口时老是把屏幕锁死,运行程序也会
出现莫名其妙的错误而中止,fvwm没有此类问题

lucida 发表于 2003-3-28 14:19:55

我的kde和大多数人的一样,很稳定。也不用写配置文件

而且,说到效果,我不认为有多少桌面比带xft aa的kde桌面更漂亮

bkiller 发表于 2004-6-15 18:49:36

用fvwm的要有艺术细胞才行

cobranail 发表于 2004-6-15 23:59:43

我的kde和大多数人的一样,很稳定。也不用写配置文件

而且,说到效果,我不认为有多少桌面比带xft aa的kde桌面更漂亮

中文字体太淡,太模糊

icons从哪里弄得?

snowweihua 发表于 2004-6-16 00:09:19

用fvwm的要有艺术细胞才行
我没有什么艺术感觉,但我选择用fvwm是看中它的简单快速。
写程序的时候不喜欢桌面上有乱七八糟的东西,
编译的时候也希望获得更好的速度

樱家冢 发表于 2004-6-16 00:56:13

在gentoo下面编译程序,如果没必要的话,我都不会进入X的。

sartre 发表于 2004-6-16 15:10:25

贴一下我的fvwm

塔塔 发表于 2004-6-16 15:18:46


不错!很漂亮怎么弄的?需要编译?从fvwm的网站下就可以了么?????不错!

bigcat00 发表于 2004-6-16 16:40:13

贴一下我的fvwm

贴在哪儿了???我怎么看不到??? :roll::roll::?::?:

sartre 发表于 2004-6-17 19:44:04

参考了一个牛人的配置,又从fvwm-crystal里用了点代码

sartre 发表于 2004-6-17 20:03:33

贴一下我的fvwm2rc

sartre 发表于 2004-6-17 20:06:19

怎么贴文件啊

nifi 发表于 2004-6-17 23:34:04

老大,直接copy & paste不就行了?我还等着看呢!

butty 发表于 2004-6-18 05:55:05

fvwm只是个窗口管理器,很多程序都要用到gnome的。

sartre 发表于 2004-6-18 08:27:28

################http://dxzhang.kmip.net/wangyin/fvwm_frame.html

ImagePath ${HOME}/.fvwm/images
SetEnv MINI_ICON_DIR $[HOME]/
SetEnv FVWM_ICON_SIZE 96


SetEnv FVWM_COLORSET_TINT "40"

######################Colorset
#CleanupColorsets

Colorset 0 Foreground black, Background black, Hilight black, Shadow black

Colorset 1 Foreground white, Background black, Hilight gray, Shadow gray, RootTransparent, Tint black 40

Colorset 2 Foreground white, Background gray, Hilight gray, Shadow gray, RootTransparent, Tint black 40

Colorset 3 Foreground white, Background gray, Hilight gray, Shadow gray, RootTransparent, Tint black 40

Colorset 4 Foreground white, Background gray, Hilight gray, Shadow gray, RootTransparent, Tint black 40

Colorset 5 Foreground white, Background gray, Hilight gray, Shadow gray, RootTransparent, Tint black 40

Colorset 6 Foreground white, Background gray, Hilight gray, Shadow gray, RootTransparent, Tint black 40

Colorset 7 Foreground white, Background gray, Hilight gray, Shadow gray, RootTransparent, Tint white 40

Colorset 8 Foreground white, Background gray, Hilight gray, Shadow gray, RootTransparent, Tint gray 40

Colorset 9 Foreground white, Background gray, Hilight gray, Shadow gray, RootTransparent, Tint black 40

Colorset 10 Foreground white, Background gray, Hilight gray, Shadow gray, RootTransparent, Tint black 40

Colorset 11 Foreground white, Background gray, Hilight gray, Shadow gray, RootTransparent, Tint black 40

Colorset 12 Foreground black, Background gray, Hilight gray, Shadow gray, RootTransparent, Tint gray 40

Colorset 13 Foreground white, Background black, NoShape, RootTransparent, Tint blue 20

Colorset 14 Foreground white, Background black, NoShape, RootTransparent, Tint black 40

Colorset 15 Foreground white, Background white

Colorset 16 Foreground white, Background white

Colorset 17 Foreground black, bg white, NoShape, RootTransparent, Tint #5a8ade 60

Colorset 18 Foreground black, bg white, NoShape, RootTransparent, Tint #f6f6f6 20

################Decor
DestroyDecor DefaultDecor
AddToDecor DefaultDecor
+ TitleStyle ActiveUp Colorset 13
+ TitleStyle ActiveDown Colorset 13
+ TitleStyle InActive Colorset 18
+ TitleStyle LeftJustified
+ TitleStyle -- flat
+ TitleStyle Height 20
#+ TitleStyle Font "xft:Verdana-12"
+ BorderStyle -- HiddenHandles
+ BorderStyle -- Flat
+ ButtonStyle 1 InActive 4 30x45@3 60x45@3 45x30@4 45x60@3 -- Flat
+ ButtonStyle 1 ActiveUp 4 30x45@3 60x45@3 45x30@4 45x60@3 -- Flat
+ ButtonStyle 1 ActiveDown 4 30x45@3 60x45@3 45x30@4 45x60@3 -- Flat
+ ButtonStyle 2 InActive 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat
+ ButtonStyle 2 ActiveUp 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat
+ ButtonStyle 2 ActiveDown 4 30x30@3 60x60@3 60x30@4 30x60@3 -- Flat
+ ButtonStyle 4 InActive 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat
+ ButtonStyle 4 ActiveUp 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat
+ ButtonStyle 4 ActiveDown 7 30x30@3 30x60@3 60x60@3 60x30@3 30x30@3 30x35@3 60x35@3 -- Flat
+ ButtonStyle 6 InActive 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat
+ ButtonStyle 6 ActiveUp 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat
+ ButtonStyle 6 ActiveDown 5 30x60@3 60x60@3 60x50@3 30x50@3 30x60@3 -- Flat
+ ButtonStyle All -- UseTiTleStyle
+ ButtonStyle All -- flat

Style * TitleAtTop
Style * Colorset 15
Style * HilightColorset 16

Style * HandleWidth 1
Style * BorderWidth 1
Style * Font "xft:Verdena-12"
Style * IconBox 50 80 100 -15
Style * SmartPlacement, WindowShadeSteps 20, ResizeOutLine
Style * NoIconTitle
Style * UseDecor DefaultDecor

Mouse        1        1        A        Close
#Mouse        3        1        A        Thumbnail
Mouse        1        2        A        Close
#Mouse   3       2       A       Iconify
#Mouse        3        2        A        Thumbnail
Mouse        1        4        A        Maximize grow grow
Mouse        2        4        A        Maximize 0 grow
Mouse        3        4        A        Maximize grow 0
#Mouse        1        6        N        Layer 0 5
#Mouse        2        6        N        Layer 0 4
Mouse   1        6        A        Thumbnail
Mouse        3        6        N        Stick
Mouse   1       I       A       Move-or-Iconify

DestroyFunc Raise_LowerMoveRaise
AddToFunc Raise_LowerMoveRaise
+ C Raise
+ M Lower
+ M Move
+ M Raise


DestroyFunc Lower_Move
AddToFunc Lower_Move
+ C WindowShade True
+ D WindowShade False
+ M Move

DestroyFunc ShadeResize
AddToFunc ShadeResize
+ M Resize

DestroyFunc ResizeOnPress
AddToFunc ResizeOnPress
+ I Resize

#Mouse        1        WTI        M        Raise_LowerMoveRaise
#Mouse        2        WTI        M        ResizeOnPress
#Mouse        3        WTI        M        Lower_Move

Mouse        1        T        N        Raise_LowerMoveRaise
Mouse        2        T        N        ShadeResize
Mouse        3        T        N        Lower_Move
Mouse        3        R        A        Exec exec aterm &

#####################################Window styles
Style * MinOverlapPercentPlacement
#Style * NoIcon
#Style * MiniIcon $[FVWM_CRYSTAL_FRAME_ICON_SIZE]/fvwm-crystal/app_noicon.png
Style * IndexedWindowName
Style * IndexedIconName
Style * DecorateTransient
Style * WindowShadeSteps 32
Style * WindowShadeShrinks

EdgeScroll        0        0
EdgeResistance        500        100
EdgeThickness        1

HideGeometryWindow        Move, Resize

OpaqueMoveSize 100
Style * ResizeOpaque

SnapAttraction        3        All

###################################Mouse action
Mouse        1        R        A        Popup RootMenu
Mouse        2        R        N        Nop
#Mouse        3        R        A        Exec exec aterm &
#Mouse        3        R        M        Exec exec rox &
Mouse        4        R        A        Nop
Mouse        5        R        A        Nop

################################Focus policy
Style * FPEnterToFocus
Style * !FPLeaveToUnfocus
Style * FPFocusByProgram
Style * FPFocusByFunction
Style * !FPFocusByFunctionWarpPointer
Style * !FPClickRaisesFocused
Style * FPClickDecorRaisesFocused
Style * FPAllowRaiseClickFunction
Style * FPGrabFocus
Style * FPGrabFocusTransient
Style * FPReleaseFocus
Style * FPReleaseFocusTransient

###############################Menu style
MenuStyle * MenuColorset 11
MenuStyle * ActiveColorset 12
MenuStyle * BorderWidth 1
MenuStyle * HilightBack
MenuStyle * ActiveFore
MenuStyle * Hilight3DOff
MenuStyle * Animation
MenuStyle * PopdownDelayed
MenuStyle * TitleUnderlines0
MenuStyle * Font "xft:Verdana-10"
MenuStyle * VerticalItemSpacing 1 6
MenuStyle * SeparatorsLong

DestroyMenu recreate RootMenu
AddToMenu RootMenu "Valas-FVWM" Title Top
+ "" Nop
+ "Aterm" Exec exec aterm
+ "Mutt" Exec exec mutt
+ "Mozilla" Exec exec mozilla
+ "Opera" Exec exec opera
+ "Gftp" Exec exec gftp
+ "Gaim" Exec exec gaim
+ "QQ" Exec exec /LumaQQ/lumaqq
+ "Sylpheed" Exec exec sylpheed
+ "Prozgui" Exec exec prozgui
+ "D4x" Exec exec nt
+ "BitTorrent" Exec exec azureus
+ "Gqview" Exec exec gqview
+ "Xpdf" Exec exec xpdf
+ "Abiword" Exec exec abiword-2.0
+ "Stardict" Exec exec stardict
+ "Eclipse" Exec exec /opt/eclipse/eclipse
+ "Xmms" Exec exec xmms
+ "Gmplayer" Exec exec gmplayer
+ "Xine" Exec exec xine

Key F3 A A Module FvwmConsole -terminal aterm

ClickTime 500

DesktopSize 8x1

CursorStyle root top_left_arrow

DestroyFunc Thumbnail
AddToFunc Thumbnail
+ I ThisWindow (!Shaded Iconifiable !Iconic) PipeRead "xwd -silent -id $[w.id] | convert -depth 8 -scale $[FVWM_ICON_SIZE] -frame 1x1 -mattecolor black -quality 0 xwd:- png:$[HOME]/.fvwm/icon.tmp.$[w.id].png && echo WindowStyle IconOverride, Icon $[HOME]/.fvwm/icon.tmp.$[w.id].png || echo Nop"
+ I Iconify
                       
DestroyFunc DeThumbnail
AddToFunc DeThumbnail
+ I DestroyWindowStyle
+ I Exec exec rm -f $[HOME]/.fvwm/icon.tmp.$[w.id].png

*FvwmEvent: deiconify DeThumbnail

##################Pager ##############
*module-pager: LabelsBelow
*module-pager: Balloons Pager
*module-pager: BalloonYOffset -5
*module-pager: MiniIcons
*module-pager: Font none
*module-pager: Colorset * 6
*module-pager: HilightColorset * 7
*module-pager: WindowColorsets 8 9
*module-pager: BalloonColorset * 10
Style module-pager NoIcon, NoTitle, NoHandles, WindowListSkip, Sticky, NeverFocus, FixedPosition, FixedSize
PipeRead "echo *module-pager: Geometry 223x24+$((($[vp.width]-223)/2))+3"
Module FvwmPager module-pager 0 0

################### Taskbar ################
#Colorset 21 fb white, bg #c6c3c6, sh black, bi black, RootTransparent
#DestroyModuleConfig module-taskbar: *
#*module-taskbar: Geometry +0-0
#*module-taskbar: Rows 1
#*module-taskbar: Font "xft:Bitstream Vera Sans Mono:style=Roman:size=10"
#*module-taskbar: StatusFont "xft:Bitstream Vera Sans Mono:style=Roman:size=10"
#*module-taskbar: SelFont "xft:Bitstream Vera Sans Mono:style=Roman:size=10"
#*module-taskbar: Colorset 21
#*module-taskbar: AutoStick
#*module-taskbar: UseSkipList
#*module-taskbar: PageOnly
#*module-taskbar: ShowTips
#*module-taskbar: NoDefaultStarButton
#*module-taskbar: NoBrightGFocus
#*module-taskbar: 3DFvwm
#*module-taskbar: MailCheck 0
#*module-taskbar: IconColorset 21
#*module-taskbar: FocusColorset 21
#*module-taskbar: WindowButtonsRightMargin 124
#*module-taskbar: ColckFormat
#Style module-taskbar NoIcon, NoTitle, CirculateSkip, NoHandles, WindowListSkip, Sticky, NeverFocus, FixedPosition, FixedSize, StaysOnBottom, BorderWidth 1

#Module FvwmTaskBar module-taskbar

*module-buttons-clock: BoxSize smart
*module-buttons-clock: Colorset 1
*module-buttons-clock: Font "xft:Verdana-8"
*module-buttons-clock: Padding 4 4
*module-buttons-clock: Frame 0
*module-buttons-clock: Geometry 60x24-3+3
*module-buttons-clock: Rows 1
*module-buttons-clock: (1x1, Swallow (NoClose, UseOld) "xdaliclock" 'Exec xdaliclock -24 -fg gray -noseconds -transparent -font -*-helvetica-*-r-*-*-20-*-*-*-*-*-iso8859-2')

Style module-buttons-clock NoTitle, NoHandles, Sticky, NoIcon, NeverFocus, WindowListSkip, FixedSize, StaysOnBottom
#Exec killall xdaliclock
Module FvwmButtons module-buttons-clock

#*module-buttons-docklet: BoxSize smart
#*module-buttons-docklet: Colorset 1

#*module-buttons-docklet: Font "xft:Verdana-8"
#*module-buttons-docklet: Padding 4 4
#*module-buttons-docklet: Frame 0
#*module-buttons-docklet: Geometry 24x24-214+3
#*module-buttons-docklet: Rows 1
#*module-buttons-docklet: (1x1, Swallow (NoClose, UseOld) "psidock")

#Style module-buttons-docklet NoTitle, NoHandles, Sticky, NoIcon, NeverFocus, WindowListSkip, FixedPosition, FixedSize, StaysOnBottom
#Module FvwmButtons module-buttons-docklet

*Module-iconman-taskbar: FocusAndSelectButton flat
*Module-iconman-taskbar: FocusButton flat
*Module-iconman-taskbar: Font "xft:Verdana-8"
*Module-iconman-taskbar: IconButton flat
*Module-iconman-taskbar: PlainButton flat
*Module-iconman-taskbar: Colorset 2
*Module-iconman-taskbar: PlainColorset 4
*Module-iconman-taskbar: FocusColorset 3
*Module-iconman-taskbar: SelectColorset 4
*Module-iconman-taskbar: FocusAndSelectColorset 5
PipeRead "echo *Module-iconman-taskbar: ButtonGeometry $((($[vp.width])))x24"
*Module-iconman-taskbar: ManagerGeometry 1x1+0-0
*Module-iconman-taskbar: Resolution Global
*Module-iconman-taskbar: DrawIcons True
*Module-iconman-taskbar: FollowFocus True
*Module-iconman-taskbar: UseWinList True
*Module-iconman-taskbar: ShowOnlyIcons Never
*Module-iconman-taskbar: Format "%t"
*Module-iconman-taskbar: Title ""
*Module-iconman-taskbar: Sort id
*Module-iconman-taskbar: Action Mouse 1 A SendCommand "Function Module-iconman-taskbar_ComeHere"
*Module-iconman-taskbar: Action Mouse 3 A SendCommand "Function Module-iconman-taskbar_GoThere"

DestroyFunc Module-iconman-taskbar_ComeHere
AddToFunc Module-iconman-taskbar_ComeHere
+ I Iconify False
+ I MoveToDesk 0 $[desk.n]
+ I MoveToPage $[page.nx] $[page.ny]
+ I WarpToWindow 50 50

DestroyFunc Module-iconman-taskbar_GoThere
AddToFunc Module-iconman-taskbar_GoThere
+ I Iconify False
+ I WarpToWindow 50 50

Style Module-iconman-taskbar NoIcon, NoTitle, WindowListSkip, FixedSize, NoHandles, Sticky, FixedPosition, NeverFocus, StaysOnBottom

#Module FvwmIconMan Module-iconman-taskbar




DestroyFunc Move-or-Iconify
AddToFunc Move-or-Iconify    I Raise
+ M Move
+ D Iconify
+ D Exec exec rm -f $[HOME]/.fvwm/icon.tmp.$[w.id].png




*module-buttons-panel: BoxSize smart
*module-buttons-panel: Colorset 1
*module-buttons-panel: Frame 0
*module-buttons-panel: Padding 4 4
*module-buttons-panel: Font "xft:Verdana-10"
*module-buttons-panel: Geometry +3+3
*module-buttons-panel: Rows 1
*module-buttons-panel: (1x1, Icon "$[HOME]/.fvwm/Icons/panel_desktop.png", Action (Mouse 1) Popup panel-menu Root 0 5

Style module-buttons-panel NoTitle, NoHandles, Sticky, NoIcon, NeverFocus, WindowListSkip, FixedPosition, FixedSize, StaysOnBottom

Module FvwmButtons module-buttons-panel

DestroyMenu panel-menu
AddToMenu panel-menu
+ "Take screenshot" Exec exec scrot -q 50 'fvwm_%Y-%m-%d_%H-%M.jpg'
+ "%$[HOME]/.fvwm/Icons/panel_lock.png%Lock" Exec exec xlock -mode galaxy
+ "Restart fvwm" Restart
+ "Quit" Quit





DestroyFunc StartFunction
AddToFunc StartFunction
+ I Exec exec fvwm-root -r $[HOME]/.fvwm/image/mushroom.png

DestroyFunc ExitFunction
AddToFunc ExitFunction
+ I Test (!ToRestart) Exec exec rm -f $[HOME]/.fvwm/icon.tmp.*
页: [1] 2
查看完整版本: 个人认为fvwm不错,很稳定,定制也方便,只要一个配置文件即