{"id":58387,"date":"2023-07-11T18:00:12","date_gmt":"2023-07-11T10:00:12","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=58387"},"modified":"2023-07-11T18:00:12","modified_gmt":"2023-07-11T10:00:12","slug":"winetricks-config-wine","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/winetricks-config-wine.html","title":{"rendered":"\u7528 Winetricks \u914d\u7f6e WINE"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5982\u679c winecfg \uff08WINE \u7684\u914d\u7f6e\u5de5\u5177\uff09\u662f\u4e00\u628a\u87ba\u4e1d\u5200\uff0c\u90a3\u4e48 winetricks \u5c31\u662f\u4e00\u4e2a\u94bb\u5e8a\u3002\u5b83\u4eec\u5404\u6709\u7279\u957f\uff0c\u4f46\u662f winetricks \u771f\u7684\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u591a\u7684\u5de5\u5177\u3002\u5b9e\u9645\u4e0a\uff0c\u5b83\u751a\u81f3\u53ef\u4ee5\u542f\u52a8 winecfg\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
\u7b80\u4ecb<\/strong><\/div>\n

winecfg<\/span> \u8ba9\u4f60\u53ef\u4ee5\u6539\u53d8 WINE \u672c\u8eab\u7684\u8bbe\u7f6e\uff0c\u800c winetricks<\/span> \u5219\u53ef\u4ee5\u8ba9\u4f60\u6539\u9020\u5b9e\u9645\u7684 Windows \u5c42\uff0c\u5b83\u53ef\u4ee5\u8ba9\u4f60\u5b89\u88c5 Windows \u91cd\u8981\u7684\u7cfb\u7edf\u7ec4\u4ef6\uff0c\u6bd4\u5982 .dll\u3000\u6587\u4ef6\u548c\u7cfb\u7edf\u5b57\u4f53\uff0c\u8fd8\u53ef\u4ee5\u5141\u8bb8\u4f60\u4fee\u6539 Windows \u6ce8\u518c\u8868\u7684\u4fe1\u606f\u3002\u5b83\u8fd8\u6709\u4efb\u52a1\u7ba1\u7406\u5668\u3001\u5378\u8f7d\u5de5\u5177\u548c\u6587\u4ef6\u6d4f\u89c8\u5668\u3002 \u5c3d\u7ba1 winetricks<\/span> \u53ef\u4ee5\u505a\u4ee5\u4e0a\u8fd9\u4e9b\u5de5\u4f5c\uff0c\u4f46\u662f\u5927\u90e8\u5206\u65f6\u95f4\u6211\u4eec\u7528\u5230\u7684\u529f\u80fd\u4e5f\u5c31\u662f\u7ba1\u7406 dll \u6587\u4ef6\u548c\u3000Windows\u3000\u7ec4\u4ef6\u3002<\/p>\n

\u5b89\u88c5<\/strong><\/div>\n

\u548c winecfg<\/span> \u4e0d\u540c\uff0cwinetricks<\/span> \u4e0d\u662f\u96c6\u6210\u5728 WINE \u4e2d\u7684\u3002\u8fd9\u6837\u4e5f\u6ca1\u4ec0\u4e48\u95ee\u9898\uff0c\u7531\u4e8e\u5b83\u5b9e\u9645\u4e0a\u53ea\u662f\u4e2a\u811a\u672c\u6587\u4ef6\uff0c\u4f60\u53ef\u4ee5\u5728\u5404\u79cd\u53d1\u884c\u7248\u4e0a\u5f88\u8f7b\u677e\u5730\u4e0b\u8f7d\u548c\u4f7f\u7528\u5b83\u3002\u73b0\u5728\uff0c\u8bb8\u591a\u53d1\u884c\u7248\u628a winetricks<\/span> \u6253\u5305\u3002\u53ea\u8981\u4f60\u559c\u6b22\uff0c\u4f60\u4e5f\u53ef\u4ee5\u4e0b\u8f7d\u6253\u5305\u540e\u7684\u7248\u672c\u3002\u4e0d\u8fc7\uff0c\u6709\u4e9b\u5305\u53ef\u80fd\u4f1a\u6bd4\u8f83\u8001\u65e7\uff0c\u6240\u4ee5\u672c\u6307\u5357\u5c06\u4f7f\u7528\u811a\u672c\uff0c\u6bd5\u7adf\u811a\u672c\u901a\u7528\u4e14\u66f4\u65b0\u53ca\u65f6\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5b83\u7684\u56fe\u5f62\u754c\u9762\u6709\u4e9b\u4e11\uff0c\u6240\u4ee5\u4f60\u8981\u662f\u60f3\u4e2a\u6027\u5316\u754c\u9762\uff0c\u6700\u597d\u901a\u8fc7\u4f60\u7684\u53d1\u884c\u7248\u7684\u5305\u7ba1\u7406\u5668\u5b89\u88c5\u4e00\u4e2a zenity\u3002 \u73b0\u5728\u5047\u5b9a\u4f60\u60f3\u5728\u4f60\u7684 \/home \u76ee\u5f55\u4e0b\u914d\u7f6e winetricks<\/span>\u3002\u3000cd \u5230\u6b64\uff0c\u7136\u540e wget \u8fd9\u4e2a\u811a\u672c\u3002<\/p>\n

$ cd ~\r\n$ wget https:\/\/raw.githubusercontent.com\/Winetricks\/winetricks\/master\/src\/winetricks\r\n<\/pre>\n

\u7136\u540e\uff0c\u7ed9\u8fd9\u4e2a\u811a\u672c\u53ef\u6267\u884c\u6743\u9650\u3002<\/p>\n

$ chmod+x winetricks\r\n<\/pre>\n

winetricks<\/span> \u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u8fd0\u884c\uff0c\u5728\u884c\u672b\u6307\u5b9a\u8981\u5b89\u88c5\u7684\u4e1c\u897f\u3002\u4f46\u662f\u5927\u90e8\u5206\u60c5\u51b5\u4e0b\uff0c\u4f60\u90fd\u4e0d\u77e5\u9053 .dll \u6587\u4ef6\u6216\u8005\u662f\u4f60\u60f3\u5b89\u88c5\u5b57\u4f53\u786e\u5207\u7684\u540d\u5b57\uff0c\u90a3\u4e48\uff0c\u8fd9\u65f6\u5019\u6700\u597d\u5229\u7528\u56fe\u5f62\u754c\u9762\u7a0b\u5e8f\u3002\u542f\u52a8\u8fd9\u4e2a\u7a0b\u5e8f\u548c\u5176\u4ed6\u7a0b\u5e8f\u6ca1\u4ec0\u4e48\u4e0d\u540c\uff0c\u5c31\u662f\u5728\u672b\u5c3e\u4ec0\u4e48\u90fd\u522b\u8f93\u5165\u5c31\u884c\u4e86\u3002<\/p>\n

$ ~\/winetricks\r\n<\/pre>\n

<\/p>\n

\u5f53\u7a97\u53e3\u7b2c\u4e00\u6b21\u6253\u5f00\u65f6\u5019\uff0c\u5c06\u4f1a\u7ed9\u4f60\u4e00\u4e2a\u6709 \u201c\u67e5\u770b\u5e2e\u52a9\u201dView help \u548c \u201c\u5b89\u88c5\u5e94\u7528\u201dInstall an application \u9009\u9879\u7684\u83dc\u5355\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u9009\u62e9 \u201c\u9009\u62e9\u9ed8\u8ba4\u7684 wineprefix\u201dSelect the default wineprefix\uff0c\u8fd9\u5c06\u662f\u4f60\u4e3b\u8981\u4f7f\u7528\u7684\u9009\u9879\u3002\u5176\u4ed6\u7684\u4e5f\u80fd\u7528\uff0c\u4f46\u662f\u4e0d\u63a8\u8350\u4f7f\u7528\u3002\u63a5\u4e0b\u6765\uff0c\u5355\u51fb \u201cOK\u201d\uff0c\u4f60\u5c31\u4f1a\u8fdb\u5165\u5230 WINE prefix \u7684\u914d\u7f6e\u83dc\u5355\uff0c\u4f60\u53ef\u4ee5\u5728\u8fd9\u5b8c\u6210\u6240\u6709\u4f60\u8981\u4f7f\u7528 winetricks<\/span> \u5b8c\u6210\u7684\u4e8b\u60c5\u3002<\/p>\n

<\/p>\n

\u5b57\u4f53<\/strong><\/div>\n

<\/p>\n

\u5b57\u4f53\u4e00\u76f4\u5f88\u91cd\u8981\uff0c\u4e00\u4e9b\u5e94\u7528\u7a0b\u5e8f\u6ca1\u6709\u5b57\u4f53\u5c31\u6ca1\u6cd5\u6b63\u5e38\u7684\u52a0\u8f7d\u3002winetricks<\/span> \u53ef\u4ee5\u8f7b\u677e\u5730\u5b89\u88c5\u8bb8\u591a\u5e38\u7528 Windows \u5b57\u4f53\uff0e\u5728\u914d\u7f6e\u83dc\u5355\u4e2d\uff0c\u9009\u4e2d \u201c\u5b89\u88c5\u5b57\u4f53\u201dInstall a font\u3000\u5355\u9009\u6309\u94ae\uff0c\u7136\u540e\u70b9\u51fb \u201cOK\u201d\u3000\u5373\u53ef\u3002 \u7136\u540e\u4f60\u5c31\u4f1a\u5f97\u5230\u4e00\u5217\u5b57\u4f53\u6e05\u5355\uff0c\u5b83\u4eec\u90fd\u6709\u7740\u76f8\u5bf9\u5e94\u7684\u590d\u9009\u6846\u3002\u4f60\u5f88\u96be\u786e\u5207\u77e5\u9053\u4f60\u5230\u5e95\u9700\u8981\u4ec0\u4e48\u5b57\u4f53\uff0c\u6240\u4ee5\u4e00\u822c\u6309\u6bcf\u4e2a\u5e94\u7528\u51b3\u5b9a\u4f7f\u7528\u4ec0\u4e48\u5b57\u4f53\uff0c\u6211\u4eec\u53ef\u4ee5\u5148\u5b89\u88c5\u4e00\u6b3e\u63d2\u4ef6 corefonts\uff0c\u5b83\u5305\u542b\u4e86\u5927\u591a\u6570 Windows \u7cfb\u7edf\u4e2d\u5e94\u7528\u7a0b\u5e8f\u6240\u8bbe\u5b9a\u7684\u5b57\u4f53\u3002\u5b89\u88c5\u5b83\u4e5f\u5341\u5206\u7b80\u5355\uff0c\u6240\u4ee5\u53ef\u4ee5\u8bd5\u8bd5\u3002 \u8981\u5b89\u88c5 corefonts \uff0c\u8bf7\u9009\u62e9\u76f8\u5e94\u7684\u590d\u9009\u6846\uff0c\u7136\u540e\u70b9\u51fb \u201cOK\u201d\uff0c\u4f60\u5c31\u4f1a\u770b\u5230\u548c\u5728 Windows \u4e0b\u5dee\u4e0d\u591a\u7684\u63d0\u793a\uff0c\u5b57\u4f53\u5c31\u4f1a\u88ab\u5b89\u88c5\u4e86\u3002\u5b8c\u6210\u4e86\u8fd9\u4e2a\u63d2\u4ef6\u7684\u5b89\u88c5\uff0c\u4f60\u5c31\u4f1a\u56de\u5230\u5148\u524d\u7684\u83dc\u5355\u754c\u9762\u3002\u63a5\u4e0b\u6765\u5c31\u662f\u5b89\u88c5\u4f60\u9700\u8981\u7684\u522b\u7684\u63d2\u4ef6\uff0c\u6b65\u9aa4\u76f8\u540c\u3002<\/p>\n

.dll \u6587\u4ef6\u548c\u7ec4\u4ef6<\/strong><\/div>\n

<\/p>\n

winetricks<\/span> \u5b89\u88c5 Windows \u4e0b\u7684 .dll \u6587\u4ef6\u548c\u522b\u7684\u7ec4\u4ef6\u4e5f\u5341\u5206\u7b80\u5355\u3002\u5982\u679c\u4f60\u9700\u8981\u5b89\u88c5\u7684\u8bdd\uff0c\u5728\u83dc\u5355\u9875\u9009\u62e9 \u201c\u5b89\u88c5 Windows DLL \u6216\u7ec4\u4ef6\u201dInstall a Windows DLL or component\uff0c\u7136\u540e\u70b9\u51fb \u201cOK\u201d\u3002<\/p>\n

\u7a97\u53e3\u5c31\u4f1a\u8fdb\u5165\u5230\u53e6\u4e00\u4e2a\u83dc\u5355\u754c\u9762\uff0c\u5176\u4e2d\u5305\u542b\u53ef\u7528\u7684 dll \u548c\u5176\u4ed6 Windows \u7ec4\u4ef6\u3002\u5728\u76f8\u5e94\u7684\u590d\u9009\u6846\u8fdb\u884c\u9009\u62e9\uff0c\u70b9\u51fb \u201cOK\u201d\u3002\u811a\u672c\u5c31\u4f1a\u4e0b\u8f7d\u4f60\u9009\u62e9\u7684\u7ec4\u4ef6\uff0c\u63a5\u7740\u901a\u8fc7 Windows \u4e00\u822c\u7684\u5b89\u88c5\u8fdb\u7a0b\u8fdb\u884c\u5b89\u88c5\u3002\u50cf Windows \u673a\u5668\u4e0a\u5b89\u88c5\u90a3\u6837\u8ddf\u7740\u63d0\u793a\u5f80\u4e0b\u8d70\u3002\u53ef\u80fd\u4f1a\u6709\u62a5\u9519\u4fe1\u606f\u3002\u5f88\u591a\u65f6\u5019\uff0cWindows\u3000\u5b89\u88c5\u7a0b\u5e8f\u4f1a\u62a5\u9519\uff0c\u4f46\u662f\u4f60\u63a5\u7740\u4f1a\u6536\u5230\u6765\u81ea winetricks<\/span> \u7a97\u53e3\u7684\u6d88\u606f\uff0c\u8bf4\u660e\u5b83\u6b63\u5728\u7ed5\u8fc7\u6b64\u95ee\u9898\u3002\u8fd9\u5f88\u6b63\u5e38\u3002\u7531\u4e8e\u7ec4\u4ef6\u4e4b\u95f4\u7684\u76f8\u4e92\u4f9d\u8d56\u5173\u7cfb\uff0c\u4f60\u53ef\u80fd\u4f1a\u4e5f\u53ef\u80fd\u4e0d\u4f1a\u770b\u5230\u6210\u529f\u5b89\u88c5\u7684\u4fe1\u606f\u3002\u53ea\u8981\u786e\u4fdd\u5b89\u88c5\u5b8c\u6210\u65f6\u5019\uff0c\u83dc\u5355\u9875\u4e2d\u4f60\u7684\u9009\u9879\u4ecd\u65e7\u5904\u4e8e\u88ab\u9009\u4e2d\u72b6\u6001\u5c31\u884c\u4e86\u3002\n<\/p>\n

\u6ce8\u518c\u8868<\/strong><\/div>\n

<\/p>\n

\u4f60\u4e0d\u9700\u8981\u5e38\u5e38\u7f16\u8f91\u6ce8\u518c\u8868\u4e2d WINE \u5bf9\u5e94\u7684\u503c\uff0c\u4f46\u662f\u5bf9\u4e8e\u6709\u4e9b\u7a0b\u5e8f\u786e\u5b9e\u9700\u8981\u3002\u6280\u672f\u5c42\u9762\u6765\u8bb2\uff0cwinetricks<\/span> \u4e0d\u5411\u7528\u6237\u63d0\u4f9b\u6ce8\u518c\u8868\u7f16\u8f91\u5668\uff0c\u4f46\u662f\u8981\u8bbf\u95ee\u7f16\u8f91\u5668\u4e5f\u5f88\u5bb9\u6613\u3002\u5728\u83dc\u5355\u9875\u9009\u4e2d\u201c\u8fd0\u884c\u6ce8\u518c\u8868\u7f16\u8f91\u201dRun regedit\uff0c\u70b9\u51fb \u201cOK\u201d\uff0c\u4f60\u5c31\u53ef\u4ee5\u6253\u5f00\u4e00\u4e2a\u7b80\u5355\u7684\u6ce8\u518c\u8868\u7f16\u8f91\u5668\u3002\u4e8b\u5b9e\u4e0a\uff0c\u5199\u5165\u6ce8\u518c\u8868\u7684\u503c\u6709\u70b9\u8d85\u51fa\u672c\u7bc7\u5f15\u5bfc\u6587\u7ae0\u7684\u8303\u56f4\u4e86\uff0c\u4f46\u662f\u6211\u8fd8\u8981\u591a\u8bf4\u4e00\u53e5\uff0c\u5982\u679c\u4f60\u5df2\u7ecf\u77e5\u9053\u4f60\u5728\u5e72\u4ec0\u4e48\uff0c\u589e\u52a0\u4e00\u4e2a\u6ce8\u518c\u8868\u6761\u76ee\u4e0d\u662f\u5f88\u96be\u3002\u6ce8\u518c\u8868\u6709\u70b9\u50cf\u7535\u5b50\u8868\u683c\uff0c\u4f60\u53ef\u4ee5\u5c06\u6b63\u786e\u7684\u503c\u586b\u5165\u53f3\u9762\u7684\u683c\u5b50\u4e2d\u3002\u8fd9\u4e2a\u8bf4\u7684\u6709\u70b9\u8fc7\u4e8e\u7b80\u5355\uff0c\u4f46\u662f\u5c31\u662f\u8fd9\u6837\u7684\u3002\u4f60\u53ef\u4ee5\u5728\u4ee5\u4e0b\u5730\u5740\u7cbe\u51c6\u5730\u627e\u5230\u4f60\u9700\u8981\u5728 WINE Appdp \u6240\u8981\u586b\u5165\u6216\u7f16\u8f91\u7684\u4e1c\u897f\u3002 https:\/\/appdb.winehq.org\u3002<\/p>\n

\u7ed3\u675f\u8bed<\/strong><\/div>\n

\u5f88\u660e\u663e winetricks<\/span> \u8fd8\u6709\u8bb8\u591a\u8bb8\u591a\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u4f46\u662f\u672c\u7bc7\u6307\u5357\u7684\u76ee\u7684\u53ea\u662f\u7ed9\u4f60\u4e00\u70b9\u57fa\u7840\u77e5\u8bc6\uff0c\u4ee5\u4f7f\u7528\u8fd9\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u4f7f\u4f60\u7684\u7a0b\u5e8f\u901a\u8fc7 WINE \u8fd0\u884c\u3002WINE Appdb \u5bf9\u6bcf\u4e2a\u7a0b\u5e8f\u90fd\u6709\u76f8\u5e94\u7684\u8bbe\u7f6e\uff0c\u5c06\u6765\u4f1a\u8d8a\u6765\u8d8a\u4e30\u5bcc\u3002<\/p>\n


\n

via: https:\/\/linuxconfig.org\/configuring-wine-with-winetricks<\/a><\/p>\n

\u4f5c\u8005\uff1aNick Congleton \u8bd1\u8005\uff1aTaylor1024<\/a> \u6821\u5bf9\uff1ajasminepeng<\/a><\/p>\n

\u672c\u6587\u7531 LCTT<\/a> \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd<\/a> \u8363\u8a89\u63a8\u51fa<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-8382-1.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttp:\/\/lrxjmw.cn\/winetricks-config-wine.html<\/a>\u7f16\u8f91\u5458\uff1a\u5f20@\u5b87\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5982\u679c winecfg \uff08WINE \u7684\u914d\u7f6e\u5de5\u5177\uff09\u662f\u4e00\u628a\u87ba\u4e1d\u5200\uff0c\u90a3\u4e48 winetricks \u5c31\u662f\u4e00\u4e2a\u94bb\u5e8a\u3002\u5b83\u4eec\u5404\u6709\u7279\u957f\uff0c\u4f46\u662f winetricks \u771f\u7684\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u591a\u7684\u5de5\u5177\u3002\u5b9e\u9645\u4e0a\uff0c\u5b83\u751a\u81f3\u53ef\u4ee5\u542f\u52a8 winecfg\u3002<\/p>\n","protected":false},"author":310,"featured_media":58417,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-58387","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/58387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/310"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=58387"}],"version-history":[{"count":13,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/58387\/revisions"}],"predecessor-version":[{"id":277041,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/58387\/revisions\/277041"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/58417"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=58387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=58387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=58387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}