Ubuntu – way that Unity can remember which terminal window had focus and was raised

unitywindow-manager

I use a lot of terminal windows (at least three, up to 5 or 6).

If I am working in one of them, and switch to another app via the unity launcher (say the web browser), and then come back to the terminal windows by clicking on the terminal icon in the Unity launcher, the window that had focus and was raised is not raised anymore and may or may not still have focus.

This is really annoying as I have to dig under all the other terminal windows I do not want to finally find and click on the one I do want.

Is there a way that Unity can remember which terminal window had focus and was raised?

Update: thanks to everyone, but as far as I'm concerned this is a bug in Unity

Best Answer

You can also use the Alt-` shortcut to switch between open windows of the same application. It's not exactly a solution, but it might help you get back to your terminal faster. I typically use Alt-Tab to get to the terminal application and then switch to whatever window I need.

You could also use scale function to show all your windows and then click the window that you want. By default, I believe the shortcut is Super-W, but it can be changed in the compiz settings manager under Window Management->Scale->Bindings->Initiate Window Picker for All Windows

Hope this helps!