1

Where is the configuration file for desktop workspaces? This is the file stores information about number, naming, and arrangement of desktop workspaces.

Using Ubuntu MATE 18.04.

1

Physically the settings are saved in ~/.config/dconf/user, you need gsettings and/or dconf to read/write values to this file.

Below is the list of GUI options and their corresponding CLI equivalent:

  1. Switcher

    • [ ] Show only the current workspace (default is false)

      dconf write /org/mate/panel/objects/workspace-switcher/prefs/display-all-workspaces 'false'
      
    • [o] Show all workspaces in N rows (default is 1 row):

      dconf write /org/mate/panel/objects/workspace-switcher/prefs/display-all-workspaces 'true'
      dconf write /org/mate/panel/objects/workspace-switcher/prefs/num-rows 1
      
  2. Workspaces

    • Number of workspaces (default is 4)

      gsettings set org.mate.Marco.general num-workspaces 4
      
    • Workspace names

      gsettings set org.mate.Marco.workspace-names name-1 'Workspace 1'
      gsettings set org.mate.Marco.workspace-names name-2 'Workspace 2'
      gsettings set org.mate.Marco.workspace-names name-3 'Workspace 3'
      gsettings set org.mate.Marco.workspace-names name-4 'Workspace 4'
      
    • [ ] Show workspace names in switcher (default is false)

      dconf write /org/mate/panel/objects/workspace-switcher/prefs/display-workspace-names 'false'
      
    • [ ] Allow workspace wrap around in switcher (default is false)

      dconf write /org/mate/panel/objects/workspace-switcher/prefs/wrap-workspaces 'false'
      

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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