Is it possible in Linux to take a screenshot of a workspace while in another?
Try using it wmctrlfor a short switch to the workspace, for example:
wmctrl
wmctrl -s 1; scrot; wmctrl -s 0
Source: https://habr.com/ru/post/1711613/More articles:Custom Navigation Chart Controls for Bing Maps (formerly Virtual Earth) to replace MS by default - bing-mapslinq to sql ExecuteQuery () as IQueryable - linqHow to define a column of type PasswordBox in a DataGrid? - wpfFree API for analyzing American mailing addresses? - apiHow to determine if a html file is a url? - javaThe biggest group of friends together? - language-agnosticTeam Build - автоматически обновляемый агент после того, как стал недоступным - tfsOngoing insertions in Oracle when an exception occurs - sqlAndroid 1.5 Программирование с помощью TabHost и кнопок - javaWeb service using old proxy settings? - vb.netAll Articles