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?
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?
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"