3

I am trying to create a bookmark that when I right click the Files icon in the Launcher and select the bookmark it will open the desire network shared folder.

Right now it only opens if I have previously opened the shared folder by going through the Browse Network option. What I want is to simply click the bookmark and this will open the network shared folder without the need for having it opened manually.

The shared folder is through Samba: smb://client/stuff/

Here is a screenshot of the Bookmark to Stuff:

enter image description here

It will only work if I have previously opened the shared folder by going through the Browse Network option in the Files app.

2

1 Answer 1

6

A link to a network folder will only work immediately if it is mounted automatically at startup; you need to edit fstab, create a folder to mount the network folder in and set credentials.

I am trying to find a good manual, will post it back...

OK, couldn't find it, but it is not that complicated:

  1. Install cifs-utils.
  2. create a folder to mount the network share into (can be in your personal folder)
  3. create the credentials file: gksu gedit /root/.cifscredentials, add the following:

    user=your_username
    password=your_password
    
  4. add a line to fstab, to give you an impression, this is mine: the first section is the network share, the second is the folder you created to mount the share into

    //192.168.0.104/werkmap_documenten/documenten_Jacob /home/jacob/Netwerkmap cifs auto,iocharset=utf8,uid=jacob,gid=users,credentials=/root/.cifscredentials,file_mode=0775,dir_mode=0775 0 0
    

I hope I did not forget anything, but I think not. Good luck!

1
  • Pretty logical. Will wait for the manual then. Thanks jacob. Mar 4, 2014 at 20:42

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.