Blackbox：极简主义 Linux 用户的美观终端
终端
![](/data/attachment/album/202209/01/230823b2n8vhe6jn5vz5uq.jpg)


有 [许多可用于 Linux 的终端仿真器](https://itsfoss.com/linux-terminal-emulators/)。从 Terminator 到 Tilix，你有多种终端可供选择。


但这并没有阻止新终端应用的到来。你最近已经见过了 [GNOME Console](https://itsfoss.com/gnome-console/) 吧，今天，我将向你介绍 Blackbox。


### Blackbox 终端：概述和功能


Blackbox 是一个支持 GTK4 的终端仿真器。开发者为了他可以在 Linux 上使用外观优美的终端应用而创建了这个项目。


所以，不要指望它有很多功能。它只是一个使用 GTK4 工具包并支持主题的终端仿真器。


换句话说，它更多注重的是关于外观而不是功能。


以下是 Blackbox 的主要亮点：


* 可设置主题（支持 [Tilix](https://github.com/gnunn1/tilix) 兼容的配色方案）
* 主题与窗口装饰的融合
* 自定义字体
* 各种可自定义的 UI 设置
* 标签
* 可切换的标题栏
* 点击打开链接
* 文件拖放支持


谈到外观，让我们来看看它提供的不同外观。默认窗口将类似于下面的截图。


![Default look of Blackbox terminal](/data/attachment/album/202209/01/230855s5izg3k3q71ttgj5.png)


#### 没有标题栏


你也可以取消标题栏，如下所示。这是 GTK4 应用程序中最“流行”的功能之一。


![Blackbox without header bar](/data/attachment/album/202209/01/230855atcjqmqcc00qo80r.png)


你还可以在无标题栏模式下启用浮动控件。


![Floating controls with no header bar mode](/data/attachment/album/202209/01/230855cbgajfj18xxxtb8g.png)


#### 轻松复制和粘贴（不要抗拒）


`Ctrl+C` 和 `Ctrl+V` 就像复制粘贴的通用键盘快捷键。


但是古老的 Unix 在宇宙之前就存在了，因此它使用 [Ctrl+C 键来终止终端中正在运行的程序](https://itsfoss.com/stop-program-linux-terminal/)。


但是，有些人发现不能使用他们最喜欢的快捷键来 [在终端中复制粘贴](https://itsfoss.com/copy-paste-linux-terminal/) 有点不方便。


Blackbox 允许你通过启用“轻松复制和粘贴”设置来更改它。启用此设置后，你可以使用 `Ctrl+C` 和 `Ctrl+v` 进行复制粘贴操作。


不用担心。`Ctrl+C` 仍可用于停止正在运行的命令。


![Easy copy-paste mode allows using Ctrl+C and Ctrl+V keys](/data/attachment/album/202209/01/230856sennzsxy7vkpnz38.png)


#### 主题


你还可以从设置中选择不同的主题。有几个浅色和深色主题可供选择。你还可以使用 Tilix 风格的主题。


![Available themes for Blackbox](/data/attachment/album/202209/01/230856rv9oa5myazzwza05.png)


让我们看看它在 Yaru 主题和不扩展选项卡的情况下的外观，这与默认的 Blackbox 行为不同。


![Blackbox with a changed theme](/data/attachment/album/202209/01/230856d55zza0sz98ubsun.png)


#### 重置为默认


还有一些更方便的功能，例如记住窗口大小、按像素滚动等。


好消息是，如果你对设置进行了太多更改，你可以将它们全部还原并重置为默认设置。


该选项在“<ruby> 首选项 <rt>  Preferences </rt></ruby>”的“<ruby> 高级 <rt>  Advance </rt></ruby>”选项卡中可用。


![reset blackbox settings to default](/data/attachment/album/202209/01/230857q52764hhj25v71hh.png)


### 安装 Blackbox 终端


请记住，**Blackbox 处于开发的早期阶段**。我在切换主题时出现过崩溃。


要安装 Blackbox 终端，你应该在系统中安装 [Flatpak 并启用 Flathub 仓库](https://itsfoss.com/flatpak-guide/)。


使用此命令在你的系统上安装 Blackbox：



```
flatpak install flathub com.raggesilver.BlackBox

```

在 Fedora 和其他一些与 Flatpak 集成的发行版上，你可以从软件中心安装 Blackbox。


![Blackbox can also be installed in GNOME Software Center](/data/attachment/album/202209/01/230857fowd33nwny2zndak.png)


安装后，你可以从应用菜单启动它。


#### 卸载 Blackbox 终端


如果你不喜欢 Blackbox 并想将其删除，请输入以下命令将其删除。



```
flatpak uninstall flathub com.raggesilver.BlackBox

```

### 结论


在我看来，Blackbox 是一个不错的终端模拟器。在不支持 GTK4 的发行版上，你可以获得 GTK4 所能提供的所有精彩内容。它提供的功能足以应付日常工作。


最后，这一切都取决于个人喜好。你可能会喜欢它，也可能不喜欢它。如果你喜欢体验，请尝试一下，并在评论栏与我们分享你的经验。




---


via: <https://itsfoss.com/blackbox-terminal/>


作者：[Anuj Sharma](https://itsfoss.com/author/anuj/) 选题：[lkxed](https://github.com/lkxed) 译者：[geekpi](https://github.com/geekpi) 校对：[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)

There are [numerous terminal emulators available for Linux](https://itsfoss.com/linux-terminal-emulators/). From Terminator to Tilix, you have a wide selection of terminals to choose from.

But that has not deterred the arrival of new terminal applications. You recently learned about [GNOME Console](https://itsfoss.com/gnome-console/), and today, I’ll introduce you to Blackbox.

## Blackbox Terminal: Overview and Features

Blackbox is a terminal emulator which supports GTK4. The developer created this project so that he could use a decent-looking terminal app on Linux.

So, don’t expect it to have ton of features. It is just a terminal emulator that utilizes GTK4 toolkit and has support for themes.

In other words, it is more about the looks than the features.

Here are the main highlights of Blackbox:

- Theming (
[Tilix](https://github.com/gnunn1/tilix?ref=itsfoss.com)compatible color scheme support) - Theme integration with the window decorations
- Custom fonts
- Various customizable UI settings
- Tabs
- Toggleable header bar
- Click to open links
- Files drag-n-drop support

Talking about the looks, let us go through the different looks it offers. The default window will look something like the screenshot below.

![default blackbox window](https://itsfoss.com/content/images/wordpress/2022/08/blackbox-default.png)

### No header bar

You can also have no header bar, as shown below. It’s one of the most ‘popular’ features of GTK4 apps.

![blackbox with no headerbar](https://itsfoss.com/content/images/wordpress/2022/08/blackbox-noheader.png)

You can also enable floating controls in no header-bar mode.

![blackbox no headerbar floating controls](https://itsfoss.com/content/images/wordpress/2022/08/blackbox-floating-controls.png)

### Easy copy and paste (don’t revolt)

Ctrl+C and Ctrl+V are like the universal keyboard shortcuts for copy-paste.

But the ancient Unix existed before the universe and hence it uses the [Ctrl+C keys for terminating a running program in the terminal](https://itsfoss.com/stop-program-linux-terminal/).

However, some people find it a bit inconvenient not to be able to use their favorite shortcuts for [copy-pasting in the terminal](https://itsfoss.com/copy-paste-linux-terminal/).

Blackbox allows you to change that by enabling the “Easy Copy & Paste” setting. With this setting enabled, you can use Ctrl+C and Ctrl+v for copy-paste operation.

Don’t worry. Ctrl+C can still be used for stopping running commands.

![easy copy and paste setting menu](https://itsfoss.com/content/images/wordpress/2022/08/blackbox-easy-copy-paste.png)

### Themes

You can also select different themes from the settings. There are several light and dark themes available to choose from. You can also use Tilix styled theming.

![theme selection blackbox](https://itsfoss.com/content/images/wordpress/2022/08/blackbox-theme-selection.png)

Let us see how it looks with the Yaru theme and with tabs not expanding, unlike the default Blackbox behaviour.

![blackbox with yaru theme and tabs not expanded](https://itsfoss.com/content/images/wordpress/2022/08/blackbox-yaru.png)

### Reset to default

There are a few more handy features like remember window size, scroll by pixels etc.

The good thing is that if you made too many changes to the settings, you can revert them all and reset to the default settings.

The option is available in the Advanced tab of Preferences.

![reset blackbox settings to default](https://itsfoss.com/content/images/wordpress/2022/08/blackbox-reset.png)

## Installing Blackbox terminal

Please keep in mind that **Blackbox is in the early stages of development**. I experienced some crashes when I switched themes.

To install Blackbox Terminal you should have [Flatpak installed and Flathub repo enabled](https://itsfoss.com/flatpak-guide/) in your system.

Use this command to install Blackbox on your system:

`flatpak install flathub com.raggesilver.BlackBox`


On Fedora and some other distributions that integrate with Flatpak, you can install Blackbox from the software center.

![Installing Blackbox from GNOME Software](https://itsfoss.com/content/images/wordpress/2022/08/blackbox-install-800x568.png)


![Installing Blackbox from GNOME Software](https://itsfoss.com/content/images/wordpress/2022/08/blackbox-install-800x568.png)

Once installed, you can launch it from the applications menu.

### Removing Blackbox Terminal

If you don’t like Blackbox and want to remove it, enter the following command to remove it.

`flatpak uninstall flathub com.raggesilver.BlackBox`


## Conclusion

There are many more Terminal emulators available for Linux.

[Top 14 Terminal Emulators for Linux (With Extra Features or Amazing Looks)Want a terminal that looks cool or has extra features? Here are the best Linux terminal emulators you can get.](https://itsfoss.com/linux-terminal-emulators/)![](https://itsfoss.com/content/images/wordpress/2021/03/best-terminal-emulators.png)


![](https://itsfoss.com/content/images/wordpress/2021/03/best-terminal-emulators.png)

In my opinion, Blackbox is a decent terminal emulator. You get all the eye-candy GTK4 can offer on distributions that do not support GTK4 already. The feature it offers are good enough for day to day work.

In the end, it all comes to personal preference. You may like it. You may not like it. If you like experimenting, give it a try and share your experience with us in the comment section.