{"id":2585,"date":"2013-03-21T08:47:51","date_gmt":"2013-03-21T00:47:51","guid":{"rendered":"https:\/\/kyle.ai\/blog\/?p=2585"},"modified":"2013-03-21T08:52:11","modified_gmt":"2013-03-21T00:52:11","slug":"ubuntu%e9%80%9a%e8%bf%87wine%e5%ae%89%e8%a3%85%e8%85%be%e8%ae%af%e9%80%9artx","status":"publish","type":"post","link":"https:\/\/kyle.ai\/blog\/2585.html","title":{"rendered":"ubuntu\u901a\u8fc7wine\u5b89\u88c5\u817e\u8baf\u901artx"},"content":{"rendered":"<p><span style=\"font-size: small;\">1.\u7cfb\u7edf\u8bbe\u7f6e-&gt;\u8f6f\u4ef6\u6e90-&gt;\u5176\u4ed6\u8f6f\u4ef6-&gt;\u6dfb\u52a0\uff0c\u8f93\u5165apt\u884c\uff1a<\/span><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nppa:ubuntu-wine\/ppa\r\n<\/pre>\n<p><span style=\"font-size: small;\">2.\u5b89\u88c5wine<\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo apt-get update\r\nsudo apt-get install wine\r\n<\/pre>\n<p><span style=\"font-size: small;\">3.\u4e0b\u8f7dwinetricks\u5b89\u88c5wine\u4e2d\u7684windows\u7ec4\u4ef6<\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo apt-get install cabextract\r\nwinetricks riched20 msxml3 msxml6 vcrun6 win2k\r\n<\/pre>\n<p><span style=\"font-size: small;\">msxml3, ie6, flash\u51e0\u4e2a\u6587\u4ef6\u53ef\u80fd\u81ea\u52a8\u4e0b\u8f7d\u4e0d\u4e86\uff0c \u53ef\u4ee5\u4ece\u4e0b\u9762\u7684\u5730\u5740\u4e0b\u8f7d\uff0c\u7528\u624b\u5de5\u5b89\u88c5\u6765\u66ff\u4ee3winetricks\u5b89\u88c5\uff1a<\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n wget http:\/\/www.beyondlinux.com\/files\/pub\/wine\/msxml3.msi\r\n<\/pre>\n<p><span style=\"font-size: small;\">\u6216\u8005\u8fd9\u91cc\u4e0b\u8f7dmsxml3.msi http:\/\/download.cnet.com\/Microsoft-XML-Parser-MSXML-3-0-Service-Pack-7-SP7\/3000-7241_4-10731613.html<\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nwget http:\/\/www.beyondlinux.com\/files\/pub\/wine\/ie60.exe\r\nwget http:\/\/www.beyondlinux.com\/files\/pub\/wine\/install_flash_player_ax.exe\r\nwine msiexec \/i msxml3.msi\r\nwine ie60.exe\r\nwine install_flash_player_ax.exe\r\n<\/pre>\n<p><span style=\"font-size: small;\">\u5176\u4e2d\u5982\u679c64\u4f4d\u7cfb\u7edf\uff0c\u5b89\u88c5msxml6\u65f6\uff0c\u8981\u4e0b\u8f7d64\u4f4d\u7684 http:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=3988\uff0c\u4e0b\u8f7d\u5b8c\u540e\u518d <\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nwine msiexec \/i \/home\/kyle\/.cache\/winetricks\/msxml6\/msxml6_x64.msi\r\n<\/pre>\n<p><span style=\"font-size: small;\">4.\u4ecewindows\u62f7\u8d1d\u5b57\u4f53\uff0c\u4fee\u6539Wine\u6ce8\u518c\u8868\uff0c\u89e3\u51b3\u4e71\u7801\u95ee\u9898<\/span><\/p>\n<p><span style=\"font-size: small;\">\u4eceWindows\u7cfb\u7edf\u91cc(\u8def\u5f84:c:\/windows\/Fonts\/)\u590d\u5236\u5b8b\u4f53(SimSun.ttc)\u5230~\/.wine\/dosdevices\/c:\/windows\/Fonts\/:<\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncp \/home\/zhu\/simsun.ttc \/.wine\/drive_c\/windows\/Fonts\r\n<\/pre>\n<p><span style=\"font-size: small;\">\u7136\u540e\u4fee\u6539Wine\u6ce8\u518c\u8868,\u7ec8\u7aef\u8f93\u5165regedit (\u754c\u9762\u548cwindows\u4e00\u6837)<\/span><br \/>\n<span style=\"font-size: small;\"> \u6253\u5f00[HKEY_LOCAL_MACHINE\\\\Software\\\\Microsoft\\\\Windows<\/span> <span style=\"font-size: small;\">NT\\\\CurrentVersion\\\\FontSubstitutes]<\/span><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nMS Shell Dlg = SimSun\r\nMS Shell Dlg 2 = SimSun\r\nTahoma = SimSun (\u624b\u52a8\u65b0\u5efa\u5b57\u7b26\u4e32)\r\n<\/pre>\n<p><span style=\"font-size: small;\">\u6216\u8005\uff1a\u521b\u5efazh.reg\u6ce8\u518c\u8868\u6587\u4ef6\uff0c\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/span><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nREGEDIT4\r\n&#x5B;HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes]\r\n&quot;Arial&quot;=&quot;simsun&quot;\r\n&quot;Arial CE,238&quot;=&quot;simsun&quot;\r\n&quot;Arial CYR,204&quot;=&quot;simsun&quot;\r\n&quot;Arial Greek,161&quot;=&quot;simsun&quot;\r\n&quot;Arial TUR,162&quot;=&quot;simsun&quot;\r\n&quot;Courier New&quot;=&quot;simsun&quot;\r\n&quot;Courier New CE,238&quot;=&quot;simsun&quot;\r\n&quot;Courier New CYR,204&quot;=&quot;simsun&quot;\r\n&quot;Courier New Greek,161&quot;=&quot;simsun&quot;\r\n&quot;Courier New TUR,162&quot;=&quot;simsun&quot;\r\n&quot;FixedSys&quot;=&quot;simsun&quot;\r\n&quot;Helv&quot;=&quot;simsun&quot;\r\n&quot;Helvetica&quot;=&quot;simsun&quot;\r\n&quot;MS Sans Serif&quot;=&quot;simsun&quot;\r\n&quot;MS Shell Dlg&quot;=&quot;simsun&quot;\r\n&quot;MS Shell Dlg 2&quot;=&quot;simsun&quot;\r\n&quot;System&quot;=&quot;simsun&quot;\r\n&quot;Tahoma&quot;=&quot;simsun&quot;\r\n&quot;Times&quot;=&quot;simsun&quot;\r\n&quot;Times New Roman CE,238&quot;=&quot;simsun&quot;\r\n&quot;Times New Roman CYR,204&quot;=&quot;simsun&quot;\r\n&quot;Times New Roman Greek,161&quot;=&quot;simsun&quot;\r\n&quot;Times New Roman TUR,162&quot;=&quot;simsun&quot;\r\n&quot;Tms Rmn&quot;=&quot;simsun&quot;\r\n<\/pre>\n<p><span style=\"font-size: small;\">\u4fdd\u5b58\u4e3azh.reg,\u7136\u540e\u6267\u884cregedit zh.reg\u5bfc\u5165\u6ce8\u518c\u8868<\/span><\/p>\n<p><span style=\"font-size: small;\">5.\u5b89\u88c5RTX<\/span><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nwine rtxclient2010formal.exe\r\n<\/pre>\n<p><span style=\"font-size: small;\">6.\u89e3\u51b3\u4e71\u7801\u95ee\u9898<\/span><\/p>\n<p><span style=\"font-size: small;\">\u70b9\u5f00\u201c\u5e94\u7528\u7a0b\u5e8f\u201d-&gt;\u201cWine\u201d-&gt;\u201cConfigure Wine\u201d-&gt;\u201c\u51fd\u6570\u5e93\u201d-&gt;\u5728\u201c\u65b0\u589e\u51fd\u6570\u5e93\u9876\u66ff\u201d\u4e2d\uff0c\u8f93\u5165\u201coleaut32.dll\u201d\uff0c\u518d\u70b9\u51fb\u201c\u6dfb\u52a0\u201d-&gt;\u201c\u5e94\u7528\u201d-&gt;\u201c\u786e\u5b9a\u201d\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">7. \u81ea\u52a8\u6389\u7ebf\u7684\u95ee\u9898\u89e3\u51b3<\/span><\/p>\n<p><span style=\"font-size: small;\">\u5728\u767b\u5f55RTX\u540e\u5728\u201c\u4e2a\u4eba\u8bbe\u7f6e\u201d\u91cc\u7684\u201c\u56de\u590d\u8bbe\u7f6e\u4e2d\u201d\u628a\u201c\u81ea\u52a8\u72b6\u6001\u8f6c\u6362\u201d\u7684\u52fe\u53bb\u6389\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">8. \u89e3\u51b3RTX\u5bf9\u8bdd\u7a97\u53e3\u4e2d\u59d3\u540d\u4e71\u7801\u7684\u95ee\u9898<\/span><\/p>\n<p><span style=\"font-size: small;\">\u5728RTX\u7684\u201c\u4e2a\u4eba\u8bbe\u7f6e\u201d\u91cc\u7684\u201c\u59d3\u540d\u201d\u91cd\u65b0\u8bbe\u7f6e\u4e00\u4e0b<\/span><\/p>\n<p><span style=\"font-size: small;\">9. \u901a\u8fc7\u547d\u4ee4\u542f\u52a8rtx<\/span><\/p>\n<p><span style=\"font-size: small;\">\u5728.bashrc\u4e2d\u52a0\u5165\uff1a<\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nalias rtx='cd &quot;\/home\/kyle\/.wine\/dosdevices\/c:\/Program Files (x86)\/Tencent\/RTXC\/&quot; &amp;&amp; wine RTX.exe &gt; \/dev\/null 2&gt;&amp;1 &amp;'\r\n<\/pre>\n<p><span style=\"font-size: x-small;\">\u7136\u540e\u6267\u884c . .bashrc \u751f\u6548\u3002<\/span><\/p>\n<p><span style=\"font-size: small;\">10. \u4e0ecompiz\u51b2\u7a81\u7684bug<\/span><\/p>\n<p><span style=\"font-size: small;\">\u901a\u8fc7wine\u8fd0\u884c\u7684rtx\uff0c\u5728\u5173\u95ed\u7a97\u4f53\u7684\u65f6\u5019\u4f1a\u5bfc\u81f4unity\u5f02\u5e38\uff0c\u89c1 https:\/\/bugs.launchpad.net\/compiz-core\/+bug\/993265 \u548c http:\/\/askubuntu.com\/questions\/141802\/photoshop-cs2-under-wine-1-4-messes-up-unity-desktop\u3002<\/span><br \/>\n<span style=\"font-size: small;\"> unity\u754c\u9762\u6b7b\u6389\u540e\uff0c\u7528 unity &#8211;replace \u547d\u4ee4\uff0c\u6216\u6267\u884c\u4ee5\u4e0b\u811a\u672c\uff1a<\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n#!\/bin\/bash\r\nsudo killall compiz\r\ncompiz --replace\r\n<\/pre>\n<p><span style=\"font-size: small;\">\u53ef\u4ee5\u8bbe\u7f6e\u4e00\u4e2a\u5feb\u6377\u952e\uff0c\u6267\u884c unity &#8211;replace &gt; \/dev\/null &amp; \u547d\u4ee4\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.\u7cfb\u7edf\u8bbe\u7f6e-&gt;\u8f6f\u4ef6\u6e90-&gt;\u5176\u4ed6\u8f6f\u4ef6-&gt;\u6dfb\u52a0\uff0c\u8f93\u5165apt\u884c\uff1a ppa:ubuntu-wine\/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2585","post","type-post","status-publish","format-standard","hentry","category-skill"],"_links":{"self":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/2585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/comments?post=2585"}],"version-history":[{"count":3,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/2585\/revisions"}],"predecessor-version":[{"id":2587,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/2585\/revisions\/2587"}],"wp:attachment":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/media?parent=2585"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/categories?post=2585"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/tags?post=2585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}