How to set the bookmarks in Nautilus?

The file is ~/.config/gtk-3.0/bookmarks and according to https://docs.gtk.org/gtk3/class.Settings.html /etc/xdg/gtk-3.0/bookmarks should be the system-wide path. But it doesn’t work.

1 Like

I do not see any mention of bookmarks being considered settings.

Checking the source code, Nautilus only looks at the GTK 3 bookmark file inside XDG_CONFIG_HOME/~/.config. Plus the legacy one in the home directory:

GTK itself does the same:

Oh, got it, thanks! So Nautilus just uses the GTK setting directory for bookmark but doesn’t use the system-wide path.

1 Like

I’ve opened an issue for nautilus: System-wide configuration of bookmarks not possible (#3640) · Issues · GNOME / Files · GitLab

1 Like