Ubuntu – Terminator: single window, focus on launch

shortcut-keysterminatorwindow

I am configuring Terminator for my desktop. I use the Ctrl + Alt + T shortcut to launch it. Since I want only a single instance running, I use run-one terminator as the launcher command.

Now if an Terminator instance is running, a new instance isn`t launched, but the existing instance does not get focused.

Any ideas as to how I could get the Terminator window to get focus?

Best Answer

  • Try to install wmctrl : sudo apt-get install wmctrl
    now the command wmctrl -a STRING gives focus to a window containing STRING in its title
    so your final command will be:

    run-one terminator; wmctrl -a Terminator
    
  • Related Question