Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2659

Raspberry Pi OS • Re: Best screen recorder for wayland

$
0
0
Hey there! Sorry you haven't got more feedback; I just tested and it works great. I tested on my laptop running Arch Linux, so, sorry that it's not as relevant feedback as if it was ran on a Pi.

Because you coded the script in such a way that distribution-specific CLI commands (in this case, just the apt package manager) are only run if the host system is lacking the script's dependencies, I just added & run the following bash script as all deps were available on Arch's main repos via the pacman package manager:

Code:

#!/usr/bin/env bashsudo pacman -S --needed \  ffmpeg \  gcc \  git \  meson \  mpv \  ninja \  slurp \  v4l-utils \  wf-recorder \  wlr-randr \  yad
Afterwards, I ran the script and created a minute-long screencast to demonstrate something in the terminal, no audio/webcam, saved and played without issue! 5MB file size which is perfect and made for an easy email attachment.

In terms of constructive feedback, the script saves in ~/Videos by default, which is fine in most circumstances, however users can rename these base folders (I have mine just called "vids"). To cater for this edge case, you could check for the existence of $XDG_VIDEOS_DIR, use that if set, and fall back to ~/Videos if unset or not a valid path etc.

Thanks for this really neat utility!

Statistics: Posted by kjkent — Thu May 22, 2025 12:55 am



Viewing all articles
Browse latest Browse all 2659

Trending Articles