-1

I want to automate the workspace count mentioned in How to disable multiple workspaces on Ubuntu 22.04?

I would prefer to use gsettings but I can't find the key.

What is the key there?

Saeed Neamati
  • 793
  • 2
  • 7
  • 20

2 Answers2

0

You will probably want to use something like:

gsettings set org.gnome.mutter.dynamic-workspaces 1

You can use Tab auto completion to discover many of the settings

matigo
  • 22,138
  • 7
  • 45
  • 75
0

The correct command is this one:

gsettings set org.gnome.desktop.wm.preferences num-workspaces 1

Taken from here

Saeed Neamati
  • 793
  • 2
  • 7
  • 20