LinuxSir.cn,穿越时空的Linuxsir!

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

I can't use SaX2 ???

[复制链接]
发表于 2004-7-25 01:44:34 | 显示全部楼层 |阅读模式
linux:~ # sax2
SaX: initializing please wait...
Nested quantifiers in regex; marked by <-- HERE in m/mozom5++ <-- HERE / at /usr/X11R6/lib/sax/modules/detect/Monitor.pm line 365.
linux:~ #
Seems like my monitor has a bad name : Mozo M5++
any idea ?
thanks
发表于 2004-7-25 01:45:47 | 显示全部楼层
建议用yast2
发表于 2004-7-25 01:56:38 | 显示全部楼层
在 SuSE Linux  中配置 X 有两个工具可用:SaX 和 SaX2。如果系统是以最低配置安装的,那么它只安装了安全运行 SuSE Linux 所需的最少的基本要素。最小安装不包括图形桌面环境,这意味着不包括窗口管理器和 GNOME。如果只安装了最低配置,系统将无法运行 SaX 或 SaX2 来配置 X。要使用 SaX 或 SaX2 配置 X,您必须有 SuSE Linux 的以下安装:缺省系统安装、带有 office 的缺省系统安装(建议)和全部软件包安装。
通过安装缺省的系统,SuSE Linux 系统被设置成使用 XFree86 v4。XFree86 v3 对于较老的显卡是有效的。从命令提示符输入 sax 以使用 SaX 工具.


要在安装后配置 X,从 root 命令中输入 sax2,这将检测硬件并提供用户友好的 GUI 工具以配置鼠标、显卡、键盘和监视器。安装系统后,系统会提示本文方式的登录屏幕而不是图形登录。一旦完成登录,运行 sax2 来重新配置硬件,从而启动 X Windows。启动 SaX2 ,用以配置鼠标、键盘、图形卡和监视器。SaX2 也可通过单击下列菜单启动
-> System -> Configuration -> SaX2(在 KDE 中),或
-> SuSE menus -> System -> Configuration -> SaX2(在 GNOME 中)。
 楼主| 发表于 2004-7-25 21:46:10 | 显示全部楼层
I know why now
it's really a bug,someone should report this
can anybody help?
/usr/X11R6/lib/sax/module/dectect/Monitor.pm

352#==========================================
353        # remove special signs, prepare names
354        #------------------------------------------
355        $name0 = lc ($name0); $name1 = lc ($name1);
356        $name0 =~ s/[ \.\/\\\-\$\"?\@%()\[\]\+]//g;
357        $name1 =~ s/[ \.\/\\\-\$\"?\@%()\[\]\+]//g;
359        my $l0 = length ($name0);
360        my $l1 = length ($name1);
361
362        #=========================================
363        # check for name in 0 and 1 and vice versa
364        #------------------------------------------
365        if ($name0 =~ s/$name1//) {
.....
line 365 seem like to define the monitor's name
line 356 &357 tell the program to escape the charactors
in the end of the lines
I add \+
and my problem is solved
look:

linux:~ # sax2
SaX: initializing please wait...
SaX: startup

then SaX2 is running
anyway thanks a lot
发表于 2004-7-25 23:36:27 | 显示全部楼层
good!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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