如何使用Emerald更改Ubuntu的窗口边框

时间:2024-04-14 11:52:40
如何使用Emerald更改Ubuntu的窗口边框

The look of your operating system is all about the panels and the window borders, so now that we’ve shown you how to customize your panels, it’s time to customize the window borders to make Ubuntu look the way you want it to.

操作系统的外观完全与面板和窗口边框有关,因此,既然我们已经向您展示了如何自定义面板,现在该是自定义窗口边框以使Ubuntu看起来像您想要的样子的时候了。

For the purposes of this article, we’re going to assume that you’ve got the Compiz compositing window manager running—which is what provides the custom window effects found in Ubuntu. This means the technique probably won’t work in a virtual machine, or a really old PC.

出于本文的目的,我们将假定您已经运行了Compiz合成窗口管理器—它提供了在Ubuntu中找到的自定义窗口效果。 这意味着该技术可能不适用于虚拟机或非常老的PC。

This is the third installment of our series on customizing Ubuntu by geeky reader Omar Hafiz—be sure and check out the first article, where he explained how to make your panels transparent, and the second article, where he explained how to customize the fonts and colors of those panels.

这是令人讨厌的读者Omar Hafiz撰写的有关自定义Ubuntu的系列文章的第三部分,请确保并阅读第一篇文章(他解释了如何使面板透明 )和第二篇文章,其中解释了如何自定义字体和这些面板的颜色

第一步:确保您正在运行Compiz (First Step: Make Sure You Are Running Compiz)

You can make sure you are using Compiz compositing manager and not Metacity by pressing ALT+F2 and typing the following command:

通过按ALT + F2并键入以下命令,可以确保使用的是Compiz合成管理器而不是Metacity。

compiz –replace

compiz –替换

如何使用Emerald更改Ubuntu的窗口边框

This should enable Compiz as your window manager if it isn’t already.

如果尚未启用,则应该启用Compiz作为您的窗口管理器。

安装Emerald Theme Manager (Installing Emerald Theme Manager)

Let’s start installing Emerald, which is a window decorator for Compiz, by opening a terminal window and typing the following command:

让我们开始安装Emerald,它是Compiz的窗口装饰器,方法是打开终端窗口并键入以下命令:

sudo apt-get –y install emerald

sudo apt-get –y安装翡翠

如何使用Emerald更改Ubuntu的窗口边框

Once finished, close the terminal window.

完成后,关闭终端窗口。

Every thing is done now, so let’s change the window border. Launch Emerald from System > Preferences > Emerald Theme Manger.

现在已完成所有操作,因此让我们更改窗口边框。 从系统>首选项>翡翠主题管理器中启动Emerald。

如何使用Emerald更改Ubuntu的窗口边框

The program interface looks like this, which shows you a list of the window borders that are available to use. You can click on one of them to apply it.

程序界面如下所示,它显示了可用的窗口边框列表。 您可以单击其中之一来应用它。

如何使用Emerald更改Ubuntu的窗口边框

You can then fine-tune it further by going to the Edit Theme tab, where there are loads of settings available.

然后,您可以通过转到“编辑主题”选项卡进一步进行微调,该选项卡上有大量可用设置。

如何使用Emerald更改Ubuntu的窗口边框

Still haven’t found what you like? That’s no problem, because you can download and add more themes. Just head to www.gnome-look.org and then choose Beryl from the right side of the web page. From there, you can download thousands of free themes.

仍然没有找到您想要的? 没问题,因为您可以下载并添加更多主题。 只需访问www.gnome-look.org ,然后从网页右侧选择Beryl。 从那里,您可以下载数千个免费主题。

If you’ve downloaded a theme from somewhere online, you can launch Emerald and click Import from above the themes list and browse to the theme you just downloaded and click open.

如果您是从在线某处下载主题的,则可以启动Emerald并从主题列表上方单击“导入”,然后浏览至刚刚下载的主题,然后单击“打开”。

如何使用Emerald更改Ubuntu的窗口边框

Now the theme is installed and ready to be used.

现在,主题已安装并可以使用。

如何使用Emerald更改Ubuntu的窗口边框

That’s pretty much all there is to it. Enjoy!

这几乎就是它的全部。 请享用!

翻译自: https://www.howtogeek.com/howto/44189/how-to-change-ubuntus-window-borders-with-emerald/