Debian bookworm - how to run applications on login in Gnome on the right workspace.
by Luk from LinuxQuestions.org on (#6R5TE)
This question is about Gnome and Debian bookworm. First let me say Auto Move Windows is not what I'm looking for.
I'm looking for something (a script idea? or an existing tool?) that can start applications on specific workspaces in Gnome and not mess mess with windows at all thereafter. For example, lets say I'd like to run tmux in alacritty on workspace 1, Chrome and firefox (both maximised with Chrome in the foreground) on workspace 2, keepassXC on workspace 9 and vscode on workspace 4. But if I at some point run alacritty on workspace 3 I don't want it to jump onto workspace 1. This is what makes Auto Move Windows not an option. There is also a bonus question, if that solution could also run another another window of Firefox on my second screen (that has only one workspace) that would be great, but not essential.
Most likely I need some sort of script, (or a C program? I'd prefer a script, but if only C will do so be it).
If anyone has a programmatic solution (or an existing tool), how to launch apps and move them between workspaces, make them maximised and so on. Prefferably one that doesn't break every time a minor update is installed for Gnome I'd be very thankful.
I'm looking for something (a script idea? or an existing tool?) that can start applications on specific workspaces in Gnome and not mess mess with windows at all thereafter. For example, lets say I'd like to run tmux in alacritty on workspace 1, Chrome and firefox (both maximised with Chrome in the foreground) on workspace 2, keepassXC on workspace 9 and vscode on workspace 4. But if I at some point run alacritty on workspace 3 I don't want it to jump onto workspace 1. This is what makes Auto Move Windows not an option. There is also a bonus question, if that solution could also run another another window of Firefox on my second screen (that has only one workspace) that would be great, but not essential.
Most likely I need some sort of script, (or a C program? I'd prefer a script, but if only C will do so be it).
If anyone has a programmatic solution (or an existing tool), how to launch apps and move them between workspaces, make them maximised and so on. Prefferably one that doesn't break every time a minor update is installed for Gnome I'd be very thankful.