LinuxSir.cn,穿越时空的Linuxsir!

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

影响mozilla启动速度的因素?

[复制链接]
发表于 2003-10-3 10:51:07 | 显示全部楼层 |阅读模式
我的mozilla启动速度特慢。
在网络中搜索得到这个。linuxeden的:

Speed Up X by Managing Font Setting 在你抱怨 X 跑得不够快之前,
先检查字型设定, 很可能就是影响效能的一大元凶。
先看一下 /etc/X11/XF86Config-4 档案里的 FontPath 设定值, 如果是
如下∶
Section "Files"

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.

FontPath "unix/:-1"

EndSection

可参考 /etc/X11/fs/config 档案里的字型设定值, 挑选几个喜欢的字型目录(全部比较不会错)
来修改, 例如我直接设定下列几个字型目录∶
Section "Files"

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.

FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/mdk:unscaled"
FontPath "/usr/share/fonts/ttf/big5"

EndSection

修改之後, 重新激活 startx 感受看看棉。

原本的 FontPath "unix/:-1" 将字型由 X Font Server 来提供,
一般使用者未蒙其利、先受其害, 可以考虑等熟悉 X Font Server 功能後再使用。
如此就可以关掉xfs了
ps:试用时不要用默认开机直接进x-window,若不行会卡在x-window
ps:引用自http://twopensource.org/~marr/xfont_tip.html



我想问一下,怎样知道mozilla的字体由什么提供,具体怎么做才能提高速度。或者推荐看一下什么东西,谢谢。
 楼主| 发表于 2003-10-3 17:47:44 | 显示全部楼层
现在我的问题是:过了很长时间mozilla才打开,然后不能对它做任何操作,过上几分钟mozilla才有响应,能够输入网址打开网页。
大家有遇到类似的情况没有?
 楼主| 发表于 2003-10-4 10:38:49 | 显示全部楼层
现在不确定是什么问题了。
试了mozilla , netscape 和 firebird 都有鼠标一点输入文字的地方就停住,过上好一会儿才反应的问题。
搜索网上也找不到解决方法。
不过又试了pheonix , 没有这个问题。
以后就用pheonix了。
发表于 2003-10-9 01:54:22 | 显示全部楼层
最初由 sprayvoice 发表
现在我的问题是:过了很长时间mozilla才打开,然后不能对它做任何操作,过上几分钟mozilla才有响应,能够输入网址打开网页。
大家有遇到类似的情况没有?


遇到过,自己编译的firebird 0.6
好象是一个库文件找不到导致的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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