15.4. Managing Bookmarks
You can save a reference to a location by bookmarking it.
Procedure 15.3. To bookmark a Location:
- Select the folder or file you want to bookmark.
- Press Ctrl+D.
The first time a bookmark is activated, the
GVFS
subsystem looks for existing mounts and spawns a new one if not already present. This way you are able to authenticate even within the open or save dialog.
Bookmarks are well integrated in GTK+ and the GNOME Desktop: every application that presents a standard GTK+ open or save dialog (technically called
GtkFileChooser
) lists bookmarks in the left panel of the dialog. Also Nautilus
and its clones present bookmarks in a sidebar or, more universally, in the Files menu.
Note
If you have no pages bookmarked yet, the Bookmarks label does not display.
Besides Bookmarks, all other available
GVFS
volumes and mounts are listed in the GtkFileChooser sidebar. Sometimes a bookmark and a GVFS
volume combine into a single item to prevent duplication and confusion. Bookmarks then can have eject icon just like GVFS
mounts.
Bookmarks are located in the
~/.config/gtk-3.0/bookmarks
file. In the example below, the bookmarked locations are ~/Music
, ~/Pictures
, ~/Videos
, ~/Downloads
, and ~/bin
, so the content of the ~/.config/gtk-3.0/bookmarks
file looks as follows:
Example 15.3. The ~/.config/gtk-3.0/bookmarks File
file:///home/username/Music file:///home/username/Pictures file:///home/username/Videos file:///home/username/Downloads file:///home/username/bin
Replace username with the user name you want to use.
Procedure 15.4. To edit Bookmarks:
- Open the Files menu on the top bar.
- Click Bookmark to open the bookmark editor.