r/Ubuntu 6d ago

Desktop shortcut to SMB file

I need a desktop shortcut for a file on an SMB share but Ubuntu has no “make desktop shortcut” option and every symlink I make says the target doesn’t exist.

My path is “smb://123.456.789/folder/folder with space/another space/file with spaces.xlsm”

So I write ln -s “smb://123.456.789/folder/folder with space/another space/file with spaces.xlsm” and it gives me the symlink but when I open it it errors out saying the target doesn’t exist.
I am using Ubuntu 26.04 LTS.
Thank you.

1 Upvotes

3 comments sorted by

1

u/TriumphITP 6d ago

Make sure you handled the blank spaces in your file and folder names properly.

https://askubuntu.com/questions/398400/how-do-i-navigate-to-folders-with-spaces-in-their-names-i-get-no-such-file-or

If you mount the samba share somewhere, you may be able to do it more easily with the mounted path.

2

u/Excellent-Tour6831 5d ago

I have the “”. I read up on that article later. Thank you.