Dual monitor setup on Ubuntu 18.04; when I hit activities only the left monitor switches workspaces while the right monitor just keeps whatever is on its screen. Is there a way to make the workspace span both monitors so that when I switch from one workspace to another both monitors switch?
-
Does this work for both gnome and unity? – Ross Feb 06 '19 at 19:09
-
2Does this answer your question? [How can I make gnome-shell treat both monitors in the same way?](https://askubuntu.com/questions/68778/how-can-i-make-gnome-shell-treat-both-monitors-in-the-same-way) – dcorking Oct 06 '20 at 05:25
6 Answers
Had the same problem. Turned out it was super easy to fix.
Install the GNOME Tweaks app. Go to Workspaces and set Display handling to Workspaces span displays. Done!
-
5see also https://askubuntu.com/a/1125322/16985 for additional fixes, e.g. Activities still showing windows from all workspaces on secondary display – törzsmókus Mar 13 '19 at 14:04
-
3I had a different problem that this solution fixed. When switching from a single laptop display to a single external display, all the windows were merged into the top workspace, emptying the other workspace. Makes the worksspaces concept useless. Thanks. – AlikElzin-kilaka Jun 26 '19 at 12:22
-
This fixes workspaces but the "window key" dash on additional monitors shows all apps across all workspaces for Ubuntu 18. In Fedora 31, this works. – wilsotc Dec 29 '19 at 15:01
-
Did this but it had no effect. Changing workspace has effect on primary monitor only – frepie Apr 24 '20 at 16:48
-
1I searched for the reverse to keep a zoom session on 2nd monitor while switching workspaces in sharing my screen. Indeed gnome-tweaks: switch "workspaces span displays" to "workspaces on primary display only". Thanks! – Rob Rutten Mar 01 '21 at 10:56
-
1PSA: "Workspaces" is not available anymore in the Tweaks app in Ubuntu 22.04, but the solution below using gsettings still works. – jpb Aug 23 '22 at 12:22
You can change this behaviour by executing:
gsettings set org.gnome.mutter workspaces-only-on-primary false
-
9
-
1
-
1
-
Just upgraded to 18.04, and use Unity. Solved the problem for me, thanks. – Andrew Fielden Apr 10 '20 at 12:02
-
9
-
-
-
-
@dkurzaj it did something on ubuntu 20.04 but doesn't allow for independent workspaces on each monitor. They all change at the same time. Slightly disappointing – ionescho Dec 11 '20 at 10:36
-
@ionescho the question is about "mak[ing] the workspace span both monitors", not having different workspaces on the different monitors. I'm sorry, but I do not know how to do what you want :/ Maybe have a look at this other topic : https://askubuntu.com/questions/21711/multiple-monitors-multiple-workspaces – dkurzaj Dec 12 '20 at 12:55
-
Amazing. It works also on 20.04. Curiosity: where are such settings stored? – petrux Dec 27 '20 at 16:33
-
3
In Ubuntu 22.04:
Settings > Multitasking > Multi-Monitor > Workspaces on all displays
- 231
- 2
- 3
Install dconf-editor:
sudo apt install dconf-editor
Disable the following settings:
dconf write /org/gnome/mutter/workspaces-only-on-primary false
dconf write /org/gnome/shell/overrides/workspaces-only-on-primary false
- 12,964
- 10
- 49
- 77
- 121
- 3
-
@leoschet I suggest you reset dconf settings first. (dconf reset -f /) – Shantanu Saha Dec 18 '18 at 07:43
-
2I don't think you need to install `dconf-editor` (it's for the **GUI application**) first in order to run the `dconf write ...` commands. Also it's preferable to use `gsettings` instead of the `dconf` commands (see [here](https://developer.gnome.org/dconf/unstable/dconf-tool.html)). – pomsky Nov 12 '19 at 10:55
I recommend to you to use the Multi Monitos Add-on extension, available in GNOME Extensions. It is pretty easy to use, and it also gives you the ability to add a panel in the second monitor.
To get up and running all the GNOME extensions config directly in your browser, you only need the following:
Install the gnome-shell-extensions package:
sudo apt install gnome-shell-extensionsInstall the host connector:
sudo apt install chrome-gnome-shellInstall the GNOME Shell integration extension (Chrome) or add-on (Firefox).
Find and install the Multi Monitos Add-on extension.
- 12,964
- 10
- 49
- 77
- 221
- 2
- 5
-
1I'm slightly disappointed to find that this still doesnt allow for independent desktop state on each monitor. – Steven Lu Oct 30 '20 at 18:51
-
-
1at least multi desktop is usable in ubuntu but it's clearly lacking a few touches – Steven Lu Oct 30 '20 at 20:39