26

I am using Ubuntu 18.04.01 LTS. I have spent a lot of time searching for Screen Recorders for the Ubuntu GNOME Wayland.

I have tried several Screen Recorders such as Simple Screen Recorder and Vokoscreen, but the result is only a blank screen with the cursor.

Any suggestions for me?

muru
  • 207,228
fsevenm
  • 833

5 Answers5

8

Green Recorder claims to support Wayland.

How it works?

It uses the D-Bus API to connect to the built-in screencasting tool in GNOME Shell. It uses this to record video. To record audio, it launches an instance of ffmpeg in the background. After the recording is finished, it merges the two files into the WebM file.

For Xorg, it uses ffmpeg only for both audio and video.

By default, On Wayland only, Green Recorder uses the V8 encoder instead of the default V9 encoder in GNOME Shell because of the CPU & RAM consumption issue with V9. Which - now - should also give you better performance. On Xorg, each format uses its own default encoder.

You can install from "FOSS Project" teams's PPA by running the following commands:

sudo add-apt-repository ppa:fossproject/ppa
sudo apt update
sudo apt install green-recorder
pomsky
  • 70,557
8

Gnome has builtin screen recorder: https://fedoraproject.org/wiki/ScreenCasting#Using_Gnome.27s_embedded_screencast_tool

Pressing Alt+Ctrl+Shift+R will start recording.

Hayden
  • 181
5

Sorry it might be a bit late, but you can increase the duration of the built-in one by running this command in terminal:

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

Replace 600 with the number of seconds you want to be able to record for.

I've been intrigued with this for a while and have found the way to disable Wayland!

  1. Run this command:

    sudo nano /etc/gdm3/daemon.conf
    
  2. Find:

    #WayLandEnabled=false
    

    and remove the #.

  3. Then press Ctrl+X, enter y, then press Enter.

  4. Restart your computer.

Done! You are now using X11 again. All your screen recorders should now work. The built-in screen recorder (Ctrl+Alt+Shift+R) should be a LOT smoother now as well for old laptops.

4

I couldn’t find a good screen recorder for Wayland. So I made one https://github.com/HasinduLanka/screencorder

It’s stable and working well on Wayland.

If you know HTML/JS well, you can contribute to make frontend better

How this screen recorder works on wayland?

Most screen recorders out there do not work on wayland. Why?

Because wayland is much secure than old X11. Wayland doesn't let every program to see what others doing. It's a bit harder to gain access. But web browsers, like Chromium have handled these security features properly. That's why we use a local Progressive Web App as the frontend and a backend written in Go. The PWA records the screen and sends them to the backend as blobs. Backend records system sounds and combines all together in realtime.

0

It is possible to use Simple Screen Recorder with Ubuntu 24.04 (Wayland).

Installation instructions

https://www.geeksforgeeks.org/how-to-install-simplescreenrecorder-ubuntu/

Solve the non-X11 error

You might see an error when you use it "You are using a non-X11 window system (e.g. Wayland) not supported by SimpleScreenRecorder" which you can solve by editing a file, described here:

https://www.youtube.com/watch?v=TlxUvs2rv80

Jacket
  • 41