For example when I run open -a Kodi
I'd like to be able to specify which Desktop I'd want the application to launch in.
Trying to avoid dragging/dropping to the desired workspace.
For example when I run open -a Kodi
I'd like to be able to specify which Desktop I'd want the application to launch in.
Trying to avoid dragging/dropping to the desired workspace.
You can permanently assign an app to a Space by right-clicking the app in the dock > Options > Assign to... This Desktop.
A faster way to move it to any given Space is to grab the window's title bar, then use your regular shortcut to switch to the desired Space. By default that would be Ctrl ⌃ [number]
See System Prefs > Keyboard > Shortcuts > Mission Control if you've never set that up. [Note that it differentiates between the numbers above qwerty & numbers on a 10-key pad & considers them different keys]
Unfortunately, I believe there is no known way to launch an application in a specific dock space (Desktop) using command line.