三、环境变量设置
需要在.cshrc中加入如下几行:
set TERM=xterm set SGML_CATALOG_FILES=/usr/local/share/sgml/catalog set XML_CATALOG_FILES=/usr/local/share/xml/catalog setenv LC_CTYPE zh_CN.GB2312 setenv XMODIFIERS "@im=fcitx" alias jj openjade -E 0 -t sgml -V nochunks –d /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl alias mm mount_msdos /dev/wd1i /mnt
另外还在 set path行未加入 /usr/local/emul/redhat/usr/bin 保存.解压我保存的fvwm配置文件:
tar xvfz fvwm.tar.gz or unzip fvwm.zip
另外修建.xinitrc文件, 文件内容:
fcitx & exec /usr/X11R6/bin/fvwm -f ~/.fvwm/.fvwm2rc
下面是关于 .fvwm2rc文件说明:
# be sure to customize these paths for your installation:
ModulePath /usr/X11R6/lib/X11/fvwm模块的路径名
PixmapPath /usr/X11R6/include/X11/pixmapsfvwm使用图片的路径, 桌面背景图片就是放在这里, 我使用的桌面背景图片是penbsddesktop.xpm
IconPath /usr/X11R6/include/X11/bitmaps
# make sure these fonts exist on your system:
WindowFont -adobe-times-bold-r-*-*-14-*-*-*-*-*-*-*窗口使用的字体
IconFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
# some simple default key bindings:
# Key Next A SCM Next Focus
Key Prior A SCM Prev
# Focus
# some simple default mouse bindings:
# for the root window:
Mouse 1 R A Menu RootMenu Nop
Mouse 2 R A Menu Window-Ops Nop
Mouse 3 R A WindowList
窗口title上的各按键的定义说明
# for the title bar buttons:
Mouse 0 1 A Menu Window-Ops2 Close
Mouse 0 2 A Close
Mouse 0 4 A Maximize-Func
Mouse 1 6 A Iconify
# for other parts of the window/borders/icons:
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 FST A Menu Window-Ops2 Nop
Mouse 3 TSIF A RaiseLower
############################################################################
# Now some keyboard shortcuts.
# Arrow Keys
# press arrow + control anywhere, and scroll by 1 page
Key Left A C Scroll -100 0
Key Right A C Scroll +100 +0
Key Up A C Scroll +0 -100
Key Down A C Scroll +0 +100
# press arrow + meta key, and scroll by 1/10 of a page
Key Left A M Scroll -10 +0
Key Right A M Scroll +10 +0
Key Up A M Scroll +0 -10
Key Down A M Scroll +0 +10
# press shift arrow + control anywhere, and move the pointer by 1% of a page
Key Left A SC CursorMove -1 0
Key Right A SC CursorMove +1 +0
Key Up A SC CursorMove +0 -1
Key Down A SC CursorMove +0 +1
# press shift arrow + meta key, and move the pointer by 1/10 of a page
Key Left A SM CursorMove -10 +0
Key Right A SM CursorMove +10 +0
Key Up A SM CursorMove +0 -10
Key Down A SM CursorMove +0 +10
# Keyboard accelerators
Key F1 A M Menu RootMenu
Key F2 A M Menu Window-Ops
Key F3 A M WindowList FvwmWinList
Key F4 A M Iconify
Key F5 A M Move
Key F6 A M Resize
Key F7 A M CirculateUp
Key F8 A M CirculateDown
#Page Up/Dapge Down keys are used to scroll by one desktop page
# in any context, press page up/down + control
# in root context, just pressing page up/down is OK
#
# I prefer the non-wrapping scroll. These are for example purposes only
#Key Next A C Scroll 100000 0
#Key Next R N Scroll 100000 0
#Key Prior A C Scroll -100000 0
#Key Prior R N Scroll -100000 0