Omarchy

How-To: Record Your Screen on Omarchy From the Terminal With gpu-screen-recorder

Leave a comment

Reel’s new release reminded me that the engine under a lot of Linux screen recorders is gpu-screen-recorder, and you can drive it straight from a terminal. That’s handy for scripted demos, or when you just want a quick clip with no UI. Here’s the short version.

1. Install it

On Omarchy and Arch it’s packaged, so sudo pacman -S gpu-screen-recorder (check with pacman -Si gpu-screen-recorder first). There’s also a Flatpak if you prefer.

2. See what you can capture

gpu-screen-recorder --list-capture-options

That prints capture targets and monitor names, like DP-1|1920x1080 or eDP-1.

3. Record a monitor with desktop audio

gpu-screen-recorder -w eDP-1 -f 60 -a default_output -o ~/Videos/demo.mp4

Swap in your monitor name, or use -w screen for the default screen, or -w portal to pick through the desktop portal on Wayland. Stop and save with Ctrl+C, or from another terminal with pkill -SIGINT -f "^gpu-screen-recorder", which is perfect for binding to a key.

4. Instant replay

gpu-screen-recorder -w screen -f 60 -r 30 -c mp4 -o ~/Videos

That keeps the last 30 seconds in memory; -o must be a directory in replay mode. Check gpu-screen-recorder --help for how your version saves a replay.

Want click effects, zoom and a bar button? That’s what Reel adds on top. For quick terminal captures, this is all you need.

God Bless, and Happy hacking!

References & Further Reading

Subscribe (RSS) Follow How-Tos via RSS

Leave a note

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.