this post was submitted on 26 Jul 2024
10 points (100.0% liked)

Linux

2352 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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 3 months ago (2 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 3 months ago (1 children)

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

[–] [email protected] 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/)