3

This question already has an answer here:

I am using Ubuntu 18.04 running GNOME desktop environment

I have two workspaces, one and two, with following windows

  • Work space 1: shell 1, chrome 1
  • Work space 2: shell 2, chrome 2

I want: when I'm in a particular workspace, I can only alt-tab to windows that were opened in that workspace (other windows that were not opened in that workspace should not show up).

I'm aware of some of these related questions:

  1. this one seems like what I am asking here, but the answer was for Unity, not GNOME
  2. The question + answer only make it so that the dock doesn't show windows from other workspaces, I can still alt-tab with it

marked as duplicate by pomsky, karel, Community Jan 9 at 2:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Yes, I just followed your link, it is a duplicate, just different ubuntu version. – Tran Triet Jan 9 at 2:52
7

To ensure that the default task switcher of Gnome Shell (Ubuntu 17.10 and higher) only shows applications of the current workspace, change a setting using the following command:

gsettings set org.gnome.shell.app-switcher current-workspace-only true

You can also change this setting with dconf-editor, a graphical tool that allows inspecting and changing a range of settings of any application that uses the gsettings framework.

To reset to the default setting:

gsettings reset org.gnome.shell.app-switcher current-workspace-only
1

Alternate Tab extension : https://extensions.gnome.org/extension/15/alternatetab/

+

Workspace Isolated Dash extension : https://extensions.gnome.org/extension/887/workspace-isolated-dash/ (Isn't work by default with Dash to panel!) or use Dash to panel https://extensions.gnome.org/extension/1160/dash-to-panel/ Settings -> Behavior -> Isolate Workspaces

  • 1
    I noticed that you were the first to answer my question, thanks for fast response. I haven't tried your solution though, because I don't really want to install extensions. I am going to mark the other solution as it solves my problem in the way that I prefer. – Tran Triet Nov 16 '18 at 11:02

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