Wine:修订间差异
来自Ubuntu中文
跳到导航跳到搜索
小 修正一个错误,纠正中文无法显示的错误 |
Pdgzhy2005(留言 | 贡献) 无编辑摘要 |
||
第1行: | 第1行: | ||
# 安裝 wine | |||
ubuntu | ubuntu 官方自帶了 wine , 但是推薦用 winehq 官方提供的最新版本 wine , 新版本解決了很多以前顯得麻煩的問題, 請照下邊說的來安裝 | ||
先增加簽名:: | |||
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add - | wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add - | ||
增加 wine 源,按你的 Ubuntu | 增加 wine 源,按你的 Ubuntu 版本執行下邊相應的程式 | ||
Ubuntu Gutsy (7.10) | Ubuntu Hardy (8.10) 請執行這個:: | ||
sudo wget http://wine.hudgetdedicated.com/apt/sources.list.d/hardy.list -0 /etc/apt/sources.list.d/winehq.list 請知道的幫忙修改下,我不知道 如何那個是代碼髖 | |||
Ubuntu Gutsy (7.10) 請執行這個:: | |||
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/winehq.list | sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/winehq.list | ||
Ubuntu Feisty (7.04) | Ubuntu Feisty (7.04) 請執行這個:: | ||
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list | sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list | ||
Ubuntu Edgy (6.10) | Ubuntu Edgy (6.10) 請執行這個:: | ||
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/edgy.list -O /etc/apt/sources.list.d/winehq.list | sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/edgy.list -O /etc/apt/sources.list.d/winehq.list | ||
Ubuntu Dapper (6.06) | Ubuntu Dapper (6.06) 請執行這個:: | ||
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/dapper.list -O /etc/apt/sources.list.d/winehq.list | sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/dapper.list -O /etc/apt/sources.list.d/winehq.list | ||
<br> | <br> 接下來,可以打開一個終端,執行:: | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt-get install wine | sudo apt-get install wine | ||
來安裝,或者點擊 開始菜單->系統->系統管理->新立得軟體包管理器,在裡邊選中 wine , 點安裝 | |||
= 初始设置 = | = 初始设置 = |
2008年5月1日 (四) 12:19的版本
- 安裝 wine
ubuntu 官方自帶了 wine , 但是推薦用 winehq 官方提供的最新版本 wine , 新版本解決了很多以前顯得麻煩的問題, 請照下邊說的來安裝
先增加簽名::
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
增加 wine 源,按你的 Ubuntu 版本執行下邊相應的程式
Ubuntu Hardy (8.10) 請執行這個::
sudo wget http://wine.hudgetdedicated.com/apt/sources.list.d/hardy.list -0 /etc/apt/sources.list.d/winehq.list 請知道的幫忙修改下,我不知道 如何那個是代碼髖
Ubuntu Gutsy (7.10) 請執行這個::
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/winehq.list
Ubuntu Feisty (7.04) 請執行這個::
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list
Ubuntu Edgy (6.10) 請執行這個::
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/edgy.list -O /etc/apt/sources.list.d/winehq.list
Ubuntu Dapper (6.06) 請執行這個::
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/dapper.list -O /etc/apt/sources.list.d/winehq.list
接下來,可以打開一個終端,執行::
sudo apt-get update sudo apt-get install wine
來安裝,或者點擊 開始菜單->系統->系統管理->新立得軟體包管理器,在裡邊選中 wine , 點安裝
初始设置
加快 wine 速度
由于 X locale 的问题, 默认 wine 会轮询 x core fonts ,使得 wine 很慢,请先执行::
sudo sed -i -e '/GBK/,/^}/d' /usr/share/X11/locale/zh_CN.UTF-8/XLC_LOCALE
修改 wine 外观
默认的 wine 字体、主题、颜色等不太合适,可以用这 [Hiweed] 的 wine 配置 新建一个文本文件 hiweed_green_color.reg 写入::
REGEDIT4 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts] "FIXEDFON.FON"="" "FONTS.FON"="" "LogPixels"=dword:00000060 "OEMFONT.FON"="" [HKEY_CURRENT_USER\Software\\Wine\\Fonts\\Replacements] @="AR PL ShanHeiSun Uni" "Arial"="AR PL ShanHeiSun Uni" "Fixedsys"="AR PL ShanHeiSun Uni" "Microsoft Sans Serif"="AR PL ShanHeiSun Uni" "MingLiU"="AR PL ShanHeiSun Uni" "MS UI Gothic"="AR PL ShanHeiSun Uni" "PMingLiU"="AR PL ShanHeiSun Uni" "Simsun"="AR PL ShanHeiSun Uni" "Songti"="AR PL ShanHeiSun Uni" "System"="AR PL ShanHeiSun Uni" "Tahoma"="AR PL ShanHeiSun Uni" "Terminal"="AR PL ShanHeiSun Uni" "宋体"="文鼎PL细上海宋Uni" [HKEY_CURRENT_USER\Software\\Wine\\X11 Driver] "ClientSideAntiAliasWithRender"="N" [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes] "MS Shell Dlg"="文鼎PL细上海宋Uni" "MS Shell Dlg 2"="文鼎PL细上海宋Uni" "System"="AR PL ShanHeiSun Uni" [HKEY_CURRENT_USER\Control Panel\\Colors] "ActiveBorder"="239 235 230" "ActiveTitle"="0 153 11" "AppWorkspace"="128 128 128" "Background"="58 110 165" "ButtonAlternateFace"="180 180 180" "ButtonDkShadow"="64 64 64" "ButtonFace"="232 227 221" "ButtonHilight"="255 255 255" "ButtonLight"="239 235 230" "ButtonShadow"="128 128 128" "ButtonText"="0 0 0" "GradientActiveTitle"="166 202 240" "GradientInactiveTitle"="192 192 192" "GrayText"="128 128 128" "Hilight"="0 153 11" "HilightText"="255 255 255" "HotTrackingColor"="0 0 255" "InactiveBorder"="192 192 192" "InactiveTitle"="232 227 221" "InactiveTitleText"="0 0 0" "InfoText"="0 0 0" "InfoWindow"="255 255 225" "Menu"="232 227 221" "MenuBar"="232 227 221" "MenuHilight"="0 0 0" "MenuText"="0 0 0" "Scrollbar"="239 235 230" "TitleText"="255 255 255" "Window"="255 255 255" "WindowFrame"="0 0 0" "WindowText"="0 0 0"
再用 regedit 导入这个 reg , 执行::
regedit hiweed_green_color.reg