Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 6104  / 1 Year ago, sun, january 1, 2023, 2:30:53

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?


More From » window

 Answers
0

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

[#41399] Monday, January 2, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
entmpy

Total Points: 52
Total Questions: 112
Total Answers: 113

Location: Marshall Islands
Member since Tue, Sep 21, 2021
3 Years ago
entmpy questions
;