2

I want to remove Documents, Music, Pictures, Videos and add cloud to my Nautilus bookmarks as part of an user setup script.

How do I edit the bookmarks via the CLI?

Screenshot of Nautilus's sidebar

u15p7fgy863eiq5
  • 334
  • 2
  • 8

1 Answers1

2

Those bookmarks are controlled by ~/.config/user-dirs.dirs and adding new items configures the appearance of the list.

As an example, to add a Cloud bookmark from the list add a line:

XDG_CLOUD_DIR="$HOME/PATHTOCLOUD"
Zanna
  • 72,312
K7AAY
  • 17,705