Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Linux 中是否可以在另一个工作区中截取工作区的屏幕截图?
尝试使用wmctrl短暂切换到工作区,如下所示:
wmctrl
wmctrl -s 1; scrot; wmctrl -s 0