Skip to content

Instantly share code, notes, and snippets.

@rgo
Created March 13, 2012 01:16
Show Gist options
  • Save rgo/2025990 to your computer and use it in GitHub Desktop.
Save rgo/2025990 to your computer and use it in GitHub Desktop.
Gnome-shell dual monitor separate workspaces
# By default the behavior is:
# Primary monitor work as always and second monitor only have one and fixed workspace
# I.e. you change to next workspace, primary monitor change to this workspace and second monitor remain as is.
# The desired behaviour is:
# Primary monitor and secondary monitor are linked workspace.
# I.e. you change to next workspace, primary monitor change to this workspace and second monitor too.
$ gconf-editor
# Look for /desktop/gnome/shell/windows/workspaces_only_on_primary and set to false
@jethroguce
Copy link

Has anyone found a solution to have individual workspace per monitor?

@mastercoy
Copy link

well... wishing someday someone mess with it

@rgo
Copy link
Author

rgo commented Jun 3, 2020

In the issue that I linked, it seems to be fixed:

gsettings set org.gnome.mutter workspaces-only-on-primary false

It's also mentioned:

By the way, you should be able to set this in the Workspaces page of the GNOME Tweaks app.

I can't confirm it because I don't have a Linux desktop with two monitors nowadays.

@vala84no
Copy link

vala84no commented Jul 6, 2020

Linked workspaces work just fine on multi monitors on Ubuntu 20.04. I don't think there's a solution for separate workspaces per monitor however.

@jose-daniel
Copy link

jose-daniel commented Oct 8, 2021

Thanks @rgo, this command saved my life! Now it's working with multiple monitors.
gnome-tweaks isn't working on 20.04 so this is the only way to change this config.

In the issue that I linked, it seems to be fixed:

gsettings set org.gnome.mutter workspaces-only-on-primary false

It's also mentioned:

By the way, you should be able to set this in the Workspaces page of the GNOME Tweaks app.

I can't confirm it because I don't have a Linux desktop with two monitors nowadays.

@rgo
Copy link
Author

rgo commented Oct 13, 2021

You're welcome @jose-daniel 👍🏻

@Hugobsb
Copy link

Hugobsb commented May 2, 2024

Did anyone ever find a way of having individual workspaces per monitor?

I'm also interested. If anyone ever found that, I'd like to know how.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment