0

I always have four different application windows open in the same position. I want to assign shortcuts to each one that will allow me to focus that window regardless of the previously focused window. I am thinking of using Super + [window #] to toggle the windows. The desired setup is below.

-----------------------------    -----------------------------
|                           |    |                           |
|                           |    |                           |
|                           |    |                           |
|          Window 1         |    |          Window 2         |
|                           |    |                           |
| Focus by pressing Super+1 |    | Focus by pressing Super+2 |
|                           |    |                           |
|                           |    |                           |
|                           |    |                           |
-----------------------------    -----------------------------

-----------------------------    -----------------------------
|                           |    |                           |
|                           |    |                           |
|                           |    |                           |
|          Window 3         |    |          Window 4         |
|                           |    |                           |
| Focus by pressing Super+3 |    | Focus by pressing Super+4 |
|                           |    |                           |
|                           |    |                           |
|                           |    |                           |
-----------------------------    -----------------------------

Does anyone know of a way to do this?

I'm using Ubuntu 16. The windows are really spread across 3 different screens but I don't think that should matter.

3
  • Are they four different applications? If yes, you can pin (lock) them to the Unity launcher in the desired positions. – wjandrea Aug 25 '17 at 1:42
  • No two of them are terminator windows, one is a chrome browser, and the fourth is a chrome devtools window. But maybe I could still use pins on the launcher? I'll look into it – lsimmons Aug 30 '17 at 20:31
  • You might be able to make a custom .desktop file for each of the terminator windows, but I'm not sure how exactly. – wjandrea Aug 30 '17 at 20:49
0

Ended up adding the applications as favorites in the Ubuntu/Gnome Dock and toggling with Super-1, Super-2, etc in Ubuntu 16. Then switched to putting the applications in different workspaces in Ubuntu 18 as described here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.