Fix Dual Monitors in GNOME 3 (aka My Workspaces are Broken!)

Note: See update for GNOME 3.3/3.4 at the end of this post.

I’ve already expressed some disappointment in the default multi-monitor behavior in GNOME 3 on the dev’s blog (read: I posted an angry rant in the comments).

Basically, in GNOME 3, for some reason, they decided the typical use case was for the secondary monitor to stay fixed when switching workspaces, which is the complete wrong setup for someone using dual monitors.

Luckily, as Pascal points out in the blog’s comments, there’s a setting for this, and the other (ie correct) behavior is actually mutter’s default.

Luckily, the fix is pretty simple, and will allow workspaces to switch on multiple monitors again!

  1. Download gconf-editor – this is probably available in your distribution’s package manager.
  2. Start gconf-editor – the “Run Command” menu is still available in GNOME 3 by pressing Alt-F2.
  3. In the tree on the left, navigate to /desktop/gnome/shell/windows
  4. UNCHECK the box next to workspaces_only_on_primary

You’ll need to log out or restart to see the changes, and some commenters in the above post seem to note some small issues with the setup, but all-in-all this has been completely functional for me; and best of all, I can use both monitors again!

Update for GNOME 3.3/3.4

Cedric Briner emailed me to let me know that for GNOME 3.3/3.4, the command has been updated. The new command is (instead of gconf-editor):

gsettings set workspaces-only-on-primary false
Posted in Linux | 92 Comments

92 Responses to Fix Dual Monitors in GNOME 3 (aka My Workspaces are Broken!)

  1. wandering stranger says:

    Thanks for the info!

  2. Lutz says:

    Wow, excellent. It was driving me nuts at work fighting with my IDE and VM constantly not being on the workspace I wanted them to be. Can’t thank you enough for this!

  3. Spice says:

    umm, is it bad if I don’t see any of those options in the list?

  4. Sergio says:

    Strange default is P in da A. Thanks a lot for workaround!

  5. k says:

    I’ve got better – I see those, but after changing to off, nothing really changes at all, still only primary monitor has desktop and secondary only a wallpaper

  6. Gripper says:

    Thanks for posting the workaround.

    Is there a way I can also see the preview of the second monitor pressing Alt-F1?

  7. Curt Olson says:

    Yes, thanks for this tip! This issue was driving me nuts too. Sometimes hard to know what keywords to search for, but I found your site and gconf-editor did the trick. Now on to figure out why my audio doesn’t work in FC-15 while it worked perfectly in 14 ..

  8. Hi Greg,

    Can you give more information about how exactly did you achieve this? When I uncheck the parameter, Gnome still sees my second monitor as an extension of primary workspace. Is there any other necessary setting on how to enable another workspace for the second monitor?

    • gregcor says:

      This is to restore the default behavior that existed in GNOME 2, which was basically a big workspace. If you want two different sets of workspaces, you’ll need to configure two X displays in your video card or X11.conf – note that some quick research seems to show reports of this crashing with GNOME 3, but I’m not sure if that’s been fixed.

      • Brian says:

        Uhm, yeah. No. This use-case — dual screens (i.e. :0.0 and :0.1 such that each has their own workspaces and can be changed independent of the other) doesn’t actually work and is not even being considered important enough for anyone to fix.

        Yet another reason why GNOME 3 is unusable.


        • Rick says:

          I agree – I have four monitors and would love to be able to control them independently – it would be such a huge productivity helper.
          I’d love one to be left static and then other three to be have multiple workspaces.

  9. Juan GNU says:

    Gracias, Thanks

  10. Igor Lubashev says:

    I actually LIKE the new screen mode!

    I’ve been frantically trying to figure out how to make this work on prev Gnone.

    It is actually strange for me how one can like it any other way.

    I have one monitor with my code editor (Eclipse), and I use the other monitor for various random things (Web browser, various terminal windows, email, etc). I love it that I can switch workspaces on the “Misc stuff” monitor and keep my Eclipse with my code in front of me.

    Likewise, I may have firefox open on one of the Monitors and then switch workspaces on the other without loosing my Firefox.

    You can use dual monitors a LOT better then just pretending you have a huge monitor (which is also broken, because you have a huge ‘hole’ in hte middle).

    • Liam Carter-Condon says:

      You can accomplish this in previous iterations of GNOME by right clicking a window border and selecting “Always on Visible Workspace”

    • Brian says:

      How about one step even better? Workspaces on each monitor that are independently switchable?

      Sound good doesn’t it? Keep on wishing

  11. Pingback: General Failure

  12. Nicklas Overgaard says:

    Thank you so much for this fix.

    The default behavior has been driving me nuts since i started using the gnome 3 beta.

    You made my day πŸ™‚

  13. Richy says:

    Thank you,

    that drove me insane!

  14. tim says:

    anyway to fix window overview displaying all apps from various workspaces on the 2nd monitor?

  15. Peter Hanecak says:

    I quite hate it when things come down to gconf-editor. It reminds me of Windows Registry and of all the stuff I hated Windows for and which made me to switch to Linux. Gnome3 now seems to be heading the “Windows” path …

    I would prefer either nice GUI for that or simple old-style text configuration I can tweak.

    End of Gnome3 bashing. πŸ™‚

  16. Mani says:

    Very helpful, thanx. I do agree that the default desktop configuration is not good for dual monitors.

  17. Silvio says:

    Infelizmente no meu eu nΓ£o achei a pasta “/desktop/gnome/shell/windows” e continua a luta para fazer os dois monitores funcionarem adequadamente. πŸ˜€

    (Editor: English: Unfortunately I did not think in my folder “/ desktop / gnome / shell / windows” and continues to struggle to do both monitors work properly.)

    • tom miller says:

      Well this is my issue, but it really does not totally fix it. I need to pin the open window to a workspace. They move when you right click the titlebar and move to another workspace. However, they do not stay on the workspace you move them to? I run a lot of open windows “tsclient” to virtual machines and I need to “pair” the windows to each other on workspaces across BOTH monitors.


  18. ssam says:

    Thanks, a handy tip.
    there is a bug to get this into gnome-tweak-tool, but they dont want to implement it until various bugs fixed with linked work spaces.

    there is also some discussion at

  19. Victor says:

    I just updated my notebook, and now the fix is not working. Any ideas about that?
    In gconf-editor the key workspaces_only_on_primay has the “This key has no schema”
    Help please

  20. tom says:

    fast and cool solution. Thank you!

  21. Eduardo says:

    Hi, thanks for the tip, totally worked for me.

    To Silvio, are you using Gconf-editor or Dconf-editor? Because with the dconf-edirot your will not be able to see the necessary keys.


  22. Jack Holt says:

    I notice that comments on the dev’s blog for the entry where the dev announces he “broke” multi-monitor support on purpose are disabled. Thanks for this info. I can’t tell you how irritated I was to discover when I upgraded to Linux Mint 12 (which uses Gnome 3) that my second monitor didn’t switch when I switched workspaces. Thanks again for helping restore sane functionality.

  23. Pingback: Gnome 3 sucks on dual screens. | Securitron GNU/Linux Blog.

  24. Ace says:

    Thanks for the info how to change it when necessary.

    But I disagree with you: using multiple workspaces on the second monitor isn’t essential for users who prefer dual monitor settings. Even if I configured the second screen always with multiple workspaces in the past myself, I hardly used more than one on the second screen.
    Having the second screen fixed now makes my system faster and I need less memory.
    So, at the moment, I am really satisfied with this standard setting.

    But thanks for showing anyhow. πŸ™‚

  25. Andre says:

    Very helpful, great! I’ve linked it on my personal blog with your credits.

  26. This is why I switched to KDE.

  27. This how to works perfectly for me!!!! Tks a lot!!!

  28. Tom says:

    my brain knows where to look for things again! Thanks

  29. Bruce says:

    Thank you _SO_ much. Just FYI, life isn’t any better in the land of KDE. Worse, actually. Anyway, thank you!!

  30. Richard says:

    Thanks a bunch, If it wasn’t for you I would have to go back to fluxbox! Which is not at all a bad alternative but since we are living in 2012 I figured I had to convert to something a little bit more modern.

  31. alswl says:

    Do you know how to set the second monitor as a workspace but not a extended of primay monitor.

  32. Rickard says:

    Regarding your update for Gnome 3.3/3.4, that setting can still be changed graphically by using dconf-editor instead.

  33. Traian says:

    Works great on Mint12. Thanks!

  34. Thanks.
    But there is no need to log out and in again, simply restart the gnome shell with Alt-F2, r, enter

  35. Pingback: GNOME 3 multimonitor trouble | kepica Blog

  36. Jussi Niskanen says:

    >> “Basically, in GNOME 3, for some reason, they decided the typical use case was for the secondary monitor to stay fixed when switching workspaces, which is the complete wrong setup for someone using dual monitors.”

    Actually this is exactly the behaviour I want from my dual monitor setup. People have different needs, you see. But nice tutorial, though. I hate how gnome hides these settings from the actual settings center πŸ™

  37. Rasmus says:

    Thanks!! I was going crazy about this.

  38. Pingback: Fedora 17 Tweaks « linux-well

  39. Andrew says:

    Anyone know if this is possible on Unity?


  40. ruben says:

    awesome post! thanks! was driving me nutz as well πŸ™‚

  41. Dale Muhlethaler says:

    Just an update for all following this thread, Using Gnome 3.4.0 and Configuration Editor 3.0.1 now does not have /desktop/gnome/shell/windows
    use instead the dconf editor and drill down to /org/gnome/shell/overides and uncheck workspaces_only_on_primary there. Works like a charm.

    • Sebastien Carignan says:

      Dale Muhlethaler! Thanks for this one i was looking for shell also and it wasnt there. Thanks a lot


      /org/gnome/shell/overides and uncheck workspaces_only_on_primary there.

  42. Jim Maas says:

    Note that this also works for Gnome version 3.6 on ubuntu.


  43. Greg says:

    I did not find “workspaces_only_on_primary” anywhere in gconf-editor. I found it in gnome-tweak-tool, “advanced settings”, under “shell”. There is also a “Dynamic workspaces” switch under “shell”.

    • burak says:

      Thanks mate, I was not able to fix it the way they proposed, gnome-tweak-tool command worked. But I had a workspace tab there already, no advanced, no shell etc…

  44. attoiu says:

    hmm.. how about having independent workspaces on different screens? like you jump in between workspaces on each screen separately? does gnome have something like this? I think KDE does…

  45. James says:

    I actually like switching between the 2 options, so I created a keyboard shortcut to be able to do just that. Someone should really create an extension to do this. I might do it once I get some free time.

  46. James says:

    Here is the script I created to switch between turning the option on and off in gsettings.

    For my PC, I make this executable and create a keyboard shortcut to toggle it on and off. Enjoy! πŸ™‚

  47. Philip says:

    I have to admit, I expected James’ comment to be an April Fool’s joke… but it’s not. Nice work and thanks for sharing. πŸ˜€

  48. gescom says:

    -thanks very much for the solution πŸ™‚
    // add info:
    -execute command as a normal user NOT as a root!

  49. p3tris says:

    Thanks, saved me a lot of trouble…

  50. Ficik says:

    Fixed second screen is something I love about gnome shell, the only better thing for me would be independent workspaces for each screen. But there should be switch in settings center.

    Anyway thanks for this post. My gnome-shell got broken and secondary screen started acting “correctly” thanks to you I fixed it.

  51. Another thank you from the Interwebs! I was used to 5-6 workspaces with a single monitor, so when I added a second monitor, it feels like giving my displays a whole new dimension with workspaces active on both. Completely awesome.

  52. David Dreggors says:

    I had written a script exactly like what James did, I loved your notify idea James!

    I would add that you can simplify that script a bit… here is my version:

  53. biozit says:


  54. Kamal Nasser says:

    Thank you very much! πŸ™‚

  55. yannig says:

    Thx a million Greg!! I really don’t like the default behaviour!!

  56. sam says:

    Hi There,

    I was glad to read about the comand
    gsettings set workspaces-only-on-primary false
    and went trough with it right away. Unfortunately it did not work. If I check the settings of dconf-Editor, the “workspaces-only-on-primary” tick is off, but it still does not work. Do I need to adjust any other settings?
    I am using gnome 3, Debian testing.
    PS: After adjusting settings in the dconf-Editor I did the following
    -press alt+F2
    -type r
    -press enter
    —> gnome 3 did restart- Workspace switching on the external monitor still does not work. ;( Any help is appreciated.

    • sam says:

      damn it, it was not the system but my stupidity for the window on my external screen was set to “always on visible workspace”
      so it all worked acordingly.

      Of course and thanks to my stupidity and the curse of Mr. Murphy I only realized that after I alreade posted the comment before, which I somehow can not delete.

      Thx for the help in the first place

  57. John says:

    gsettings set workspaces-only-on-primary false

    Still works on gnome 3.18

  58. Nik says:

    go to

    Utilities —> tweak tool

    click on shell deselect Workspaces only on primary monitor

    should work instantly

  59. Chris DR says:

    Now (Gnome 3.14) the only way to affect the workspaces-only-on-primary setting is using tweak-tool. None of the other commands mentioned above make the blind bit of difference. My hatred for gnome maintainers grows apace.

  60. Justin says:

    @Chris DR Thanks for pointing out that tweak tool actually works. gsettings did nothing for me either and I was bummed.

  61. Julian Gonzalez says:

    Thank you! I almost uninstall Fedora to use Lubuntu. Just no time to play with configurations

  62. dtk says:

    Ftr: for me (Gnome 3.14) the category in `Tweak Tool` is called `Workspaces`.

  63. Hey, do you guys are able to connect and disconnect the secondary display and works just fine?

    I running ubuntu gnome 16.04 and it doesnt work. Once I boot the pc, it works but someone calls me to solve something and I take my note to his desk and we work a few then I return to my desk, plug on my monitor and “Blank” on the secondary display.

    I ran the internet for some solution but found nothing.

  64. Peter Chaula says:

    Works for me now in the Tweak tool. Gnome 3 says gconf-editor is unavailable

  65. Bean Dad says:

    Very nice! Thanks for the tip!

  66. Tom says:

    I also second Nik’s solution with the tweak tool:

    Alt+F2 β€”> gnome-tweak-tool β€”> Workspaces β€”> turn off “Workspaces only on primary monitor”

    Many thanks to Nik and Greg, that was annoying me for quite some time!

  67. HankB says:

    Thanks for the tip. The ‘gsettings’ command works on Debian 9. Too bad the workspace switcher only shows the primary monitor. I’ll be hunting for a fix fore that next.

  68. Martynas says:

    @Chris DR thanks for your comment. tweak-tool : Workspaces -> Workspaces only on primary display. Turn off it, works like a charm

  69. Stev says:

    Awesome thanks! Command work for me on gnome 3.3 this behaviour should be default

  70. Ashish says:

    I am not able to add bottom panel on second display. urgent help appreciated

  71. TL;DR says:

    In Gnome 3.26 the only way it worked for me was to use the command mentioned in the post. Using the tweak tool did nothing. As Linus Torvalds says in one of his interviews:

    “In gnome3, the developers have apparently decided that it’s ‘too complicated’ to actually do real work on your desktop, and have decided to make it really annoying to do.”

  72. MageJohn says:

    The setting has been moved from gconf to dconf, so you can still change it without gnome-tweak-tool if you need to. If you open dconf-editor, the new path is:


    You can also change it from the command line: `dconf write /org/gnome/shell/overrides/workspaces-only-on-primary “false” `

  73. GNOME user says:

    In GNOME 3.24 the dconf trick still works: set
    /org/gnome/shell/overides and uncheck workspaces_only_on_primary true

    With modern ultrabooks and external monitors the default setting seriously does make very little sense. The above tweak though saved my day. Thank you!

  74. Elad says:

    The built-in tweak tool that comes with Gnome contains this setting – just go to the tweak-tool, under workspaces there’s “Workspaces only on primary display”. The default is ON, but turn it off and it will do exactly what you expect on a dual-monitor display.

  75. UghLinux says:

    Now it changes workspace on both monitors. How do I have independent workspaces per monitor?

  76. lolcio says:

    Thanks for this amazing tip! πŸ™‚

  77. Claudio says:

    you saved the a*s of my OCD. thanks.

  78. STEAK FRITE says:

    Fixed problem on Fedora 29.

    Thanks mate !

  79. Ahmad says:

    Thank you so much it works !

  80. tΓΆrzsmΓ³kus says:

    the tweak works fine for the original issue.

    but still, if you choose the option “Workspaces span displays”, the Activities (and the hot corner) on the secondary display shows windows on all workspaces, not only the current one as expected.

  81. Jason B. says:

    I know I’m probably going to get flamed into oblivion for this, but this is also the wrong way for this to work. MacOS has it right here, each viewport is its own workspace and can have its own set of workspaces that can be rotated independently.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.