QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2849|回复: 3

配置FVWM错误,在线求助!

[复制链接]
发表于 2005-10-10 12:42:23 | 显示全部楼层 |阅读模式
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/locale  ar 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"错误如何解决?

谢谢!
发表于 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風格字體
[code:1]
#!/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
[/code:1]


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

[code:1]
#!/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
[/code:1]


簡單 快速 漂亮 方便
回复

使用道具 举报

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

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

使用道具 举报

发表于 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.1  How can I submit my own theme?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-20 06:46 , Processed in 0.068010 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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