I've just installed Ubuntu 22.04(also 21.04). I used to install obs studio and Kazam to record my screen. In OBS-Studio if I select only window recording it records but the fullscreen option is not working recording only the cursor. Any solutions?
I've just installed Ubuntu 22.04(also 21.04). I used to install obs studio and Kazam to record my screen. In OBS-Studio if I select only window recording it records but the fullscreen option is not working recording only the cursor. Any solutions?
I found a solution.
In this file
/etc/gdm3/custom.conf
(to access it for editing, you could runsudo nano /etc/gdm3/custom.conf
), uncomment (remove the leading#
) this linesave and exit.
Then run this command in the terminal
Happy Ubuntu :)
This may be because Ubuntu 21.04 uses Wayland by default, which restricts screen recording for "security".
In your login screen, you can switch to the "Ubuntu" session, which uses X.Org, and it should allow screen recording software to function properly.
Image source: OMG! Ubuntu!
I am using Ubuntu 21.10 with wayland just fine with a new screen recorder called Kooha (available on Flathub). It can record desktop and microphone audio to MP4 as well as Gif, and with selected area, monitor, or application window.
However, to get it to work I had to install the latest version of Pipewire Debian using the ppa, as the Pipewire version included with Ubuntu 21.04 was not compatible with Kooha:
First, it uses Wayland. That means you need OBS studio 27 and higher, I recommend to use flatpak because it uses this by default, so it works just fine. Also, you can use Peek for screen recording. Apps like simple screen recorder are made for x11, not modern Wayland protocol
Although this is an old question, I've found a solution by using the PipeWire technology with Gnome DE (in my case 3.32) and Chrome (at present version 77).
Check this out: https://wiki.archlinux.org/index.php/PipeWire#WebRTC_screen_sharing
Just open chrome://flags/#enable-webrtc-pipewire-capturer set it as enabled and restart chrome. You'll be able to share your entire screen or any single window. & you might need to restart.
I hope it helps
You don't have to change from Wayland to Xorg.
Remove existing OBS Studio using
Then install using snap
The snap version supports screen recording for Wayland too.