如果您是 Linux 新用户,甚至是经验丰富的Linux用户,那么无论您多么努力,总有一个您需要的Windows程序很有可能。(Windows)也许是为了工作。通常,企业会要求文档采用某种格式,无论它有多好,或者您对原生Linux程序有多适应,您仍然需要Windows应用程序。因此,您安装了Wine(Wine Is Not an Emulator),而不是在(Wine)Linux旁边安装Windows,它允许您在Linux中运行(Linux)Windows程序。
这是一件非常棒的事情。不幸的是,它也可能有点丑陋。您的 Windows 程序绝对不使用您的Linux主题,更糟糕的是,它们看起来好像直接来自Windows 95。 块状(Blocky),扁平,而且到处都是丑陋的。
幸运的是,Wine实际上可以接受MSStyle主题,这意味着让您的Windows应用程序看起来相当漂亮并不难,即使它们与您桌面的其余部分不太匹配。
第一步——在安装Wine和你的Windows应用程序之后,如果你正在阅读这篇文章,我们假设你知道如何去做——是找到你喜欢的主题。在 Deviantart的这个页面(this page)上是一个浏览它们的好地方。
例如,假设您使用的是默认Ubuntu主题Ambiance 。这是一个典型的窗口的样子。
同样,这里是Notepad ,它是(Notepad)Windows的基本文本编辑器,在Wine中运行。
正如你所看到的,它使用了Ubuntu窗口装饰,但是菜单是块状的,突出显示颜色是错误的……它根本没有很好地融合。但是,如果您使用Ubuntu Light for Windows XP主题,也许它会。
这是一个为想要在他们的Windows PC 上模仿(Windows)Ubuntu的外观和感觉的(Ubuntu)Windows用户设计的主题,但它同样适用于我们在Wine中运行(Wine)Windows应用程序。
继续并单击下载文件(Download File)链接,并将其保存到您的计算机。
下载完成后,解压缩存档。
该文件夹内是另一个文件夹,称为UbuntuLight。这是主题文件所在的位置。要安装它,我们需要使用Wine 配置(Wine Configuration)程序,该程序可以在Wine下的(Wine)Applications菜单中找到。
现在导航到桌面集成(Desktop Integration)选项卡。
现在单击安装主题(Install Theme)按钮并导航到并选择您下载的主题。完成此操作后,只需从主题(Theme)菜单中选择它。
现在,尝试一个新的Windows程序。让我们再次使用Notetab。
现在,突然之间,我们与常规的Ubuntu风格有了更接近的匹配。它不会欺骗任何人(菜单不同,一些小部件仍然牢牢地在Windows世界中),但它很接近。将字体设置得更近一些(再次在 Wine 配置的桌面集成(Desktop Integration)选项卡中),您应该会感觉更自在一些。
Use MSStyles to Theme Wine Applications In Linux
If you’re a new, or even experienced Linux uѕer, chancеs are pretty good that no matter how hаrd you try, there is always that one Windows progrаm you need. Maybe it’s for work. Often a business will mandаte a cеrtain format fоr documents, and no matter how good it is, оr how comfortable you might be in a native Linux program, you still need the Windows application. So instead of installing Windows alongside Linux, you installed Wіne (Wine Iѕ Not an Emulator), which allows you to run Windows programs from within Linux.
It’s a pretty great thing. Unfortunately, it can also be more than a little ugly. Your Windows programs definitely don’t use your Linux themes, and to make it worse, they appear as if they came straight from Windows 95. Blocky, flat, and just all around ugly.
Fortunately, Wine can actually accept MSStyle themes, which means it’s not that difficult to get your Windows applications looking fairly nice, even if they don’t quite match the rest of your desktop.
The first step – after installing Wine and then your Windows application, which we’ll assume you know how to do, if you’re reading this article – is to find a theme you like. A good place to browse a lot of them is on this page at Deviantart.
Let’s say, for instance, that you’re using Ambiance, the default Ubuntu theme. This is what a typical window looks like.
Again, here’s Notepad, the basic text editor for Windows, running in Wine.
As you can see, it uses the Ubuntu window decorations, but the menus are blocky, the highlight color is wrong… it doesn’t blend well at all. But, if you took the Ubuntu Light for Windows XP theme, maybe it will.
It’s a theme designed for Windows users who want to mimic the look and feel of Ubuntu on their Windows PC, but it will work just as well for us running Windows applications in Wine.
Go ahead and click the Download File link, and save it to your computer.
Once it’s finished downloading, extract the archive.
Inside the folder is another folder, called UbuntuLight. This is where the theme file is. To install it, we need to use the Wine Configuration program, which can be found in the Applications menu, under Wine.
Now navigate to the Desktop Integration tab.
Now click the Install Theme button and navigate to, and select, the theme you downloaded. Once you’ve done this, simply choose it from the Theme menu.
Now, try out a new Windows program. Let’s use Notetab again.
Now, suddenly, we have a closer match to our regular Ubuntu style. It’s not going to fool anyone (the menus are different, and some of the widgets are still firmly in the Windows world), but it’s close. Set the fonts to something a little closer (again in the Wine Configuration’s Desktop Integration tab), and you should feel a little more at home.