亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 927 | 回復(fù): 0
打印 上一主題 下一主題

Ubuntu 下 wine 的安裝 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2007-04-23 09:35 |只看該作者 |倒序瀏覽
Ubuntu 下 wine 的安裝
一、準備工作:
(一)、開啟更多的 locale 支持
Dapper 中 locale 設(shè)置與原來不同,原來 /etc/locale.gen 現(xiàn)在位于 /var/lib/locales/supported.d/ 中,執(zhí)行:
sudo gedit /var/lib/locales/supported.d/zh
將其內(nèi)容修改為:
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
然后執(zhí)行:
sudo locale-gen
注:執(zhí)行到 GB18030 的時候需要等待較長的時間,請耐心。
因為 Ubuntu Dapper 默認沒有裝 GB2312 這些 locale ,而我們跑 wine 經(jīng)常需要這些,所以先加上。
(二)、修正一些 bug
1 執(zhí)行 modprobe
sudo modprobe snd-pcm-oss
sudo modprobe snd-seq
2 創(chuàng)建相應(yīng)目錄
mkdir -p ~/.kde/socket-hostname
  其中 hostname 為你機器的名字。
3 安裝相應(yīng)包
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
#
# $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

本文來自ChinaUnix博客,如果查看原文請點:http://blog.chinaunix.net/u/17412/showart_284107.html
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP