I wonder if there's a way to add a bookmark in Pantheon Files (same as CTRL+D) using some command in terminal?


1 Answer 1


The simplest way I can think of is to write the location that you want to bookmark to the bookmarks file, for example:

echo "file:///home/user/location Place" >> ~/.config/gtk-3.0/bookmarks

Of course, replacing the location string /home/user/location with your desired location and Place with whatever you want to call the bookmark.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.