LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 701|回复: 2

大家有没有试过红旗4.1下装fvwm呢

[复制链接]
发表于 2004-10-24 17:46:45 | 显示全部楼层 |阅读模式
今天下午试了一天也不知怎么会事,唉,入门难呀,过程是这的,我按下边的贴子安装的,
==============================================
首先cp fvwm-2.5.6.tar.bz2 /usr/local
tar jxvf fvwm-2.5.6.tar.bz2 (在/usr/local目录下面生成了fvwm2.5.6目录)
然后cd fvwm-2.5.6 再就是./configure,make ,make install
安装成功后,在/usr/local/bin的目录下面生成了一些文件,有fvwm,xpmroot等
你可以切换到usr/local/bin目录下面,ls fvwm*
会出来相关的生成的fvwm的文件。好了,现在fvwm已经在你的系统中成功安装了,如果遇到什么问题,也可以看看在fvwm-2.5.6中的INSTALL文件。

<三>启动Fvwm

经常看到很多人问这个问题,在linuxsir,linuxeden以及linuxfans上都有人在问这样的问题,实际上,我第一次用fvwm的时候,也不知道怎么来启动它,不过有一次在安装windowmaker的时候,误打误撞的受到了启发。知道了以命令行的方式来启动fvwm。首先设置你的系统启动方式是命令行:在/etc/inittab文件中,设置以命令行的方式来启动id:3:initdefault,然后把/etc/X11/xinit/xinitrc这个文件备份,最好改成xinitrc.old,,然后在/root或者是/home/usrname/下面建立一个.xinitrc文件,在里面写入:exec fvwm保存,然后以startx的方式,就进入了fvwm 。这种方式对我来说比较适用,因为我很少用gnome和kde,对于那些想在多种系统中切换的朋友,可能有些麻烦。因为你想进入gnome和kde的时候,还要重新把xinitrc.old改成xinitrc,然后要把根目录下面的.xinitrc文件改名。
============================================
我下了一个别人的fvwm2rc.内容是:
=============================================
#ImagePath ${HOME}/.fvwm/images
ImagePath /home/xiaocong/.fvwm/images
EdgeResistance 250 100
EdgeScroll 0 0
ClickTime 750
#DeskTopSize 2x1
Style * BorderWidth 2, HandleWidth 2, DepressableBorder
#ColormapFocus FollowsMouse
Style * MouseFocusClickRaises
Style * Font -*-simsun-medium-r-*-*-14-*-*-*-*-*-*-*
Style * IconFont -*-simsun-medium-r-*-*-12-*-*-*-*-*-*-*
Style * NoIconTitle
TitleStyle LeftJustified
TitleStyle height 20
MenuStyle * Font -*-simsun-medium-r-*-*-14-*-*-*-*-*-*-*
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 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 2 - Clear
ButtonStyle 4 - Clear MWMDecorMax
ButtonStyle 6 - Clear MWMDecorShade
CursorStyle TITLE 62
CursorStyle root top_left_arrow
Style "Fvwm*" Layer 5, NoTitle, Sticky, WindowListSkip
Style "Fvwm*" BorderWidth 2, CirculateSkipIcon, CirculateSkip
Style "FvwmPager" StaysOnTop
Style "kicker" NoTitle ,StaysOnTop
Read fvwm.strokes
Mouse 3 T A Menu Window-Ops2 Close
Mouse 3 I A Menu Window-Ops2 Close
Mouse 0 2 A Close
Mouse 0 4 A Maximize
Mouse 0 6 A Iconify
Mouse 0 1 A Thumbnail
Mouse 1 R A StrokeFunc DrawMotion FeedBack StrokeWidth 1
Mouse 3 R A Menu RootMenu Nop
Mouse 2 R A Menu ProgramsMenu Nop
Mouse 1 FS A Resize-or-Raise
Mouse 1 T A Move-or-Raise
Mouse 1 I A Move-or-Iconify
Key F1 A A Exec exec konsole
Key F2 A A Exec exec kfmclient openProfile filemanagement &
Key F3 A A Exec exec opera
Key F4 WTSFI M Close
Key F4 WTSFI M2 Close
Key F9 A A Quit
Key F12 A A Exec exec xkill

######################## Initialization Functions ############################
DestroyFunc StartFunction
AddToFunc StartFunction
#+ I Module FvwmTaskBar
+ I Module FvwmButtons
#+ I Module FvwmPager
+ I Exec kicker
+ I Exec fvwm-root -r $HOME/.fvwm/images/kde1.png
# InitProgram
DestroyFunc InitFunction
AddToFunc InitFunction
+ I Exec exec xscreensaver -no-splash
# Exit program
DestroyFunc ExitFunction
AddToFunc ExitFunction
+ I Test (!ToRestart) Exec exec rm -f $[HOME]/.fvwm/icon.tmp.*
######################## Menus ###################
DestroyMenu start
AddToMenu start
+ "注销" Popup exit
+ "" Nop
+ "关机" Popup halt
+ "" Nop
+ "重启" Popup reboot
+ "" Nop
+ "锁住屏幕" Exec xscreensaver-command --lock&
+ "" Nop
+ "截取屏幕" Exec exec ksnapshot
DestroyMenu exit
AddToMenu exit "realy?" Title
+ "yes" Quit
DestroyMenu halt
AddToMenu halt "realy?" Title
+ "yes" Exec exec halt -p
DestroyMenu reboot
AddToMenu reboot "realy?" Title
+ "yes" Exec exec reboot

DestroyMenu RootMenu
AddToMenu RootMenu
+ "刷新" Refresh
+ "" Nop
#+ "aterm" Exec exec aterm -tr&
#+ "" Nop
#+ "konsole" Exec exec konsole
#+ "" Nop
+ "terminal" Popup terminal
+ "" Nop
+ "konqueror" Exec exec kfmclient openProfile filemanagement&
+ "" Nop
+ "网络" Popup 网络
+ "" Nop
+ "文字处理" Popup wordedit
+ "" Nop
+ "媒体娱乐" Popup media
+ "" Nop
+ "图片处理" Popup picture
+ "" Nop
+ "运行" FvwmForm FvwmForm-Run
+ "" Nop
+ "system" Popup start
+ "" Nop

+ "Exit Fvwm" Popup Quit-Verify
DestroyMenu terminal
AddToMenu "terminal"
+ "rxvt" Exec exec rxvt
+ "" Nop
+ "xgterm" Exec exec xgterm -fn 10x20
+ "" Nop
+ "aterm" Exec exec aterm -tr&
+ "" Nop
+ "g-terminal " Exec exec gnome-terminal
+ "" Nop
+ "konsole" Exec exec konsole
DestroyMenu 网络
AddToMenu "网络"
+ "gaim" Exec exec gaim
+ "" Nop
+ "mozilla" Exec exec mozilla
+ "" Nop
+ "opera" Exec exec opera
+ "" Nop
+ "firefox" Exec exec firefox
DestroyMenu wordedit
AddToMenu "wordedit"
+ "gedit" Exec exec gedit
+ "" Nop
+ "kile" Exec exec kile
+ "" Nop
+ "acroread" Exec exec acroread
DestroyMenu media
AddToMenu "media"
+ "xmms" Exec exec xmms
DestroyMenu picture
AddToMenu "picture"
+ "gimp" Exec exec gimp
+ "" Nop
+ "gqview" Exec exec gqview
DestroyMenu Quit-Verify
AddToMenu Quit-Verify
+ "FvwmCommand" Module FvwmConsole -terminal xterm -geometry 25x3-0+0\
-bg gold -fg midnightblue \
-fn "-adobe-courier-medium-r-*-*-14-*-*-*-*-*-*-*"
+ "Restart Fvwm2" Restart fvwm2
+ "Yes, Really Quit" Quit
######################## Sample Functions ##########################
AddToMenu Window-Ops2 "!" Title
+ "close" Close
+ "min||max" Iconify
+ "destroyI" DeThumbnail
AddToFunc Move-or-Raise I Raise
+ "M" Move
+ "D" WindowShade
DestroyFunc Move-or-Raise2
AddToFunc Move-or-Raise2 "M" Raise
+ "M" Move
+ "D" Lower
DestroyFunc Maximize-Func
AddToFunc Maximize-Func "M" Maximize 0 100
+ "C" Maximize 0 80
+ "D" Maximize 100 98
DestroyFunc Maximize-Func2
AddToFunc Maximize-Func2 "M" Maximize 100 0
+ "C" Maximize 80 0
+ "D" Maximize 100 98
DestroyFunc Move-or-Iconify
AddToFunc Move-or-Iconify I Raise
+ "M" Move
+ "D" Iconify
DestroyFunc Resize-or-Raise
AddToFunc Resize-or-Raise I Raise
+ "M" Resize
+ "D" Lower
DestroyFunc Resize-or-Raise2
AddToFunc Resize-or-Raise2 "M" Raise
+ "M" Resize
+ "D" Lower
DestroyFunc Iconify-and-Raise
AddToFunc Iconify-and-Raise I Iconify
+ I Raise
DestroyFunc Thumbnail
AddToFunc Thumbnail
+ I ThisWindow (!Shaded Iconifiable !Iconic) PipeRead "xwd -silent -id $[w.id] | convert -depth 8 -scale $[FVWM_ICON_SIZE] -frame 9x9 -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
#taskbar
#Style "FvwmTaskBar" NoTitle,BorderWidth 2,HandleWidth 2,Sticky,StaysOnTop,WindowListSkip,CirculateSkip
#*FvwmTaskBar: StartName FVWM
#*FvwmTaskBar: StartMenu start
#*FvwmTaskBar: Font -*-simsun-medium-r-*-*-14-*-*-*-*-*-*-*
#*FvwmTaskBar: SelFont -*-simsun-medium-r-*-*-14-*-*-*-*-*-*-*
#*FvwmTaskBar: Maximize 100 -30p
#*FvwmTaskBar: Back seagreen
#*FvwmTaskBar: Fore gold2
#*FvwmTaskBar: IconBack darkgreen
#*FvwmTaskBar: IconFore white
#*FvwmTaskBarUseSkipList
#Button
#*FvwmButtonsFore red
#*FvwmButtonsBack gold
*FvwmButtonsFont 3x9
*FvwmButtonsGeometry +430-745
#*FvwmButtonsColumns 7 #设置FvwmButtons为七列,一行
*FvwmButtonsRows 1
*FvwmButtons(0.5x1,Icon terminal.xpm,Action 'Exec konsole')
*FvwmButtons(0.5x1,Icon folder.xpm Action 'Exec kfmclient openProfile filemanagement&')
*FvwmButtons(0.5x1,Icon opera.xpm, Action 'Exec opera &')
*FvwmButtons(0.5x1,Icon stop.xpm, Action 'Exec xkill &')
*FvwmButtons(0.5x1,Icon gnome-favorites.xpm, Action 'Exec gaim &')
*FvwmButtons(0.5x1,Icon xterm-terminal.xpm, Action 'Exec xgterm -fn 10x20 &')
#*FvwmButtons(Title xmms, Action 'Exec xmms &')
#*FvwmButtons(Title gqview, Action 'Exec gqview &')
#*FvwmButtons(Title "restart fv", Action restart fvwm2)
*FvwmButtons(0.5x1,Icon go.xpm, Action Menu RootMenu Nop)
#*FvwmButtons: (Size 6x8, Swallow "FvwmPager" "FvwmPager 0 0")
#Pager
#*FvwmPagerBack #4a708b
#*FvwmPagerFore #000000
#*FvwmPagerGeometry 40x40+360-745

Colorset 41 RootTransparent buffer, fg white, bg average, Tint cyan 15, bgTint cyan 15 # tint is optional
Colorset 42 RootTransparent buffer, fg white, bg average, Tint red 15, bgTint red 15 # tint is optional

Style * Colorset 41, HilightColorset 42 # to use fg and bg
BorderStyle Inactive Colorset 42 -- flat
BorderStyle Active Colorset 41 -- flat
TitleStyle AllInactive Colorset 42 -- flat
TitleStyle AllActive Colorset 41 -- flat
ButtonStyle All -- UseTitleStyle flat

Colorset 23 RootTransparent, fg rgb:ff/ff/c4, bg average, Tint black 20, bgTint black 20
MenuStyle * MenuColorset 23
*FvwmPager: Colorset * 23
*FvwmButtons: Colorset 23
*FvwmIconMan: Colorset 23

Style FvwmPager ParentalRelativity
Style FvwmButtons ParentalRelativity
Style FvwmIconMan ParentalRelativity
SetEnv FVWM_ICON_SIZE 120
===========================================
我是看不懂的,但有了效果后我是会去学懂它的,我先init3 然后startx,但出来的效果是桌面一版黑色,没有这这种效果:http://www.linuxfans.org/nuke/mo ... ,怎么就没有 ,当右健按下时可发出一点http://www.linuxfans.org/nuke/mo ... ...................
 楼主| 发表于 2004-10-24 17:51:58 | 显示全部楼层

大家有没有试过红旗4.1下装fvwm呢

今天下午试了一天也不知怎么会事,唉,入门难呀,过程是这的,我按下边的贴子安装的,
==============================================
首先cp fvwm-2.5.6.tar.bz2 /usr/local
tar jxvf fvwm-2.5.6.tar.bz2 (在/usr/local目录下面生成了fvwm2.5.6目录)
然后cd fvwm-2.5.6 再就是./configure,make ,make install
安装成功后,在/usr/local/bin的目录下面生成了一些文件,有fvwm,xpmroot等
你可以切换到usr/local/bin目录下面,ls fvwm*
会出来相关的生成的fvwm的文件。好了,现在fvwm已经在你的系统中成功安装了,如果遇到什么问题,也可以看看在fvwm-2.5.6中的INSTALL文件。

<三>启动Fvwm

经常看到很多人问这个问题,在linuxsir,linuxeden以及linuxfans上都有人在问这样的问题,实际上,我第一次用fvwm的时候,也不知道怎么来启动它,不过有一次在安装windowmaker的时候,误打误撞的受到了启发。知道了以命令行的方式来启动fvwm。首先设置你的系统启动方式是命令行:在/etc/inittab文件中,设置以命令行的方式来启动id:3:initdefault,然后把/etc/X11/xinit/xinitrc这个文件备份,最好改成xinitrc.old,,然后在/root或者是/home/usrname/下面建立一个.xinitrc文件,在里面写入:exec fvwm保存,然后以startx的方式,就进入了fvwm 。这种方式对我来说比较适用,因为我很少用gnome和kde,对于那些想在多种系统中切换的朋友,可能有些麻烦。因为你想进入gnome和kde的时候,还要重新把xinitrc.old改成xinitrc,然后要把根目录下面的.xinitrc文件改名。
============================================
我下了一个别人的fvwm2rc.内容是:
=============================================
#ImagePath ${HOME}/.fvwm/images
ImagePath /home/xiaocong/.fvwm/images
EdgeResistance 250 100
EdgeScroll 0 0
ClickTime 750
#DeskTopSize 2x1
Style * BorderWidth 2, HandleWidth 2, DepressableBorder
#ColormapFocus FollowsMouse
Style * MouseFocusClickRaises
Style * Font -*-simsun-medium-r-*-*-14-*-*-*-*-*-*-*
Style * IconFont -*-simsun-medium-r-*-*-12-*-*-*-*-*-*-*
Style * NoIconTitle
TitleStyle LeftJustified
TitleStyle height 20
MenuStyle * Font -*-simsun-medium-r-*-*-14-*-*-*-*-*-*-*
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 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 2 - Clear
ButtonStyle 4 - Clear MWMDecorMax
ButtonStyle 6 - Clear MWMDecorShade
CursorStyle TITLE 62
CursorStyle root top_left_arrow
Style "Fvwm*" Layer 5, NoTitle, Sticky, WindowListSkip
Style "Fvwm*" BorderWidth 2, CirculateSkipIcon, CirculateSkip
Style "FvwmPager" StaysOnTop
Style "kicker" NoTitle ,StaysOnTop
Read fvwm.strokes
Mouse 3 T A Menu Window-Ops2 Close
Mouse 3 I A Menu Window-Ops2 Close
Mouse 0 2 A Close
Mouse 0 4 A Maximize
Mouse 0 6 A Iconify
Mouse 0 1 A Thumbnail
Mouse 1 R A StrokeFunc DrawMotion FeedBack StrokeWidth 1
Mouse 3 R A Menu RootMenu Nop
Mouse 2 R A Menu ProgramsMenu Nop
Mouse 1 FS A Resize-or-Raise
Mouse 1 T A Move-or-Raise
Mouse 1 I A Move-or-Iconify
Key F1 A A Exec exec konsole
Key F2 A A Exec exec kfmclient openProfile filemanagement &
Key F3 A A Exec exec opera
Key F4 WTSFI M Close
Key F4 WTSFI M2 Close
Key F9 A A Quit
Key F12 A A Exec exec xkill

######################## Initialization Functions ############################
DestroyFunc StartFunction
AddToFunc StartFunction
#+ I Module FvwmTaskBar
+ I Module FvwmButtons
#+ I Module FvwmPager
+ I Exec kicker
+ I Exec fvwm-root -r $HOME/.fvwm/images/kde1.png
# InitProgram
DestroyFunc InitFunction
AddToFunc InitFunction
+ I Exec exec xscreensaver -no-splash
# Exit program
DestroyFunc ExitFunction
AddToFunc ExitFunction
+ I Test (!ToRestart) Exec exec rm -f $[HOME]/.fvwm/icon.tmp.*
######################## Menus ###################
DestroyMenu start
AddToMenu start
+ "注销" Popup exit
+ "" Nop
+ "关机" Popup halt
+ "" Nop
+ "重启" Popup reboot
+ "" Nop
+ "锁住屏幕" Exec xscreensaver-command --lock&
+ "" Nop
+ "截取屏幕" Exec exec ksnapshot
DestroyMenu exit
AddToMenu exit "realy?" Title
+ "yes" Quit
DestroyMenu halt
AddToMenu halt "realy?" Title
+ "yes" Exec exec halt -p
DestroyMenu reboot
AddToMenu reboot "realy?" Title
+ "yes" Exec exec reboot

DestroyMenu RootMenu
AddToMenu RootMenu
+ "刷新" Refresh
+ "" Nop
#+ "aterm" Exec exec aterm -tr&
#+ "" Nop
#+ "konsole" Exec exec konsole
#+ "" Nop
+ "terminal" Popup terminal
+ "" Nop
+ "konqueror" Exec exec kfmclient openProfile filemanagement&
+ "" Nop
+ "网络" Popup 网络
+ "" Nop
+ "文字处理" Popup wordedit
+ "" Nop
+ "媒体娱乐" Popup media
+ "" Nop
+ "图片处理" Popup picture
+ "" Nop
+ "运行" FvwmForm FvwmForm-Run
+ "" Nop
+ "system" Popup start
+ "" Nop

+ "Exit Fvwm" Popup Quit-Verify
DestroyMenu terminal
AddToMenu "terminal"
+ "rxvt" Exec exec rxvt
+ "" Nop
+ "xgterm" Exec exec xgterm -fn 10x20
+ "" Nop
+ "aterm" Exec exec aterm -tr&
+ "" Nop
+ "g-terminal " Exec exec gnome-terminal
+ "" Nop
+ "konsole" Exec exec konsole
DestroyMenu 网络
AddToMenu "网络"
+ "gaim" Exec exec gaim
+ "" Nop
+ "mozilla" Exec exec mozilla
+ "" Nop
+ "opera" Exec exec opera
+ "" Nop
+ "firefox" Exec exec firefox
DestroyMenu wordedit
AddToMenu "wordedit"
+ "gedit" Exec exec gedit
+ "" Nop
+ "kile" Exec exec kile
+ "" Nop
+ "acroread" Exec exec acroread
DestroyMenu media
AddToMenu "media"
+ "xmms" Exec exec xmms
DestroyMenu picture
AddToMenu "picture"
+ "gimp" Exec exec gimp
+ "" Nop
+ "gqview" Exec exec gqview
DestroyMenu Quit-Verify
AddToMenu Quit-Verify
+ "FvwmCommand" Module FvwmConsole -terminal xterm -geometry 25x3-0+0\
-bg gold -fg midnightblue \
-fn "-adobe-courier-medium-r-*-*-14-*-*-*-*-*-*-*"
+ "Restart Fvwm2" Restart fvwm2
+ "Yes, Really Quit" Quit
######################## Sample Functions ##########################
AddToMenu Window-Ops2 "!" Title
+ "close" Close
+ "min||max" Iconify
+ "destroyI" DeThumbnail
AddToFunc Move-or-Raise I Raise
+ "M" Move
+ "D" WindowShade
DestroyFunc Move-or-Raise2
AddToFunc Move-or-Raise2 "M" Raise
+ "M" Move
+ "D" Lower
DestroyFunc Maximize-Func
AddToFunc Maximize-Func "M" Maximize 0 100
+ "C" Maximize 0 80
+ "D" Maximize 100 98
DestroyFunc Maximize-Func2
AddToFunc Maximize-Func2 "M" Maximize 100 0
+ "C" Maximize 80 0
+ "D" Maximize 100 98
DestroyFunc Move-or-Iconify
AddToFunc Move-or-Iconify I Raise
+ "M" Move
+ "D" Iconify
DestroyFunc Resize-or-Raise
AddToFunc Resize-or-Raise I Raise
+ "M" Resize
+ "D" Lower
DestroyFunc Resize-or-Raise2
AddToFunc Resize-or-Raise2 "M" Raise
+ "M" Resize
+ "D" Lower
DestroyFunc Iconify-and-Raise
AddToFunc Iconify-and-Raise I Iconify
+ I Raise
DestroyFunc Thumbnail
AddToFunc Thumbnail
+ I ThisWindow (!Shaded Iconifiable !Iconic) PipeRead "xwd -silent -id $[w.id] | convert -depth 8 -scale $[FVWM_ICON_SIZE] -frame 9x9 -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
#taskbar
#Style "FvwmTaskBar" NoTitle,BorderWidth 2,HandleWidth 2,Sticky,StaysOnTop,WindowListSkip,CirculateSkip
#*FvwmTaskBar: StartName FVWM
#*FvwmTaskBar: StartMenu start
#*FvwmTaskBar: Font -*-simsun-medium-r-*-*-14-*-*-*-*-*-*-*
#*FvwmTaskBar: SelFont -*-simsun-medium-r-*-*-14-*-*-*-*-*-*-*
#*FvwmTaskBar: Maximize 100 -30p
#*FvwmTaskBar: Back seagreen
#*FvwmTaskBar: Fore gold2
#*FvwmTaskBar: IconBack darkgreen
#*FvwmTaskBar: IconFore white
#*FvwmTaskBarUseSkipList
#Button
#*FvwmButtonsFore red
#*FvwmButtonsBack gold
*FvwmButtonsFont 3x9
*FvwmButtonsGeometry +430-745
#*FvwmButtonsColumns 7 #设置FvwmButtons为七列,一行
*FvwmButtonsRows 1
*FvwmButtons(0.5x1,Icon terminal.xpm,Action 'Exec konsole')
*FvwmButtons(0.5x1,Icon folder.xpm Action 'Exec kfmclient openProfile filemanagement&')
*FvwmButtons(0.5x1,Icon opera.xpm, Action 'Exec opera &')
*FvwmButtons(0.5x1,Icon stop.xpm, Action 'Exec xkill &')
*FvwmButtons(0.5x1,Icon gnome-favorites.xpm, Action 'Exec gaim &')
*FvwmButtons(0.5x1,Icon xterm-terminal.xpm, Action 'Exec xgterm -fn 10x20 &')
#*FvwmButtons(Title xmms, Action 'Exec xmms &')
#*FvwmButtons(Title gqview, Action 'Exec gqview &')
#*FvwmButtons(Title "restart fv", Action restart fvwm2)
*FvwmButtons(0.5x1,Icon go.xpm, Action Menu RootMenu Nop)
#*FvwmButtons: (Size 6x8, Swallow "FvwmPager" "FvwmPager 0 0")
#Pager
#*FvwmPagerBack #4a708b
#*FvwmPagerFore #000000
#*FvwmPagerGeometry 40x40+360-745

Colorset 41 RootTransparent buffer, fg white, bg average, Tint cyan 15, bgTint cyan 15 # tint is optional
Colorset 42 RootTransparent buffer, fg white, bg average, Tint red 15, bgTint red 15 # tint is optional

Style * Colorset 41, HilightColorset 42 # to use fg and bg
BorderStyle Inactive Colorset 42 -- flat
BorderStyle Active Colorset 41 -- flat
TitleStyle AllInactive Colorset 42 -- flat
TitleStyle AllActive Colorset 41 -- flat
ButtonStyle All -- UseTitleStyle flat

Colorset 23 RootTransparent, fg rgb:ff/ff/c4, bg average, Tint black 20, bgTint black 20
MenuStyle * MenuColorset 23
*FvwmPager: Colorset * 23
*FvwmButtons: Colorset 23
*FvwmIconMan: Colorset 23

Style FvwmPager ParentalRelativity
Style FvwmButtons ParentalRelativity
Style FvwmIconMan ParentalRelativity
SetEnv FVWM_ICON_SIZE 120
===========================================
我是看不懂的,但有了效果后我是会去学懂它的,我先init3 然后startx,但出来的效果是桌面一版黑色,没有这这种效果:http://www.linuxfans.org/nuke/mo ... ,怎么就没有 ,当右健按下时可发出一点http://www.linuxfans.org/nuke/mo ... ...................
发表于 2004-11-30 20:09:49 | 显示全部楼层
我在4.1上装了,但不能启动,说差lib 什么stoke
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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