wwhim 发表于 2005-10-10 12:42:23

配置FVWM错误,在线求助!

FVWM Configuration:

Version:   2.5.14

Executables: /usr/local/bin
Man pages:   /usr/local/man
Modules:   /usr/local/libexec/fvwm/2.5.14
Data files:/usr/local/share/fvwm
Perl lib:    /usr/local/share/fvwm/perllib
Locale msg:/usr/local/share/localear de fr sv_SE zh_CN

With Asian bi-direct. text support? no: No fribidi-config found in PATH
With Gettext Native Lang support?   yes (libc)
With GTK+ required for FvwmGtk?   no: Failed to detect GTK, see config.log
With Iconv support?               yes (from C library)
With Mouse strokes (gestures)?      yes
With PNG image support?             yes
With ReadLine sup. in FvwmConsole?yes
With RPlay support in FvwmEvent?    no: Can't find working librplay
With Shaped window support?         yes
With Shared memory for XImage?      yes
With Session Management support?    yes
With Xinerama multi-head support?   yes
With Xft anti-alias font support?   yes (version 2)
With XPM image support?             yes
With Xrender image support?         yes

See INSTALL.fvwm for the description of what this may mean.

我想请问"With Asian bi-direct. text support?----no: No fribidi-config found in PATH"和"With GTK+ required for FvwmGtk?----no: Failed to detect GTK, see config.log"错误如何解决?

谢谢!

gangjh 发表于 2005-10-15 09:59:42

怎麼這麼多人喜歡配置fvwm
用fvwm-themes
有很多fvwm 主題
下載 有rpm,和deb包的
http://fvwm-themes.sourceforge.net/
我用debian,下載
http://fvwm-themes.sourceforge.net/deb/

只需修改某主題下的字體配置文件fons即可
我寫了段腳本修改xp風格字體

#!/bin/bash

MFONT='"xft:PMingLiU:Medium:pixelsize=12:minspace=true:encoding=iso10646-1"'

MVER='/Vertical/ s/2 5/1 3/;s/2 3/1 2/'

sed -i.old -e "/FvwmIdent/ s@xft:Verdana@xft:PMingLiu@"fonts

sed -i.old -e "/\(Window\|Icon\)Title/ s@\".*\"@$MFONT@"windowlook

sed -i.old -e "/FuncFvwmSetFont-Menu/ s@\".*\"@$MFONT@" -e "$MVER" menustyle

sed -i.old -e "s@Font \".*\"@Font $MFONT@"modules/FvwmButtons-Panel

sed -i.old -e "s@\".*\"@$MFONT@"modules/fonts



懶得每台去配置,用腳本
改隨機背景桌面,替換program菜單,裝入個人菜單,xp風格


#!/bin/bash
# Date :2005-8-25
# Create By Gan Jian Hui

/usr/bin/fvwm-themes-start -n

FVPDIR=~/.fvwm/themes/personal


[ -f $FVPDIR/menus-extra ] || ln -s /home/menus-extra $FVPDIR


cat> $FVPDIR/startup <<"EOF"
Exec exec xterm
EOF


# background
cat >$FVPDIR/background-extra <<"EOF"
SetEnv BGDIR./.fvwm/images
DestroyFunc FuncFvwmStartThemeBackground
AddToFunc   FuncFvwmStartThemeBackground
+ I DestroyModuleConfig FvwmBacker: *
#+ I *FvwmBacker: Command (Desk 0, Page * *)Exec fvwm-themes-root --center -f $BGDIR/bg08.jpg
#+ I *FvwmBacker: Command (Desk 1, Page * *)Exec fvwm-themes-root --center -f $BGDIR/bg09.jpg
#+ I *FvwmBacker: Command (Desk 2, Page * *)Exec fvwm-themes-root --center -f $BGDIR/bg05.jpg
#+ I *FvwmBacker: Command (Desk 3, Page * *)Exec fvwm-themes-root --center -f $BGDIR/bg07.jpg
PipeRead 'randombg.sh'
+ I FuncFvwmRestartModule FvwmBacker


DestroyFunc FuncFvwmStopThemeBackground
AddToFunc   FuncFvwmStopThemeBackground
#+ I PipeRead `fvwm-themes-config --component colors --show-value read-file | grep -v /main | xargs -r echo Read`

EOF


# load
#

fvwm-themes-config --no-cfg-cache --load menus-extra@personal
fvwm-themes-config --no-cfg-cache --load startup@personal
fvwm-themes-config --no-cfg-cache --load background-extra@personal
fvwm-themes-config --theme current --variant settings/menu-system=replace



簡單 快速 漂亮 方便

administratorz 发表于 2005-10-20 12:52:38

楼上大侠我想问您个问题:我能把fvwm-themes里拼好的theme转成fvwm2rc吗?这样自己觉得改起来方便点!另外怎么把在fvwm2rc里设定的Buttons的边框去掉或减小.我查了好久的man 没得到结果,但我看其他人的截图里边框似乎有调窄的!fvwm-themes里也有好多是窄边框的.
我能保存我拼好的fvwm-theme到一个备份目录吗?
我遇到到比楼主更多的问题,但安装后没什么大事,只是读不到gnome菜单而已!

我的邮箱是[email protected] 并不经常上这块来,希望能收到您的来信!谢谢

gangjh 发表于 2005-10-22 20:51:12

fvwm-themes 主题转换成 .fvwm2rc
fvwm-themes-config--expand-rc>.fvwm2rc


Debian Linux有 menu system,
update-menus 可以产生 $HOME/.fvwm/menu-system/ft-menu
然后用他替代Fvwm theme的Program菜单
Theme Management -->Current-->settings-->Menu System -->
Replace Programs menu
或者这样
fvwm-themes-config --theme current --variant settings/menu-system=replace

边框可以改BorderWidth

Fvwm-theme可以自定义主题
可以读文档
/usr/share/doc/fvwm-themes/FAQ.gz
第4节
4. More info
4.1How can I submit my own theme?
页: [1]
查看完整版本: 配置FVWM错误,在线求助!