Linux获取特定工作区的屏幕截图

时间:2023-01-24 13:46:48

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

在Linux中是否可以在另一个工作区中截取工作区的屏幕截图?

1 个解决方案

#1


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

尝试使用wmctrl简要切换到工作区,如下所示:

wmctrl -s 1; scrot; wmctrl -s 0

#1


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

尝试使用wmctrl简要切换到工作区,如下所示:

wmctrl -s 1; scrot; wmctrl -s 0