After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 607193 - Support creating .desktop files pointing to other locations
Support creating .desktop files pointing to other locations
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: File and Folder Operations
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on: 115805
Blocks: 652944
 
 
Reported: 2010-01-17 00:40 UTC by Dylan McCall
Modified: 2018-05-09 19:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dylan McCall 2010-01-17 00:40:05 UTC
The Link feature in Nautilus currently only works for local files; it can't handle full URIs like sftp://mywebsite. However, it is possible for users to expect more, using the Make Link option to create a symlink to a remote file.

Currently, this breaks; Nautilus throws an unhappy error message and that's the end of it. However, it IS possible to construct something similar using a desktop entry with Type=Link. These can point to any URI the user wants. For example, I have one pointing to a specific directory inside an sftp server I use, as a specific user, and if I want to copy a file to that directory I just drag and drop it as if it's a regular folder. (Err, and mount it first).

I suggest two things:

 * Support creating a .desktop file which points to any other file. Currently this can actually be done by dragging any arbitrary path to the panel, then dragging the launcher it creates back to Nautilus. (Nautilus then handles the launcher quite neatly).

 * When creating a symlink, if that operation fails, create a .desktop file instead. Note that this would need some usability people to chime in and some kind of visual feedback - maybe a different icon for .desktop file links vs. symlinks, since they behave differently in some cases.
Comment 1 António Fernandes 2018-05-09 19:09:13 UTC
This no longer applies to the latest development version. There are no desktop icons or .desktop links anymore.