XDG Desktop files with smb:// URI

Igor Chudov nir at basealt.ru
Tue Feb 11 16:25:46 UTC 2020


Hello, colleagues!

Does anyone know how to create .desktop file with smb:// URI so it will 
be possible to open Samba share via file manager like Thunar or Nautilus?

I've created .desktop file like:

[Desktop Entry]
Type=Link
Version=1.0
Name=Docs
GenericName=Link to CIFS disk
Comment=Link to Samba share
URL=smb://10.x.x.x/doc/

And file managers saying "Incorrect .desktop file smb://..." despite the 
fact that copypasting link "smb://10.x.x.x/" into address field allows 
me to query the resource.

---
With best regards, Igor Chudov.



More information about the samba-technical mailing list