views:

165

answers:

1

Hi,

Is it possible in linux to take a screenshot of a workspace while being in another one ?

Thanks in advance

Blizz

+1  A: 

Try using wmctrl to switch to the workspace briefly, like this:

wmctrl -s 1; scrot; wmctrl -s 0
jleedev
Timing issues are a potential problem with this solution...
ephemient
I don't think there's an easy way, since windows in other workspaces are hidden. Compiz keeps them open, so this may work better with it.
jleedev
ok so does compiz have a library we can use to do such thing ?