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

Linux

2273 readers
1 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
[–] [email protected] 2 points 1 month ago
[–] [email protected] 9 points 1 month 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.

[–] [email protected] 3 points 1 month ago (1 children)

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

[–] [email protected] 2 points 1 month 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/)