I’m using Linux Mint MATE. I would like to launch a gui application without recognized by my eyes. I tried the following code which launches the application and moves it to another workspace with
wmctrl
some_app_with_gui & wmctrl -r title -t 1 #move window to another workspace (Say I'm in workspace 0 now)
As indicated here, the reason is that
wmctrl
some_app_with_gui
some_app_with_gui & sleep 0.8 wmctrl -r title -t 1 #move window to another workspace (Say I'm in workspace 0 now)
and this actually works.
With this solution, however, the window is recognized by my eyes for a moment (0.1 seconds or so). This is truly annoying and I’d like to avoid it.
Are there any solutions? It doesn’t necessarily have to use
wmctrl
How this question is different from ones with similar titles is
that only one machine is involved (not SSH-related)
and that I would like to launch gui application on a machine with a desktop environment without gui.