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?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityI 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"