4 种方式来自定义 Xfce 来给它一个现代化外观
Xfce

> 
> Xfce 是一个非常轻量的桌面环境，但它有一个缺点，它看起来有点老旧。但是你没有必要坚持默认外观。让我们看看你可以自定义 Xfce 的各种方法，来给它一个现代化的、漂亮的外观。
> 
> 
> 


![Customize Xfce desktop envirnment](/data/attachment/album/201908/25/050713lp96xmitsrn3us6r.jpg)


首先，Xfce 是最[受欢迎的桌面环境](https://itsfoss.com/best-linux-desktop-environments/)之一。作为一个轻量级桌面环境，你可以在非常低的资源上运行 Xfce，并且它仍然能很好地工作。这是为什么很多[轻量级 Linux 发行版](https://itsfoss.com/lightweight-linux-beginners/)默认使用 Xfce 的原因之一。


一些人甚至喜欢在高端设备上使用它，说明它的简单性、易用性和非资源依赖性是主要原因。


[Xfce](https://xfce.org/) 自身很小，而且只提供你需要的东西。令人烦恼的一点是会令人觉得它的外观和感觉很老了。然而，你可以简单地自定义 Xfce 以使其看起来现代化和漂亮，但又不会像 Unity/GNOME 会话那样占用系统资源。


### 4 种方式来自定义 Xfce 桌面


让我们看看一些方法，我们可以通过这些方法改善你的 Xfce 桌面环境的外观和感觉。


默认 Xfce 桌面环境看起来有些像这样：


![Xfce default screen](/data/attachment/album/201908/25/050714e2hsbob60wrrbs2z.jpg)


如你所见，默认 Xfce 桌面有点乏味。我们将使用主题、图标包以及更改默认 dock 来使它看起来新鲜和有点惊艳。


#### 1. 在 Xfce 中更改主题


我们将做的第一件事是从 [xfce-look.org](http://xfce-look.org) 中找到一款主题。我最喜欢的 Xfce 主题是 [XFCE-D-PRO](https://www.xfce-look.org/p/1207818/XFCE-D-PRO)。


你可以从[这里](https://www.xfce-look.org/p/1207818/startdownload?file_id=1523730502&file_name=XFCE-D-PRO-1.6.tar.xz&file_type=application/x-xz&file_size=105328&url=https%3A%2F%2Fdl.opendesktop.org%2Fapi%2Ffiles%2Fdownloadfile%2Fid%2F1523730502%2Fs%2F6019b2b57a1452471eac6403ae1522da%2Ft%2F1529360682%2Fu%2F%2FXFCE-D-PRO-1.6.tar.xz)下载主题，并提取到某处。


你可以复制提取出的这些主题文件到你的家目录中的 `.theme` 文件夹。如果该文件夹尚不存在，你可以创建一个，同样的道理，图标需要放在一个在家目录中的 `.icons` 文件夹。


打开 **设置 > 外观 > 样式** 来选择该主题，注销并重新登录以查看更改。默认的 Adwaita-dark 也是一个不错的主题。


![Appearance Xfce](/data/attachment/album/201908/25/050714xj0pouuf4f6uu0u6.jpg)


你可以在 Xfce 上使用各种[好的 GTK 主题](https://itsfoss.com/best-gtk-themes/)。


#### 2. 在 Xfce 中更改图标


Xfce-look.org 也提供你可以下载的图标主题，提取并放置图标到你的家目录中 `.icons` 目录。在你添加图标主题到 `.icons` 目录中后，转到 **设置 > 外观 > 图标** 来选择这个图标主题。


![Moka icon theme](/data/attachment/album/201908/25/050715tvfd10y16izizbb3.jpg)


我已经安装 [Moka 图标集](https://snwh.org/moka) ，它看起来令人惊艳。


![Moka theme](/data/attachment/album/201908/25/050715u4tmbv73t1m7aan4.jpg)


你也可以参考我们[令人惊艳的图标主题](https://itsfoss.com/best-icon-themes-ubuntu-16-04/)列表。


##### 可选: 通过 Synaptic 安装主题


如果你想避免手工搜索和复制文件，在你的系统中安装 Synaptic 软件包管理器。你可以通过网络来查找最佳的主题和图标集，使用 synaptic 软件包管理器，你可以搜索和安装主题。



```
sudo apt-get install synaptic
```

**通过 Synaptic 搜索和安装主题/图标**


打开 synaptic，并在**搜索**上单击。输入你期望的主题名，接下来，它将显示匹配主题的列表。勾选所有更改所需的附加依赖，并在**应用**上单击。这些操作将下载主题和安装主题。


![Arc Theme](/data/attachment/album/201908/25/050716mnbzz608u6jgzjbm.jpg)


在安装后，你可以打开**外观**选项来选择期望的主题。


在我看来，这不是在 Xfce 中安装主题的最佳方法。


#### 3. 在 Xfce 中更改桌面背景


再强调一次，默认 Xfce 桌面背景也不错。但是你可以把桌面背景更改成与你的图标和主题相匹配的东西。


为在 Xfce 中更改桌面背景，在桌面上右击，并单击**桌面设置**。从文件夹选择中选择**背景**，并选择任意一个默认背景或自定义背景。


![Changing desktop wallpapers](/data/attachment/album/201908/25/050716gtgy8xv95p1ovvym.jpg)


#### 4. 在 Xfce 中更改 dock


默认 dock 也不错，恰如其分。但是，再强调一次，它看来有点平平淡淡。


![Docky](/data/attachment/album/201908/25/050716xninb7qhooi8njiv.jpg)


不过，如果你想你的 dock 变得更好，并带有更多一点的自定义选项，你可以安装另一个 dock 。


Plank 是一个简单而轻量级的、高度可配置的 dock。


为安装 Plank ，使用下面的命令：



```
sudo apt-get install plank
```

如果 Plank 在默认存储库中没有，你可以从这个 PPA 中安装它。



```
sudo add-apt-repository ppa:ricotz/docky
sudo apt-get update
sudo apt-get install plank
```

在你使用 Plank 前，你应该通过右键单击移除默认的 dock，并在**面板设置**下，单击**删除**。


在完成后，转到 **附件 > Plank** 来启动 Plank dock 。


![Plank](/data/attachment/album/201908/25/050717opxee1ogozbx0b3o.jpg)


Plank 从你正在使用的图标主题中选取图标。因此，如果你更改图标主题，你也将在 dock 中看到相关的更改。


### 总结


XFCE 是一个轻量级、快速和高度可自定义的桌面环境。如果你的系统资源有限，它服务很好，并且你可以简单地自定义它来看起来更好。这是在应用这些步骤后，我的屏幕的外观。


![XFCE desktop](/data/attachment/album/201908/25/050717vz91s9o84bs8t1rl.jpg)


这只是半个小时的努力成果，你可以使用不同的主题/图标自定义使它看起来更好。请随意在评论区分享你自定义的 XFCE 桌面屏幕，以及你正在使用的主题和图标组合。




---


via: <https://itsfoss.com/customize-xfce/>


作者：[Ambarish Kumar](https://itsfoss.com/author/ambarish/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[robsean](https://github.com/robsean) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![Warp Terminal](/assets/images/warp-terminal.webp)


![Warp Terminal](/assets/images/warp-terminal.webp)

To start with, Xfce is one of the most [popular desktop environments](https://itsfoss.com/best-linux-desktop-environments/). Being a lightweight DE, you can run Xfce on very low resource and it still works great. This is one of the reasons why many [lightweight Linux distributions](https://itsfoss.com/lightweight-linux-beginners/) use Xfce by default.

Some people prefer it even on a high-end device stating its simplicity, easy of use and non-resource hungry nature as the main reasons. Even if you use Ubuntu GNOME, you can [install Xfce on Ubuntu](https://itsfoss.com/install-xfce-desktop-xubuntu/) and enjoy the speed.

[Xfce](https://xfce.org/) is in itself minimal and provides just what you need. The one thing that bothers is its look and feel which feel old. However, you can easily customize Xfce to look modern and beautiful without reaching the limit where a Unity/GNOME session eats up system resources.

## Four ways to Customize Xfce desktop

Let’s see some of the ways by which we can improve the look and feel of your Xfce desktop environment.

The default Xfce desktop environment looks something like this :

![Xfce default screen](https://itsfoss.com/content/images/wordpress/2018/06/1-1-800x410.jpg)

As you can see, the default Xfce desktop is kinda boring. We will use some themes, icon packs and change the default dock to make it look fresh and a bit revealing.

### 1. Change themes in Xfce

The simplest way to customize is to [change the Xfce theme](https://itsfoss.com/install-themes-xfce-xubuntu/).

The first thing we will do is pick up a theme from [xfce-look.org](https://xfce-look.org/). My favorite Xfce theme is [XFCE-D-PRO](https://www.xfce-look.org/p/1207818/XFCE-D-PRO).

You can download the theme from [here](https://www.xfce-look.org/p/1207818/startdownload?file_id=1523730502&file_name=XFCE-D-PRO-1.6.tar.xz&file_type=application/x-xz&file_size=105328&url=https%3A%2F%2Fdl.opendesktop.org%2Fapi%2Ffiles%2Fdownloadfile%2Fid%2F1523730502%2Fs%2F6019b2b57a1452471eac6403ae1522da%2Ft%2F1529360682%2Fu%2F%2FXFCE-D-PRO-1.6.tar.xz) and extract it somewhere.

You can copy this extracted file to **.themes** folder in your home directory. If the folder is not present by default, you can create one and the same goes for icons which needs a

*folder in the home directory.*

**.icons**Open **Settings > Appearance > Style** to select the theme, log out and login to see the change. Adwaita-dark from default is also a nice one.

![Appearance Xfce](https://itsfoss.com/content/images/wordpress/2018/07/4.jpg)

You can use any [good GTK theme](https://itsfoss.com/best-gtk-themes/) on Xfce.

### 2. Change icons in Xfce

Xfce-look.org also provides icon themes which you can download, extract and put it in your home directory under **.icons** directory. Once you have added the icon theme in the .icons directory, go to **Settings > Appearance > Icons** to select that icon theme.

![Moka icon theme](https://itsfoss.com/content/images/wordpress/2018/07/6.jpg)

I have installed [Moka icon set](https://snwh.org/moka) that looks awesome.

![Moka theme](https://itsfoss.com/content/images/wordpress/2018/07/11-800x547.jpg)

You can also refer to our list of [awesome icon themes](https://itsfoss.com/best-icon-themes-ubuntu-16-04/).

**Optional: Installing themes through Synaptic**

If you want to avoid the manual search and copying of the files, [install Synaptic Manager](https://itsfoss.com/synaptic-package-manager/) in your system. You can look for some best themes over web and icon sets, and using synaptic manager you can search and install it.

`sudo apt-get install synaptic`


**Searching and installing theme/icons through Synaptic**

Open synaptic and click on **Search**. Enter your desired theme, and it will display the list of matching items. Mark all the additional required changes and click on **Apply**. This will download the theme and then install it.

![Arc Theme](https://itsfoss.com/content/images/wordpress/2018/07/5-800x531.jpg)

Once done, you can open the **Appearance** option to select the desired theme.

In my opinion, this is not the best way to install themes in Xfce.

### 3. Change wallpapers in Xfce

Again, the default Xfce wallpaper is not bad at all. But you can change the wallpaper to something that matches with your icons and themes.

To change wallpapers in Xfce, right click on the desktop and click on Desktop Settings. You can change the desktop background from your custom collection or the defaults one given.

Right click on the desktop and click on **Desktop Settings**. Choose **Background** from the folder option, and choose any one of the default backgrounds or a custom one.

![Changing desktop wallpapers](https://itsfoss.com/content/images/wordpress/2018/07/7-800x546.jpg)

### 4. Change the dock in Xfce

The default dock is nice and pretty much does what it is for. But again, it looks a bit boring.

![Docky](https://itsfoss.com/content/images/wordpress/2018/07/8.jpg)

However, if you want your dock to be better and with a little more customization options, you can install another dock.

Plank is one of the simplest and lightweight docks and is highly configurable.

To install Plank use the command below:

sudo apt-get install plank

If Plank is not available in the default repository, you can install it from this PPA.

```
sudo add-apt-repository ppa:ricotz/docky
sudo apt-get update
sudo apt-get install plank
```


Before you use Plank, you should remove the default dock by right-clicking in it and under Panel Settings, clicking on delete.

Once done, go to **Accessory > Plank** to launch Plank dock.

![Plank](https://itsfoss.com/content/images/wordpress/2018/07/9.jpg)

Plank picks up icons from the one you are using. So if you change the icon themes, you’ll see the change is reflected in the dock also.

## Wrapping Up

XFCE is a lightweight, fast and highly customizable. If you are limited on system resource, it serves good and you can easily customize it to look better. Here’s how my screen looks after applying these steps.

![XFCE desktop](https://itsfoss.com/content/images/wordpress/2018/07/10-800x447.jpg)

This is just with half an hour of effort. You can make it look much better with different themes/icons customization. Feel free to share your customized XFCE desktop screen in the comments and the combination of themes and icons you are using.