78

I would like my Dock to show only the windows of the current workspace. Especially in the little preview window. I find it very confusing to jump around workspaces when trying to find the right window.

pomsky
  • 68,507
kerner1000
  • 4,230

3 Answers3

109

Open Terminal and run

gsettings set org.gnome.shell.extensions.dash-to-dock isolate-workspaces true
pomsky
  • 68,507
  • 1
    This might work for the dash-to-dock GNOME extension, but does not work on the default dock on Pop!_OS 20.04, presumably the same as on Ubuntu 20.04. – raisinrising Jun 19 '20 at 15:41
  • @raisinrising Works fine with the default Ubuntu Dock as confirmed by many others repeatedly. This is because the default Ubuntu Dock is a fork of the Dash to Dock extension and thus they share many dconf/gsettings schemata and keys. Anyway, Pop OS is not supported here, consider asking a question at Unix & Linux Stack Exchange. – pomsky Jun 19 '20 at 15:46
  • Oh I see. Very well then. :) I received the error No such schema “org.gnome.shell.extensions.dash-to-dock” on Pop OS but if it works on Ubuntu itself, I agree with you. – raisinrising Jun 19 '20 at 15:48
  • 1
    @raisinrising I never used Pop OS, but as I understand from their support site, Pop OS doesn't come with any dock pre-installed. The support-page says: "the dock is only visible when the Activities menu is open", but that is actually the GNOME dash, a feature of GNOME Shell, not really a dock per se. And the webpage asks to install Dash to Dock manually to get a fully-fledged dock. So it turns out, in this context, Ubuntu and Pop OS behave quite differently. – pomsky Jun 19 '20 at 16:00
  • 3
    OMG! Worked instantly! – Marco Arruda Feb 03 '21 at 17:43
  • 3
    isolate-workspaces should be the default, as people like me use workspaces precisely to isolate bundles of things from each other. Or maybe I'm just missing why other folks may prefer the existing default behaviour (everything shown in the dock, from all workspaces) – Deleplace Nov 28 '21 at 21:30
  • 1
    Would be nice to be able to specify which apps should be shared and which ones should be isolated. – grabantot May 25 '22 at 21:22
3

If you are using the Dash to Dock extension, you can click on Isolate Workspaces to show the apps running in only the specific workspace.

You can find this option in the Dash to Dock settings:

  1. Go to the Extensions app on your Ubuntu 20.04.
  2. Click on the settings button in front of Dash to Dock.
  3. Then go to Launchers tab and enable Isolate Workspaces.

Here is a screenshot of the Dash to Dock Launchers tab:

Dash to Dock Launchers tab

2

You may use the 'Workspace Isolated Dash' GNOME extension.

Here you can see more information about this extension, and also install it: https://extensions.gnome.org/extension/887/workspace-isolated-dash/

pomsky
  • 68,507