7

I am using a NAS server to keep all my music, pictures and video on, and would like to have them as easily accessible in Nautilus as possible.

So naturally, I edited the 'Music', 'Video' and 'Pictures' links on the left on Nautilus under 'computer' to my custom locations on the network. This worked fine until I restarted Ubuntu, when I noticed all the links had disappeared. I assume this is because the locations aren't local, and don't fit the 'computer' criteria.

So I tried adding them via Ctrl+D (add bookmark), and all this did was create a link to the root of the network drive under bookmarks, not helpful.

So, is there any way I can add links to these folders to the left side of Nautilus?

To mount the NAS, I edited fstab with the following using cifs

//NAS IP /home/henry/henrydocs cifs uid=henry,username=henry,password=x 0 0
  • 1
    Whether you can bookmark a network folder depends on how it is mounted on your local computer. Please edit your question with information about how you are connecting the NAS to the Ubuntu machine. Are you using Samba, NFS, CIFS, FTP, or something else? – user68186 Dec 14 '12 at 18:25
4

The links you see under Computer are created automatically by reading the file ~/.config/user-dirs.dirs

enter image description here

Edit that file to point to the right need path and the link changes will survive the reboot.

  • 1
    In Ubuntu 18.04, the bookmark is not added, but this method enables the bookmark icon (or Ctrl-D), which was grayed out earlier. – Sri Sep 24 '18 at 11:29
2

For future readers looking to create bookmarks to remote locations that will not default to the root folder or home folder of the remote user:

  • Create the bookmark
  • Edit your bookmarks (ctrl+b) and specify the remote path in the location field
  • Thanks, I had missed the fact I could edit the bookmark location! – Fabio A. Sep 13 '15 at 6:45
  • Thanks, this is a very odd quirk. You can't drag certain items like symlinks into the Bookmarks left sidebar. But you can create a placeholder bookmark, and then manually edit Bookmarks with ctrl+B. smh – wisbucky Jul 2 '18 at 17:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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