|
发表于 2012-3-14 09:05:58
|
显示全部楼层
Post by easior lars;2161709
谢谢你提供的资料,正在读guide,基本能够看懂配置文件。只欠与手册页配合,自己动手。至于中文手册,可能是很多年前的爱好者翻译的。似乎阁下对中文有一种天生的免疫能力,很难想象阁下竟然从来没有出过国?!
言归正传,试了几个配置文件,感觉FVWM确实可以千变万化、美艳绝伦。特别是几个法国人的配置文件,非常有创意。但是,感觉总有一些缺陷,好像法国人的显示器特别高级,分辨率竟然能达到1792x*。因此,使用他们的配置文件,首先要调整屏幕的参数,以gulivert配置中的一部分为例:
- ###################################################################
- ### OSX Dock by Gulivert
- ### Version 1.1
- ###################################################################
- DestroyModuleConfig OSXDock: *
- *OSXDock: Geometry 1792+0+0
- *OSXDock: Font "Shadow=1 b bl r br r :xft:Verdona:roman:pixelsize=11:minspace=True"
- *OSXDock: Colorset 31
- *OSXDock: Rows 26
- *OSXDock: Columns 1792
- *OSXDock: BoxSize fixed
- *OSXDock: Frame 0
- *OSXDock: (76x26+20+4, Title(Side) "GentooBox", ActionOnPress, Action(Mouse 1) `Menu MenuFvwmRoot Rectangle +$left+26 0 0m`)
- *OSXDock: (80x26+96+4, Title(Side) "Preferences", ActionOnPress, Action(Mouse 1) `Menu MenuFVWMconfiguration Rectangle +$left+26 0 0m`)
- *OSXDock: (90x26+176+4, Title(Side) "Gentoo-Tools", ActionOnPress, Action(Mouse 1) `Menu MenuGentooUpdate Rectangle +$left+26 0 0m`)
- *OSXDock: (40x22+280+3, Frame 0, Left, Swallow(UseOld) "cpu" `Exec exec xosview -title cpu -labels -caption -mem -load -swap -page -disk -int`)
- *OSXDock: (38x26+325+4, Title(Side) "CPU :")
- *OSXDock: (38x26+363+0, Padding 2 0, Frame 0, Swallow (UseOld, NoClose) FvwmTemp1 `FvwmScript FvwmTemp1 30`)
- *OSXDock: (30x26+404+4, Title(Side) "MB :")
- *OSXDock: (38x26+434+0, Padding 2 0, Frame 0, Swallow (UseOld, NoClose) FvwmTemp2 `FvwmScript FvwmTemp2 30`)
- *OSXDock: (68x26+474+4, Title(Side) "Mem free :")
- *OSXDock: (120x26+542+0, Padding 2 0, Frame 0, Swallow (UseOld, NoClose) FvwmMeminfo `FvwmScript FvwmMeminfo 30`)
- *OSXDock: (185x26+803+0, Padding 2 0, Frame 0, Swallow (UseOld, NoClose) FvwmKernel `FvwmScript FvwmKernel`)
- *OSXDock: (16x26+1243+0, Icon $[fvwm_icon_path]/playlist.png, ActionOnPress, Action(Mouse 1) `Exec exec $[fvwm_scripts_path]/xmms-start.sh`, Action(Mouse 4) `Exec exec xmms-shell -e 'window all show'`, Action(Mouse 5) `Exec exec xmms-shell -e 'window all hide'`)
- *OSXDock: (16x26+1259+0, Icon $[fvwm_icon_path]/prev.png, ActionOnPress, Action(Mouse 1) `Exec exec xmms-shell -e 'previous'`, Action(Mouse 3) `Menu XMMSControl `, Action(Mouse 4) `Exec exec xmms-shell -e 'upvolume'`, Action(Mouse 5) `Exec exec xmms-shell -e 'downvolume'`)
- *OSXDock: (16x26+1275+0, Icon $[fvwm_icon_path]/play.png, ActionOnPress, Action(Mouse 1) `Exec exec xmms-shell -e 'play'`, Action(Mouse 3) `Menu XMMSControl Rectangle +$left+26 0 0m`, Action(Mouse 4) `Exec exec xmms-shell -e 'upvolume'`, Action(Mouse 5) `Exec exec xmms-shell -e 'downvolume'`)
- *OSXDock: (16x26+1291+0, Icon $[fvwm_icon_path]/pause.png, ActionOnPress, Action(Mouse 1) `Exec exec xmms-shell -e 'pause'`, Action(Mouse 3) `Menu XMMSControl Rectangle +$left+26 0 0m`, Action(Mouse 4) `Exec exec xmms-shell -e 'upvolume'`, Action(Mouse 5) `Exec exec xmms-shell -e 'downvolume'`)
- *OSXDock: (16x26+1307+0, Icon $[fvwm_icon_path]/stop.png, ActionOnPress, Action(Mouse 1) `Exec exec xmms-shell -e 'stop'`, Action(Mouse 3) `Menu XMMSControl Rectangle +$left+26 0 0m`, Action(Mouse 4) `Exec exec xmms-shell -e 'upvolume'`, Action(Mouse 5) `Exec exec xmms-shell -e 'downvolume'`)
- *OSXDock: (16x26+1323+0, Icon $[fvwm_icon_path]/next.png, ActionOnPress, Action(Mouse 1) `Exec exec xmms-shell -e 'next'`, Action(Mouse 3) `Menu XMMSControl Rectangle +$left+26 0 0m`, Action(Mouse 4) `Exec exec xmms-shell -e 'upvolume'`, Action(Mouse 5) `Exec exec xmms-shell -e 'downvolume'`)
- *OSXDock: (90x22+1346+2, Frame 0, Swallow (UseOld, NoClose) FvwmPager)
- Test (x peksystray) *OSXDock: (24x24+1446+3, Size 22 22, Swallow (NoClose, UseOld, Respawn) "peksystray" 'Nop')
- Test (x peksystray) *OSXDock: (24x24+1470+3, Size 22 22, Swallow (NoClose, UseOld, Respawn) "peksystray" 'Nop')
- Test (x peksystray) *OSXDock: (24x24+1494+3, Size 22 22, Swallow (NoClose, UseOld, Respawn) "peksystray" 'Nop')
- *OSXDock: (24x26+1520+0, Padding 1 0, Icon $[fvwm_icon_path]/find.png, ActionOnPress, Action(Mouse 1) `DockLaunch "gnome-search-tool" $left $top`)
- *OSXDock: (24x26+1544+0, Padding 1 0, Icon $[fvwm_icon_path]/eject.png, ActionOnPress, Action(Mouse 1) `DockLaunch "$[fvwm_scripts_path]/eject.sh" $left $top`)
- *OSXDock: (24x26+1568+0, Padding 1 0, Icon $[fvwm_icon_path]/displays.png, ActionOnPress, Action(Mouse 1) `DockLaunch "$[fvwm_scripts_path]/screenshot.sh" $left $top`)
- *OSXDock: (24x26+1592+0, Padding 1 0, Icon $[fvwm_icon_path]/v4.png, ActionOnPress, Action(Mouse 1) `DockLaunch "gamix" $left $top`)
- *OSXDock: (120x26+1622+0, Padding 2 0, Frame 0, Swallow (UseOld, NoClose) FvwmApplet-DigitalClock `FvwmScript FvwmApplet-DigitalClock 30`)
- *OSXDock: (26x26+1746+0, Padding 1 0, Icon $[fvwm_icon_path]/shutdown.png, ActionOnPress, Action(Mouse 1) `Exit`)
- DestroyFunc DockLaunch
- AddToFunc DockLaunch
- + C Any ($1) Next ($1) WindowListFunc
- + C TestRc (NoMatch) Exec $0
- + H Any ($1) WindowList ($1) Rectangle +$2+$3 0 -100m CurrentAtEnd UseListSkip SortByClass NoCurrentDeskTitle
- + D Exec $0
复制代码
尽管以前国内的爱好者也做过一些修改,但是没有彻底的修改完整。其实,我的想法是,能不能让xosdock的配置更智能一些,例如使用FvwmScript写脚本获得显示器的分辨率,然后配置文件中所有的数字采用变量,自动计算相关参数。可惜,目前本人还没有到达运用FvwmScript的能力。
另外,FVWM使用无线网络时,是否可以直接用networkmanager?好像字符界面下启动FVWM,总是报networkmanager的某个脚本有问题。字符界面下只能用wireless-tools上网?
最后,尽管以前问过,如何在字符界面下正常显示中文?tmux之类的好像无济于事。
上图:confused: |
|