this post was submitted on 26 Jul 2024
9 points (90.9% liked)

Linux

2341 readers
2 users here now

Shit, just linux.

Use this community for anything related to linux for now, if it gets too huge maybe there will be some sort of meme/gaming/shitpost spinoff. Currently though… go nuts

founded 1 year ago
MODERATORS
 

Hello. Im trying to figure out, how to record a Window on wayland and i need your help. I know there is such a thing in X11, but none of screen recorders ive tried on wayland support it. I could just go with full screen recording and edit it later, but i want background be transparent, and dont want to make extra job every time.

top 4 comments
sorted by: hot top controversial new old
[–] narc0tic_bird@lemm.ee 9 points 3 months ago (1 children)

Works fine with OBS Studio (Flathub) for example.

Add a "Screen Capture (PipeWire)" source and a window should pop up asking for which screen or application window you want to capture.

Works with KDE and GNOME, not sure about other desktop environments.

[–] majestic@sh.itjust.works 3 points 3 months ago (1 children)

Interesting... I use Hyprland. I have to check it out.

[–] vpzom@dev.narwhal.city 3 points 3 months ago

For hyprland, make sure you're using xdg-desktop-portal-hyprland since otherwise you won't get window sharing

(see https://wiki.hyprland.org/Useful-Utilities/xdg-desktop-portal-hyprland/)

[–] reddthat@reddthat.com 2 points 3 months ago