I was reading about how to get multiple workspaces in the mutter version of Unity, however since Compiz is replacing Mutter how do I go about adding and removing workspaces in Compiz version of Unity?

link|improve this question

feedback

8 Answers

up vote 13 down vote accepted

12.04 install

The number of workspaces can be safely set without using CCSM through MyUnity

enter image description here

Move the slide-bars to change the number of horizontal & vertical workspaces

for example 4x1

enter image description here

link|improve this answer
feedback

11.10 and below

The options for the number of workspaces can be found in compizconfig-settings-manager install ccsm under General Options. Do not set horizontal workspaces below 2 or the workspace switcher button won't work.

General Options

enter image description here

MyUnity can be used also in 11.10 and below, with additional steps.

In a terminal, use sudo add-apt-repository ppa:myunity/ppa && sudo apt-get update && sudo apt-get install myunity to install MyUnity. Then, use the steps described above to 12.04.

link|improve this answer
6  
Why in the world is CCSM not installed by default in 11.04? I was going absolutely crazy trying to find the virtual desktop preferences until I finally thought to try here! – Josh Glover May 3 '11 at 15:51
Is doing this reflected on the icon itself? – Thomas Boxley Oct 28 '11 at 19:55
No, the icon stays the same on the launcher. – ajmitch Oct 29 '11 at 2:39
Exactly what I was looking for. Thanks! – Jason Heine Mar 29 at 14:12
@ajmitch can you add the description on how to install MyUnity in 11.04 and 11.10 instead of using CCSM? – Bruno Pereira Apr 2 at 12:35
feedback

By running ccsm from a terminal or from System Settings -> CompizConfig Settings Manager:

Warning: ccsm can lead to unwanted effects that may be hard to overcome and may leave you without a desktop (see also this question for more background information).

enter image description here

Choose General Options -> Desktop Size:

enter image description here

Push the slider to the desired number of virtual desktops. In addition you may need to adapt the view of the workspace switcher to the desired rows and columns.

link|improve this answer
Changing the "Number of Desktops" slider causes problems. See this answer. You're better off changing the "Horizontal Virtual Size" and "Vertical Virtual Size" sliders and leaving the Number of Desktops alone. – Dan Nov 3 '11 at 7:07
feedback

It looks like mutter (the window manager) reads from metacity's gconf entries.

So, to change the number of workspaces, I used:

gconftool-2 --type=int --set /apps/metacity/general/num_workspaces 2

… and it works!

The switcher looks better with four though.

You can edit also using the Configuration Editor: open apps > metacity > general and change the value of the number of workspaces.

link|improve this answer
feedback

You could also use the newly created quicklist from me, which can be found here:

Quicklist to Add/Remove workspaces rows/columns

link|improve this answer
I meant voting it up on the other answer, but thanks for the up-votes. – MrChrisDruif Jun 5 '11 at 11:46
feedback

Install compizconfig-settings-manager, launch it through System Settings (in the Personal section), then go to General Options (in the General Section), now in the tab Desktop Size you can change the number of vertical or horizontal desktops.

link|improve this answer
feedback

You can open a terminal and set as you want.

With this command you set the number of horizontal viewports (at this example I am changing it to "3"):

gconftool-2 --type int --set /apps/compiz-1/general/screen0/options/hsize 3  

And with this you set the number of vertical viewports (at this example I am changing it to "4"):

gconftool-2 --type int --set /apps/compiz-1/general/screen0/options/vsize 4
link|improve this answer
was just about to post this.. anyways, herez a link with instructions on making a quick list to easily manage workspaces. askubuntu.com/a/46832/45659 – Mahesh Apr 12 at 17:24
feedback

I used CompizConfig Settings Manager (CCSM). Open CCSM, select General Options then go to the Desktop Size tab.

You can adjust the number and the layout of the workspaces by using the Horizontal Virtual Size and Vertical Virtual Size sliders to adjust the number of "columns" and "rows" respectively.

Using this method does not appear to change the settings mentioned above in gconf editor.

link|improve this answer
sorry, just just saw this linked in the sidebar: askubuntu.com/questions/34572/… – amc Feb 19 at 7:06
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.