Ubuntu – Stop automatically changing workspaces when switching to an opened application

12.04unityworkspaces

In the following picture,

enter image description here

If you switch to the web browser, then switch to gedit again by clicking on the icon on the launch bar on the left, the workspace will switch automatically to the workspace below. This is very frustrating when, for example, you are processing some data from one application, and typing it in another application.

Without removing workspaces altogether, is there a way to disable this automatic workspace switching but still allow manual switching?

Best Answer

  • Install CompizConfig Settings Manager

    sudo apt-get install compizconfig-settings-manager
    

I'm not sure if there is otherway, but this works for me. In Ubuntu 14.04.

  • Launch ccsm → Desktop Wall → Viewport Switching → Uncheck Auto Switch Vp and Window (Check&Uncheck if was Unchecked already)

Well, Auto Switch Vp and Window is not available in Ubuntu 12.04. Then disable Desktop Wall plugin. Tested on a VirtualBox.

  • Launch ccsm → Uncheck Desktop Wall

enter image description here