How do I arrange workspaces in Ubuntu?

I just installed 14.04. I want 4 workspaces, arranged horizontally. But when I set that up, I get 4 double workspaces, i.e., 8 all together. How do I get 4 single workspaces?


Solution 1:

If it is only to set the workspaces, it seems a bit overkill to install additional software. To set it from command line, you only need two commands.

Run in a terminal:

dconf write /org/compiz/profiles/unity/plugins/core/vsize 1

to set the number of rows to one, and

dconf write /org/compiz/profiles/unity/plugins/core/hsize 4

to set the number of columns to four

Solution 2:

The best and simple answer to your question is:

sudo apt-get update
sudo apt-get install unity-tweak-tool

Open Unity Tweak Tool and click on tab Wokspace Settings and put the switcher ON.

Here you can arrange your workspaces any way you like, by default it spreads on 4 squares (2x2) you can set it your way e.g: (1x4) or (4x2) etc.

Solution 3:

Typically, the number of desktops and their relative locations are controlled using ccsm (Compiz Configuration Settings Manager). You may need to install this program to make the adjustments required.

Once installed, you will find these settings under General Options > Desktop Size. The specific settings you will want to adjust are Horizontal Virtual Size and Vertical Virtual Size.

It sounds like you want four horizontal, and one vertical (4x1=4).