How to do screen recording on Wayland in Linux?

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

Using Green Recorder

You may try Green Recorder which supports Wayland.

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

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

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

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.

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

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

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

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

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

One comment:

  1. green-recorder has been discontinued as of autumn of 2019, and it works with Python2 only. So, still looking for a screen recorder on GNOME/Wayland.

Leave a Reply

Your email address will not be published. Required fields are marked *