The above may work in Cinnamon but it does not work in Mate (Mint 19). There is no plus sign in the window showing the workspaces.
Nor is there any applet, at least not out-of-the-box. I could not find anything in the
Control Panel
right away. Turned outthere is a setting there
CompizConfig Settings Manager->General Settings->Desktop Size
. I found it after some "googling".So I tried it. Didn't work. Then I found some terminal command for Cinnamon somewhere in the Community pages. It said:
Code: Select all
gsettings set org.cinnamon number-desktops 4
was something like
Scheme not found
. So how to deal with gsettings properly? Started reading the man page forgsettings and it turns out that the general syntax is the following:
gsettings set scheme[:path] key value
. Well, the schemewas clearly not mate so what then. Tried another gsettings command:
Code: Select all
gsettings list-schemas
there was no such key (key: number-desktops). What's the name of the #&@!§ key? Man-page again:
Code: Select all
gsettings list-recursively
"grep:ed" Marco:
gsettings list-recursively | grep Marco
and then I found among many Marco keys the keynum-workspaces
. Next step:
Code: Select all
gsettings set org.mate.Marco.general num-workspaces 6
GLib-GIO-Message: 20:30:29.548: Using the 'memory' GSettings backend. Your settings will not be
saved or shared with other applications.
Adding sudo to the command did the trick or at least I thought so to begin with. Check:
sudo get org.mate.Marco.general num-workspaces
and I got 6. BUT dropping sudo and I got only 4 and sure enough Ctrl+Alt+Up-arrow showed only 4 workspaces. The setting apparently
hadn't penetrated. At least that's what I believed. Two alternatives:
log out/log in
or reboot
. Well, logging out andlogging in didn't help. The reader who perhaps thinks ahead a little more than I did may object that since the command line
setting I just did probably is equivalent to the CompizConfig Settings Manager operation described above it's only logical that
merely logging out and logging in didn't suffice. Yes, I should have expected it but I didn't think ahead. But hang on. There's more.
Well, rebooting then. That would finally give me my 6 workspaces, right? Wrong, still only 4 and rebooting had reset
org.mate.Marco.general num-workspace
back to 4. In hindsight this is also quite logical. It turns out that there are morekeys by the name num-workspace but belonging to other schemas with higher priority. "Grep:ing" again but somewhat differently:
gsettings list-recursively | grep num-workspaces
gave me:
Code: Select all
org.gnome.desktop.wm.preferences num-workspaces 4
org.cinnamon.desktop.wm.preferences num-workspaces 4
org.mate.Marco.general num-workspaces 4
sudo gsettings set org.gnome.desktop.wm.preferences num-workspaces 6 + reboot