[分享]wine在ubuntu模拟运行软件慢已彻底解决!!
发表于 : 2007-01-13 17:04
我用wine模拟Dreamweaver,虽然速度还可以但没能满足我的要求,经过一番研究终于找到了彻底解决之道。
闲话少说,具体过程为:
修改 /usr/share/X11/locale/zh_CN.UTF-8/XLC_LOCALE
把里面有 GBK 字样的段全部删掉。
就是把红色字部分删掉。(记得操作之前备份哦)
重启x server 运行wine 模拟Dreamweaver,速度飞快。
此方法可以彻底解决wine在ubuntu xubuntu下慢的问题(kubuntu没测试)。
闲话少说,具体过程为:
修改 /usr/share/X11/locale/zh_CN.UTF-8/XLC_LOCALE
把里面有 GBK 字样的段全部删掉。
就是把红色字部分删掉。(记得操作之前备份哦)
重启x server 运行wine 模拟Dreamweaver,速度飞快。
此方法可以彻底解决wine在ubuntu xubuntu下慢的问题(kubuntu没测试)。
代码: 全选
# XFree86 NLS for Chinese locale zh_CN.UTF-8
# Modified from xc/nls/XLC_LOCALE/en_US.UTF-8
# by James Su <suzhe@turbolinux.com.cn>
#
# $XdotOrg: lib/X11/nls/zh_CN.UTF-8/XLC_LOCALE.pre,v 1.3 2004-10-18 17:29:03 eich Exp $
# $XFree86$
#
# XLC_FONTSET category
#
XLC_FONTSET
on_demand_loading True
object_name generic
# We leave the legacy encodings in for the moment, because we don't
# have that many ISO10646 fonts yet.
# fs0 class (7 bit ASCII)
fs0 {
charset {
name ISO8859-1:GL
}
font {
primary ISO8859-1:GL
vertical_rotate all
}
}
# fs1 class (ISO8859 families)
fs1 {
charset {
name ISO8859-1:GR
}
font {
primary ISO8859-1:GR
}
}
# fs2 class (Chinese Han Character)
fs2 {
charset {
name GB2312.1980-0:GL
}
font {
primary GB2312.1980-0:GL
}
}
[color=red]# fs3 class (Chinese Han Character GBK)
fs3 {
charset {
name GBK-0:GLGR
}
font {
primary GBK-0:GLGR
substitute GB13000.1993-1:GLGR
}
}[/color]
# fs4 class
fs4 {
charset {
name ISO10646-1
}
font {
primary ISO10646-1
}
}
END XLC_FONTSET
#
# XLC_XLOCALE category
#
XLC_XLOCALE
encoding_name UTF-8
mb_cur_max 6
state_depend_encoding False
# cs0 class
cs0 {
side GL:Default
length 1
ct_encoding ISO8859-1:GL
}
# cs1 class
cs1 {
side GR:Default
length 1
ct_encoding ISO8859-1:GR
}
# cs2 class
cs2 {
side GR
length 2
ct_encoding GB2312.1980-0:GL; GB2312.1980-0:GR
}
# cs3 class
cs3 {
side none
ct_encoding ISO10646-1
}
END XLC_XLOCALE