u15p7fgy863eiq5 Asked: 2020-04-01 07:39:26 +0800 CST2020-04-01 07:39:26 +0800 CST 2020-04-01 07:39:26 +0800 CST How do I programatically add/remove items from Nautilus bookmarks? 772 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? nautilus scripts 1 Answers Voted Best Answer K7AAY 2020-04-10T13:10:54+08:002020-04-10T13:10:54+08:00 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"
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: