当前位置: 首页 >> 应用软件 >> 网络相关 >> Ubuntu 下wine 的安装
 

Ubuntu 下wine 的安装

作者:5day      来源:zz     发表时间:2006-08-29     浏览次数:      字号:    

Ubuntu 下 wine 的安装

一、准备工作:

(一)、开启更多的 locale 支持

Dapper 中 locale 设置与原来不同,原来 /etc/locale.gen 现在位于 /var/lib/locales/supported.d/ 中,执行:

sudo gedit /var/lib/locales/supported.d/zh

将其内容修改为:

zh_SG.UTF-8 UTF-8
zh_HK.UTF-8 UTF-8
zh_TW.UTF-8 UTF-8
zh_CN.UTF-8 UTF-8
zh_CN.GB2312 GB2312
zh_CN.GBK GBK
zh_CN.GB18030 GB18030
zh_HK.Big5 Big5
zh_TW.Big5 Big5

然后执行:

sudo locale-gen

注:执行到 GB18030 的时候需要等待较长的时间,请耐心。 

因为 Ubuntu Dapper 默认没有装 GB2312 这些 locale ,而我们跑 wine 经常需要这些,所以先加上。

(二)、修正一些 bug


1 执行 modprobe 

sudo modprobe snd-pcm-oss
sudo modprobe snd-seq

2 创建相应目录 

mkdir -p ~/.kde/socket-hostname

  其中 hostname 为你机器的名字。

3 安装相应包 

sodu apt-get install libjack0.100.0-0

  然后:

sudo ln -sf /usr/lib/libjack-0.100.0.so.0 /usr/lib/libjack.so

4 解决启动 wine 程序速度慢的问题 

sudo gedit /usr/share/X11/locale/zh_CN.UTF-8/XLC_LOCALE 

  修改为:

CODE:
#     XFree86 NLS for Chinese locale zh_CN.UTF-8
#          Modified from xc/nls/XLC_LOCALE/en_US.UTF-8
#          by James Su <[email]suzhe@turbolinux.com.cn[/email]>
#
# $XdotOrg: xc/nls/XLC_LOCALE/zh_CN.UTF-8,v 1.2 2004/04/23 18:44:34 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
       }
}



#  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

责任编辑 webmaster

 
 
 
 
 
评论更多>>
 
3 安装相应包 sodu apt-get install libjack0.100.0-0 ERROR ! ! sudo apt-get install libjack0.100.0-0 3 安装相应包 sodu apt-get install libjack0.100.0-0 应该改成 sudo apt-get .........................................
 
 
发表
 
姓名: QQ:
性别: MSN:
E-mail: 主页:
评分: 1 2 3 4 5
评论内容:
验证码:
  
  • 请遵守《互联网电子公告服务管理规定》及中华人民共和国其他各项有关法律法规。
  • 严禁发表危害国家安全、损害国家利益、破坏民族团结、破坏国家宗教政策、破坏社会稳定、侮辱、诽谤、教唆、淫秽等内容的评论 。
  • 用户需对自己在使用本站服务过程中的行为承担法律责任(直接或间接导致的)。
  • 本站管理员有权保留或删除评论内容。
  • 评论内容只代表网友个人观点,与本网站立场无关。
  •