You are not logged in.

#1 2025-03-26 21:15:42

HeyCanIBorrowThat
Member
Registered: 2022-08-18
Posts: 10

Trying to screenshot all x11 virtual desktops

As the title says, I'm trying to capture an image/render of all x11 virtual desktops, but without cycling through them. By cycling I mean activating the next one, taking an image, and moving to the next. Using `xwd -root` does the trick, but only for the current active desktop. From what I've found online and through chatgpt, it seems like it's impossible. Is there actually a way to do this, or is this a limitation of Xorg, or of xwd? Thanks!

Offline

#2 2025-03-26 21:29:14

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,774

Re: Trying to screenshot all x11 virtual desktops

I'm trying to capture an image/render of all x11 virtual desktops, but without cycling through them.

Not gonna happen - virtual desktops don't really exist. Your WM shows and hides windows based on the selected virtual desktop.

This is also not really a X11 problem - though technically any compositor (on X11 or wayland or windows) could render those windows offscreen, if you're using a compositing WM it might even provide that feature (by effectively hiding that it's cycling through the VDs)


Since this has all the hallmarks of an https://en.wikipedia.org/wiki/XY_problem - what are you trying to achieve here? Why is cycling through the VDs not acceptable?

Offline

#3 2025-03-26 21:49:48

HeyCanIBorrowThat
Member
Registered: 2022-08-18
Posts: 10

Re: Trying to screenshot all x11 virtual desktops

I use bspwm as my WM, and it doesn't come with any way to get an overview of which windows are on which virtual desktops. I'm trying to make something similar to pressing win+Tab on windows. I'd like to get a screenshot/render of all virtual desktops and show them in a box.

Offline

#4 2025-03-26 22:04:59

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,774

Re: Trying to screenshot all x11 virtual desktops

Offline

#5 2025-03-26 22:17:18

HeyCanIBorrowThat
Member
Registered: 2022-08-18
Posts: 10

Re: Trying to screenshot all x11 virtual desktops

Skippy looks promising, I'll check it out. Thank you!

Offline

Board footer

Powered by FluxBB