mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-02-03 23:40:14 +08:00
commit
e9d8f4858d
@ -1,142 +0,0 @@
|
|||||||
[#]: subject: "Blackbox is an Aesthetically Pleasing Terminal for Minimalists Linux Users"
|
|
||||||
[#]: via: "https://itsfoss.com/blackbox-terminal/"
|
|
||||||
[#]: author: "Anuj Sharma https://itsfoss.com/author/anuj/"
|
|
||||||
[#]: collector: "lkxed"
|
|
||||||
[#]: translator: "geekpi"
|
|
||||||
[#]: reviewer: " "
|
|
||||||
[#]: publisher: " "
|
|
||||||
[#]: url: " "
|
|
||||||
|
|
||||||
Blackbox is an Aesthetically Pleasing Terminal for Minimalists Linux Users
|
|
||||||
======
|
|
||||||
|
|
||||||
There are [numerous terminal emulators available for Linux][1]. 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][2], 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][3] 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 look of Blackbox terminal][4]
|
|
||||||
|
|
||||||
#### 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 without header bar][5]
|
|
||||||
|
|
||||||
You can also enable floating controls in no header-bar mode.
|
|
||||||
|
|
||||||
![Floating controls with no header bar mode][6]
|
|
||||||
|
|
||||||
#### 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][7].
|
|
||||||
|
|
||||||
However, some people find it a bit inconvenient not to be able to use their favorite shortcuts for [copy-pasting in the terminal][8].
|
|
||||||
|
|
||||||
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-paste mode allows using Ctrl+C and Ctrl+V keys][9]
|
|
||||||
|
|
||||||
#### 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.
|
|
||||||
|
|
||||||
![Available themes for Blackbox][10]
|
|
||||||
|
|
||||||
Let us see how it looks with the Yaru theme and with tabs not expanding, unlike the default Blackbox behaviour.
|
|
||||||
|
|
||||||
![Blackbox with a changed theme][11]
|
|
||||||
|
|
||||||
#### 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][12]
|
|
||||||
|
|
||||||
### 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][13] 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.
|
|
||||||
|
|
||||||
![Blackbox can also be installed in GNOME Software Center][14]
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
via: https://itsfoss.com/blackbox-terminal/
|
|
||||||
|
|
||||||
作者:[Anuj Sharma][a]
|
|
||||||
选题:[lkxed][b]
|
|
||||||
译者:[译者ID](https://github.com/译者ID)
|
|
||||||
校对:[校对者ID](https://github.com/校对者ID)
|
|
||||||
|
|
||||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
|
||||||
|
|
||||||
[a]: https://itsfoss.com/author/anuj/
|
|
||||||
[b]: https://github.com/lkxed
|
|
||||||
[1]: https://itsfoss.com/linux-terminal-emulators/
|
|
||||||
[2]: https://itsfoss.com/gnome-console/
|
|
||||||
[3]: https://github.com/gnunn1/tilix
|
|
||||||
[4]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-default.png
|
|
||||||
[5]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-noheader.png
|
|
||||||
[6]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-floating-controls.png
|
|
||||||
[7]: https://itsfoss.com/stop-program-linux-terminal/
|
|
||||||
[8]: https://itsfoss.com/copy-paste-linux-terminal/
|
|
||||||
[9]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-easy-copy-paste.png
|
|
||||||
[10]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-theme-selection.png
|
|
||||||
[11]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-yaru.png
|
|
||||||
[12]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-reset.png
|
|
||||||
[13]: https://itsfoss.com/flatpak-guide/
|
|
||||||
[14]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-install.png
|
|
@ -0,0 +1,143 @@
|
|||||||
|
[#]: subject: "Blackbox is an Aesthetically Pleasing Terminal for Minimalists Linux Users"
|
||||||
|
[#]: via: "https://itsfoss.com/blackbox-terminal/"
|
||||||
|
[#]: author: "Anuj Sharma https://itsfoss.com/author/anuj/"
|
||||||
|
[#]: collector: "lkxed"
|
||||||
|
[#]: translator: "geekpi"
|
||||||
|
[#]: reviewer: " "
|
||||||
|
[#]: publisher: " "
|
||||||
|
[#]: url: " "
|
||||||
|
|
||||||
|
Blackbox 是极简主义 Linux 用户的美观终端
|
||||||
|
======
|
||||||
|
|
||||||
|
有[许多可用于 Linux 的终端仿真器][1]。从 Terminator 到 Tilix,你有多种终端可供选择。
|
||||||
|
|
||||||
|
但这并没有阻止新终端应用的到来。你最近了解了 [GNOME Console][2],今天,我将向您介绍 Blackbox。
|
||||||
|
|
||||||
|
### Blackbox 终端:概述和功能
|
||||||
|
|
||||||
|
Blackbox 是一个支持 GTK4 的终端仿真器。开发人为了他可以在 Linux 上使用外观不错的终端应用而创建了这个项目。
|
||||||
|
|
||||||
|
所以,不要指望它有很多功能。它只是一个使用 GTK4 工具包并支持主题的终端仿真器。
|
||||||
|
|
||||||
|
换句话说,它更多的是关于外观而不是功能。
|
||||||
|
|
||||||
|
以下是 Blackbox 的主要亮点:
|
||||||
|
|
||||||
|
* 可设置主题([Tilix][3] 兼容的配色方案支持)
|
||||||
|
* 主题与窗口装饰的融合
|
||||||
|
* 自定义字体
|
||||||
|
* 各种可自定义的 UI 设置
|
||||||
|
* 标签
|
||||||
|
* 可切换的标题栏
|
||||||
|
* 点击打开链接
|
||||||
|
* 文件拖放支持
|
||||||
|
|
||||||
|
谈到外观,让我们来看看它提供的不同外观。默认窗口将类似于下面的截图。
|
||||||
|
|
||||||
|
|
||||||
|
![Default look of Blackbox terminal][4]
|
||||||
|
|
||||||
|
#### 没有标题栏
|
||||||
|
|
||||||
|
你也可以没有标题栏,如下所示。这是 GTK4 应用程序中最“流行”的功能之一。
|
||||||
|
|
||||||
|
![Blackbox without header bar][5]
|
||||||
|
|
||||||
|
你还可以在无标题栏模式下启用浮动控件。
|
||||||
|
|
||||||
|
![Floating controls with no header bar mode][6]
|
||||||
|
|
||||||
|
#### 轻松复制和粘贴(不要反抗)
|
||||||
|
|
||||||
|
Ctrl+C 和 Ctrl+V 就像复制粘贴的通用键盘快捷键。
|
||||||
|
|
||||||
|
但是古老的 Unix 在宇宙之前就存在了,因此它使用 [Ctrl+C 键来终止终端中正在运行的程序][7]。
|
||||||
|
|
||||||
|
但是,有些人发现不能使用他们最喜欢的快捷方式来[在终端中复制粘贴][8]有点不方便。
|
||||||
|
|
||||||
|
Blackbox 允许你通过启用“轻松复制和粘贴”设置来更改它。启用此设置后,你可以使用 Ctrl+C 和 Ctrl+v 进行复制粘贴操作。
|
||||||
|
|
||||||
|
不用担心。 Ctrl+C 仍可用于停止正在运行的命令。
|
||||||
|
|
||||||
|
![Easy copy-paste mode allows using Ctrl+C and Ctrl+V keys][9]
|
||||||
|
|
||||||
|
#### 主题
|
||||||
|
|
||||||
|
你还可以从设置中选择不同的主题。有几个浅色和深色主题可供选择。你还可以使用 Tilix 风格的主题。
|
||||||
|
|
||||||
|
![Available themes for Blackbox][10]
|
||||||
|
|
||||||
|
让我们看看它在 Yaru 主题和不扩展选项卡的情况下的外观,这与默认的 Blackbox 行为不同。
|
||||||
|
|
||||||
|
![Blackbox with a changed theme][11]
|
||||||
|
|
||||||
|
#### 重置为默认
|
||||||
|
|
||||||
|
还有一些更方便的功能,例如记住窗口大小、按像素滚动等。
|
||||||
|
|
||||||
|
好消息是,如果你对设置进行了太多更改,你可以将它们全部还原并重置为默认设置。
|
||||||
|
|
||||||
|
该选项在首选项的“高级”选项卡中可用。
|
||||||
|
|
||||||
|
![reset blackbox settings to default][12]
|
||||||
|
|
||||||
|
### 安装 Blackbox 终端
|
||||||
|
|
||||||
|
请记住,**Blackbox 处于开发的早期阶段**。我在切换主题时遇到了一些崩溃。
|
||||||
|
|
||||||
|
要安装 Blackbox 终端,你应该在系统中安装 [Flatpak 并启用 Flathub 仓库][13]。
|
||||||
|
|
||||||
|
使用此命令在你的系统上安装 Blackbox:
|
||||||
|
|
||||||
|
```
|
||||||
|
flatpak install flathub com.raggesilver.BlackBox
|
||||||
|
```
|
||||||
|
|
||||||
|
在 Fedora 和其他一些与 Flatpak 集成的发行版上,你可以从软件中心安装 Blackbox。
|
||||||
|
|
||||||
|
![Blackbox can also be installed in GNOME Software Center][14]
|
||||||
|
|
||||||
|
安装后,你可以从应用菜单启动它。
|
||||||
|
|
||||||
|
#### 卸载 Blackbox 终端
|
||||||
|
|
||||||
|
如果你不喜欢 Blackbox 并想将其删除,请输入以下命令将其删除。
|
||||||
|
|
||||||
|
```
|
||||||
|
flatpak uninstall flathub com.raggesilver.BlackBox
|
||||||
|
```
|
||||||
|
|
||||||
|
### 结论
|
||||||
|
|
||||||
|
在我看来,Blackbox 是一个不错的终端模拟器。在不支持 GTK4 的发行版上,你可以获得 GTK4 所能提供的所有精彩内容。它提供的功能足以应付日常工作。
|
||||||
|
|
||||||
|
最后,这一切都取决于个人喜好。你可能会喜欢它,也可能不喜欢它。如果你喜欢体验,请尝试一下,并在评论栏与我们分享你的经验。
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
via: https://itsfoss.com/blackbox-terminal/
|
||||||
|
|
||||||
|
作者:[Anuj Sharma][a]
|
||||||
|
选题:[lkxed][b]
|
||||||
|
译者:[geekpi](https://github.com/geekpi)
|
||||||
|
校对:[校对者ID](https://github.com/校对者ID)
|
||||||
|
|
||||||
|
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||||
|
|
||||||
|
[a]: https://itsfoss.com/author/anuj/
|
||||||
|
[b]: https://github.com/lkxed
|
||||||
|
[1]: https://itsfoss.com/linux-terminal-emulators/
|
||||||
|
[2]: https://itsfoss.com/gnome-console/
|
||||||
|
[3]: https://github.com/gnunn1/tilix
|
||||||
|
[4]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-default.png
|
||||||
|
[5]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-noheader.png
|
||||||
|
[6]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-floating-controls.png
|
||||||
|
[7]: https://itsfoss.com/stop-program-linux-terminal/
|
||||||
|
[8]: https://itsfoss.com/copy-paste-linux-terminal/
|
||||||
|
[9]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-easy-copy-paste.png
|
||||||
|
[10]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-theme-selection.png
|
||||||
|
[11]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-yaru.png
|
||||||
|
[12]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-reset.png
|
||||||
|
[13]: https://itsfoss.com/flatpak-guide/
|
||||||
|
[14]: https://itsfoss.com/wp-content/uploads/2022/08/blackbox-install.png
|
Loading…
Reference in New Issue
Block a user