Kooha：一款支持 Wayland 的新生 GNOME 屏幕录像机
屏幕录制 Wayland
Linux 中没有一个 [像样的支持 Wayland 显示服务器的屏幕录制软件](https://itsfoss.com/gnome-screen-recorder/)。


如果你使用 Wayland 的话，[GNOME 内置的屏幕录像机](https://itsfoss.com/gnome-screen-recorder/) 可能是少有的（也是唯一的）支持的软件。但是那个屏幕录像机没有可视界面和你所期望的标准屏幕录像软件的功能。


值得庆幸的是，有一个新的应用正在开发中，它提供了比 GNOME 屏幕录像机更多一点的功能，并且在 Wayland 上也能正常工作。


### 遇见 Kooha：一个新的 GNOME 桌面屏幕录像机


![](/data/attachment/album/202103/22/212336qxd077rj55i8ippj.png)


[Kooha](https://github.com/SeaDve/Kooha) 是一个处于开发初期阶段的应用，它可以在 GNOME 中使用，是用 GTK 和 PyGObject 构建的。事实上，它利用了与 GNOME 内置屏幕录像机相同的后端。


以下是 Kooha 的功能：


* 录制整个屏幕或选定区域
* 在 Wayland 和 Xorg 显示服务器上均可使用
* 在视频里用麦克风记录音频
* 包含或忽略鼠标指针的选项
* 可以在开始录制前增加 5 秒或 10 秒的延迟
* 支持 WebM 和 MKV 格式的录制
* 允许更改默认保存位置
* 支持一些键盘快捷键


### 我的 Kooha 体验


![](/data/attachment/album/202103/22/212337e540k4bc504kf39k.png)


它的开发者 Dave Patrick 联系了我，由于我急需一款好用的屏幕录像机，所以我马上就去试用了。


目前，[Kooha 只能通过 Flatpak 安装](https://flathub.org/apps/details/io.github.seadve.Kooha)。我安装了 Flatpak，当我试着使用时，它什么都没有记录。我和 Dave 进行了快速的邮件讨论，他告诉我这是由于 [Ubuntu 20.10 中 GNOME 屏幕录像机的 bug](https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1901391)。


你可以想象我对支持 Wayland 的屏幕录像机的绝望，我 [将我的 Ubuntu 升级到 21.04 测试版](https://itsfoss.com/upgrade-ubuntu-beta/)。


在 21.04 中，可以屏幕录像，但仍然无法录制麦克风的音频。


我注意到了另外几件无法按照我的喜好顺利进行的事情。


例如，在录制时，计时器在屏幕上仍然可见，并且包含在录像中。我不会希望在视频教程中出现这种情况。我想你也不会喜欢看到这些吧。


![](/data/attachment/album/202103/22/212338lyajdvirc3q12qs0.jpg)


另外就是关于多显示器的支持。没有专门选择某一个屏幕的选项。我连接了两个外部显示器，默认情况下，它录制所有三个显示器。可以使用设置捕捉区域，但精确拖动屏幕区域是一项耗时的任务。


它也没有 [Kazam](https://itsfoss.com/kazam-screen-recorder/) 或其他传统屏幕录像机中有的设置帧率或者编码的选项。


### 在 Linux 上安装 Kooha（如果你使用 GNOME）


请确保在你的 Linux 发行版上启用 Flatpak 支持。目前它只适用于 GNOME，所以请检查你使用的桌面环境。


使用此命令将 Flathub 添加到你的 Flatpak 仓库列表中：



```
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

```

然后用这个命令来安装：



```
flatpak install flathub io.github.seadve.Kooha

```

你可以通过菜单或使用这个命令来运行它：



```
flatpak run io.github.seadve.Kooha

```

### 总结


Kooha 并不完美，但考虑到 Wayland 领域的巨大空白，我希望开发者努力修复这些问题并增加更多的功能。考虑到 [Ubuntu 21.04 将默认切换到 Wayland](https://news.itsfoss.com/ubuntu-21-04-wayland/)，以及其他一些流行的发行版如 Fedora 和 openSUSE 已经默认使用 Wayland，这一点很重要。




---


via: <https://itsfoss.com/kooha-screen-recorder/>


作者：[Abhishek Prakash](https://itsfoss.com/author/abhishek/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


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


OK
There is not a single [decent screen recording software for Linux](https://itsfoss.com/gnome-screen-recorder/) that supports Wayland display server.

[GNOME’s built-in screen recorder](https://itsfoss.com/gnome-screen-recorder/) is probably the rare (and lone) one that works if you are using Wayland. But that screen recorder has no visible interface and features you expect in a standard screen recording software.

Thankfully, there is a new application in development that provides a bit more feature than GNOME screen recorder and works okay-ish on Wayland.

## Meet Kooha: a new screen recorder for GNOME desktop

![kooha screen recorder](https://itsfoss.com/content/images/wordpress/2021/03/kooha-screen-recorder.png)

[Kooha](https://github.com/SeaDve/Kooha) is an application in the nascent stage of development. It can be used in GNOME and it is built with GTK and PyGObject. In fact, it utilizes the same backend as the GNOME’s built-in screen recorder.

Here are the features Kooha has:

- Record the entire screen or a selected area
- Works on both Wayland and Xorg display servers
- Records audio from microphone along with the video
- Option to include or omit mouse pointer
- Can add a delay of 5 or 10 seconds before start the recording
- Supports recording in WebM and MKV formats
- Allows to change the default saving location
- Supports a few keyboard shortcuts

## My experience with Kooha

![kooha](https://itsfoss.com/content/images/wordpress/2021/03/kooha.png)

I was contacted by its developer, Dave Patrick and since I desperately want a good screen recorder, I immediately went on to try it.

At present, [Kooha is only available to install via Flatpak](https://flathub.org/apps/details/io.github.seadve.Kooha). I installed Flatpak and when I tried to use it, nothing was recorded. I had a quick email discussion with Dave and he told me that it was due to a [bug with GNOME screen recorder in Ubuntu 20.10](https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1901391).

You can imagine my desperation for a screen recorder with Wayland support that I [upgraded my Ubuntu to the beta version](https://itsfoss.com/upgrade-ubuntu-beta/) of 21.04.

The screen recording worked in 21.04 but it could still not record the audio from the microphone.

There are a few more things that I noticed and didn’t work smoothly to my liking.

For example, while recording the counter remains visible on the screen and is included in the recording. I wouldn’t want that in a video tutorial. You wouldn’t like to see that either I guess.

![kooha recording](https://itsfoss.com/content/images/wordpress/2021/03/kooha-recording-800x636.jpg)

Another thing is about multi-monitor support. There is no option to exclusively select a particular screen. I connect with two external monitors and by default it recorded all three of them. Setting a capture region could be used but dragging it to exact pixels of a screen is a time-consuming task.

There is no option to set the frame rate or encoding that comes with [Kazam](https://itsfoss.com/kazam-screen-recorder/) or other legacy screen recorders.

## Installing Kooha on Linux (if you are using GNOME)

Please make sure to enable Flatpak support on your Linux distribution. It only works with GNOME for now so please check which desktop environment you are using.

Use this command to add Flathub to your Flatpak repositories list:

`flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo`


And then use this command to install it:

`flatpak install flathub io.github.seadve.Kooha`


You may run it from the menu or by using this command:

`flatpak run io.github.seadve.Kooha`


## Conclusion

Kooha is not perfect but considering the huge void in the Wayland domain, I hope that the developers work on fixing the issues and adding more features. This is important considering [Ubuntu 21.04 is switching to Wayland by default](https://news.itsfoss.com/ubuntu-21-04-wayland/) and some other popular distros like Fedora and openSUSE already use Wayland by default.