Page 1 of 1

Create Desktop Shortcut to Network Folder

Posted: Thu Mar 28, 2019 6:13 pm
by mtmcdonough
Hi. Our raspberry devices connect to a network NAS device. I connect by going through File Explorer. How can I make a desktop shortcut to this folder: smb:/storage1.local/public on storage1.local/Digital Files

Thank you!

Re: Create Desktop Shortcut to Network Folder

Posted: Fri Mar 29, 2019 1:35 am
by klricks
mtmcdonough wrote:
Thu Mar 28, 2019 6:13 pm
Hi. Our raspberry devices connect to a network NAS device. I connect by going through File Explorer. How can I make a desktop shortcut to this folder: smb:/storage1.local/public on storage1.local/Digital Files

Thank you!
Navigate to the folder using filemanager then left click drag to the desktop.

Re: Create Desktop Shortcut to Network Folder

Posted: Fri Mar 29, 2019 7:49 am
by mtmcdonough
Thanks! I'll try it tomorrow. That will make a lot of folks happy.....

Re: Create Desktop Shortcut to Network Folder

Posted: Fri Mar 29, 2019 10:21 am
by LTolledo
Tried it...

didn't work for me...

this showed up after double left clicking the desktop icon dragged to desktop...
Error404.png
Error404.png (8.77 KiB) Viewed 1547 times

Re: Create Desktop Shortcut to Network Folder

Posted: Fri Mar 29, 2019 7:48 pm
by mtmcdonough
Yes, I got the same error message. I created a desktop icon that works except that I can't get the raspberry to remember the username and password. They have to be r-entered after each reboot:

[Desktop Entry]
Name[en_US]=Digital Files
Comment=Connect to the QNAP
Icon=/usr/share/pixmaps/openbox.png
Exec=pcmanfm smb://storgage1.local/public/
Encoding=UTF-8
Terminal=False
Categories=None;

I posted a question about keeping the username and password. I hope someone has the answer. God luck!

Re: Create Desktop Shortcut to Network Folder

Posted: Mon Apr 01, 2019 7:56 pm
by mtmcdonough
Found a solution. I had to look at the mount command for our network share in the /etc/fstab file. That command pointed to a file: /.smbcredentials. In that file were the username and password needed to set up and keep a connection to our network device across reboots.

In our case, the username and password had been changed. So when I updated those fields, we rebooted and access to the network device was set correctly and stayed set across any more reboots.

Hope this is useful.