Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed Workspace Grid extension and the default setup came with 2 x 3 workspaces.

enter image description here

But, I only want 2 x 2.

enter image description here

I tried to edit this configuration in https://extensions.gnome.org/local/, however my Ubuntu 11.10 Oneiric Oncelot does not support the configuration button. I think it is because I can't use a newer version of Gnome Shell. Currently, I'm using GNOME Shell 3.2.2.1.

How can I change the number of workspaces without using the configuration button?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

As you can see at mathematicalcoffee BitBucket page, you can change this configuration through the extension.js file.

First, find your Workspace Grid folder inside the extensions folder. Mine is:

$ cd ~/.local/share/gnome-shell/extensions/workspace-grid@mathematical.coffee.gmail.com

Open extension.js file:

$ vim extension.js

Locate the following lines:

//// CONFIGURE HERE (note: you can have at most 36 workspaces)
const WORKSPACE_CONFIGURATION = {
    rows: 2,
    columns: 3
};

And change rows and columns for your desired number of workspaces:

rows: 2,
columns: 2

Restart your computer.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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