Ubuntu: how to show alt-tab in both monitors?

Solution 1:

Gnome Extension: Current screen only on window switcher

Work fine in GNOME Shell 3.38.3
After using this, individual display tab are displayed in Alt + Tab

Solution 2:

What you are seeing is the intended behavior.

The history behind this feature:

  • First requested on 2010 in Bug 619854 - Always show Alt-tab display on the primary display ,
  • Committed then in (appSwitcher) Display on primary monitor
  • A request was done to reverse it on 2019 in Window switcher only appearing on primary display, which was refused with this message:

    No. We did those things in the past, and you will always find someone complaining that it's the wrong display and it really should be on pick-one-of-the-three-choices.

    The monitor that is really the best choice is the one the user is currently looking at. But of course that's information we don't have.

    What we agreed on as second-best choice was to show the popups on all monitors - see the discussion in this old bug report. But that behavior only got implemented for OSDs, not for the switchers (which is a much more complex task given that the popups are interactive)

    Displaying it on the focused monitor seems to confuse users so revert back to using the primary monitor as per designer's request.

The only proposed solution was to use the extension Current screen only on window switcher, described as:

Limits the windows shown on the switcher to those of the current monitor.

If this extension does not help in your work, then I'm afraid that there is no other solution.

Solution 3:

As @harrymc already said, there's no way to do that.

However, if you are using Ubuntu 18.04 for instance, there is a way to select the Primary Display from the Displays settings:

Settings → Displays → Display Arrangement → Primary Display

Select your preferred monitor out of the drop down list.

The Alt+Tab "Switch Windows" will be shown on the primary display.