I have a simple drawing tool in a very early stage, and so I thought it might be a good idea to do a screen recording of its functionality – to show to others, and to help me remember myself.
Google told me that CTRL ALT SHIFT R should launch a Gnome recorder. But for me nothing happens. Has this been removed from Gnome 40? I opened some of the gnome settings tools and indeed saw somewhere the “CTRL ALT SHIFT R” sequence. May it not work with wayland?
I think it should be possible – some decades ago kids begun posting smartphone pictures instead of plain textual error messages, and since a few years they post big video files now to report simplest issues. So making a screen video can be not that difficult.
In my laptop, (old indeed), pressing Ctrl Alt Shift R doesn’t work. So I changed in settings it to Ctrl Shift R.
But I’m on GNOME 3.38, so YMMV.
If you want a screen recorder, OBS has Wayland support and also Kooha GitHub - SeaDve/Kooha: Elegantly record your screen
For the built-in screen recording in Wayland, I believe you need to have gst-plugins-base and pipewire installed, and pipewire needs to be running. If it’s working, you will see a red circle icon in the status indicator area after pressing the record keys. The file will be placed automatically in the ~/Videos folder.
$ emerge -pv mutter
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-wm/mutter-40.1-r4:0/8::gentoo USE="introspection systemd udev wayland -elogind -screencast -sysprof -test" INPUT_DEVICES="-wacom" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
So I assume that I have to reemerge mother with -screencast use flag enabled
What you do need is the right set of gstreamer1 plugins, which are provided by pipewire-gstreamer and gst-plugins-good (on Gentoo: with the right set of USE flags, which I cannot help with).
Last attempt was to enable ffmpeg useflag and recompile GTK and all related libs, but still I get only empty files.
All gst-plugins are available, journalctl and pw-mon show no error message.
Maybe a problem is my 4k screen size, I read about dual monitor problems for gnome screen cast.
Well maybe I will try Kooha or just make the video with my android smartphone from the screen
was to enable ffmpeg useflag and recompile GTK and all related libs, but still I get only empty files.
GNOME Shell uses gstreamer for screencasting, not ffmpeg. And GTK is not involved at all here.
maybe I will try Kooha
Kooha just uses GNOME Shell’s screencasting capabilities, so if it doesn’t work with Ctrl+Shift+Alt+R then it won’t work with kooha (unless it’s a shortcut issue, though unlikely).
I’m aware of that. It is just that before, it uses the same exact service as ctrl+shift+alt+r. Atleast, using the portal allows more granular control to the pipeline, rather than just configuring the encoder.
Thanks for let us know. As I had no success even with latest pipewire version, I may indeed try your Kooha at some time, maybe in winter. Maybe Kooha gives some error messages instead just producing empty files.
Yesterday Google told me about one working way for Gnome with XSession: