How do I turn on workspaces? (Why do I only have one workspace?)
It appears that Unity on Raring only comes with a single virtual desktop (aka workspaces) by default, and CCSM's Wall plugin has no way to add more. Is this configurable at all?
for 13.04 and later..
Workspaces are disabled by default in Ubuntu since 13.04. To enable them, open Appearance from the dash:
Switch to the behaviour tab and check "Enable Workspaces".
If you want to hide the workspace switcher see this question.
@GrayedFox See Bo Dang Ren's answer below mine: https://askubuntu.com/a/260513/44179
Using the Dash or a terminal, open the
dconf-editorapplication. Navigate to
And set the horizontal and vertical dimensions of your wall. A workspace switcher will immediately appear on the launcher. You can use this or Super-s to view the virtual desktops / workspaces.
To set this using command-line, execute the command:
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hsize 2 gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ vsize 2
This will immediately enable workspaces. This command will actually set
hsizeto 2 and
vsizeto 2, giving you 4 workspaces arranged in a square, which is the default when you enable workspaces from the GUI "Appearance" setting.
I've never used this command before but at least as of 14.04 you have to set hsize and vsize, running the command twice, to get the 2x2 default workspaces. Otherwise, thank you, this worked perfectly. =)
Ubuntu 13.04 Raring Ringtail will come with workspaces disabled by default, so before being able to switch between them go to "System Settings..." > "Appearance" and switch to "Behavior" tab, then it is just to check "Enable Workspaces" option and you will have back your 4 workspaces.
Ctrl+Alt+Arrow will change current workspace and Shift+Ctrl+Alt+Arrow will change the current focused window to the desired workspace.
You can see a list of all the shortcuts of Ubuntu from "System Settings..." > "Keyboard" then switch to "Keyboard Shortcuts" tab and then you will be able, beyond to see all of them, to change them and create new shortcuts.
@user158304 before you need to enable workspaces in Raring, so just follow the steps I added to the beginning of my question.
I already enabled workspace and I'm using them. But I only can switch using the icon and not the shortcut Ctrl+Alt+Arrow. However, the shortcut "Super"+s is working.
@user158304 Have you tried both Ctrl keys in your keyboard, or other Alt key if there is other? Also try going to "System Settings..." > "Keyboard", switch to "Keyboard Shortcuts" tab and see what shortcut is set to switch workspaces.
I tried an other Ctrl but without change. I also modified the shortcut but no change...
You can also install the Unity Tweak Tool, using it you can customize many aspects of the unity interface, including the number of workspaces. You can install it using the following repository:
sudo apt-get install unity-tweak-tool
Then you just open the
Unity Tweak Tool, go to
Workspace Settingsand so you can choose as many workspaces as you wish. I like to use it because I can set workspaces to be not just on the horizontal but on the vertical as well.
I don't think it's worth editing out the PPA stuff for the people who aren't on the latest version
I tried this on 18.10 and it doesn't work. It complained about not having com.canonical.notify-osd or something like that.
This may be new since Alaa answered, but there is also a graphical way of adjusting the number of workspaces when you have compiz installed.
Open CompizConfig Settings Manager (installs from the Ubuntu Software Centre if not already installed), then under "General", click "General Options" and go to the "Desktop Size" tab. This will automatically enable workspaces and gives you the ability to adjust it as you like. I personally like 4 horizontal, 1 vertical. It's really cool with desktop cube enabled.
ccsm. If it's not installed, run:
sudo apt-get install compizconfig-settings-manager
Next, you will find the setting in the General Options section, under the Desktop Size tab.
Here you will see options for your Horizontal Virtual Size and Vertical Virtual Size.
Increase the Horizontal Virtual Size to a value >1.
Use CTRL + ALT + right arrow to move one virtual desktop to the right and CTRL + ALT + left arrow to move one desktop to the left.