I'm trying to open a new gnome-terminal tab without switching focus.
OS: Ubuntu 20.04
When opening a new tab using commands gnome-terminal --tab or keyboard shortcut Ctrl + Shift + T, the focus will switch to the newly opened tab.
I want to know if there is a built-in way to do this, similar to doing
gsettings set org.gnome.desktop.wm.preferences focus-new-windows 'strict'
This will make it so that every new terminal windows will not receive focus, whether it was opened using commands gnome-terminal or keyboard shortcut Ctrl + Alt + T.
Sadly I couldn't find focus-new-tab or anything similar. Source: org.gnome.desktop.wm.preferences.gschema.xml.in
I know I could use xdotool or wmctrl, but I want to know if there is a gnome setting or maybe some workaround without installing 3rd party tools.