如何在Linux的Wayland上进行屏幕录像?

How to do screen recording on Wayland in Linux? Many screen recorders do not work on the new Wayland.

如何在Linux的 Wayland上进行屏幕录像? 许多屏幕录像机不能在新的Wayland上使用。

使用绿色记录仪 (Using Green Recorder)

You may try Green Recorder which supports Wayland.

您可以尝试支持Wayland的Green Recorder

Note: Green Recorder is no longer under development by the original author (Please check the project README for more details). It still works well for most usage scenarios.

注意:Green Recorder不再由原始作者开发(请检查项目 README以获取更多详细信息)。 在大多数使用情况下,它仍然运行良好。

Green Recorder

If you use Ubuntu 18.04, you may install Green Recorder from the following PPA:

如果您使用Ubuntu 18.04,则可以通过以下PPA安装Green Recorder:

sudo add-apt-repository ppa:fossproject/ppa
sudo apt update
sudo apt install green-recorder

使用Gnome的屏幕录制工具 (Using Gnome’s screen recording tool)

Gnome 3 has a built-in screen recording functionality. To start, press Alt+Ctrl+Shift+R and the recording will start. There should be a red icon on the top right message tray of your screen. To stop recording, press the red icon or press Alt+Ctrl+Shift+R again.

Gnome 3具有内置的屏幕录制功能。 要开始,请按Alt+Ctrl+Shift+R ,将开始录制。 屏幕右上方的消息托盘上应该有一个红色图标。 要停止录制,请按红色图标或再次按Alt+Ctrl+Shift+R

The video file will be in webm format and saved in the Video directory on your home directory.

视频文件将为webm格式,并保存在主目录的Video目录中。

增加截屏视频的时长 (Increase the duration of screencast videos)

The screen recording functionality has a maximum length limit which is just 30 seconds long by default. The default length isn’t ideal if you plan to make a lengthy video. Good news is that it is possible to increase the duration manually. Modify the following gsettings string in command like using the gsettings command line tool as follows

屏幕录制功能的最大长度限制默认为30秒。 如果您打算制作冗长的视频,则默认长度不太理想。 好消息是可以手动增加持续时间。 像使用gsettings命令行工具一样,在命令中修改以下gsettings字符串,如下所示

gsettings set org.gnome.settings-daemon.plugins.media-keys max-screencast-length 600

Replace the 600 value with the number of seconds you want.

600值替换为所需的秒数。

翻译自: https://www.systutorials.com/how-to-do-screen-recording-on-wayland-in-linux/

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值