Problem: When files in the home folder are moved to another/sub-folder, the shortcuts on the desktop break because they point to the destination, not to the file. In Windows, you can move the origin file wherever you want, and the shortcut on the desktop will work forever. Please fix. More info: /user/file1 --------------------> /user/New Folder/file1 /desktop/shortcut_file1 -----> (broken link) How to reproduce: - make file in a folder - make shortcut (symlink?) - move initial file into another folder - now shortcut will break because it misses the file in its original destination What was expected: - that the shortcut still works, even after moving the original file
In Linux, that's how soft link are supposed to behave. If you want the same behavior from Windows, then you need hard links (google: symlink soft vs hard). AFAICT other file managers create soft links by default, not sure if and how they support the creation of hard links.
(In reply to Andre Miranda from comment #1) > In Linux, that's how soft link are supposed to behave. If you want the same > behavior from Windows, then you need hard links (google: symlink soft vs > hard). > AFAICT other file managers create soft links by default, not sure if and how > they support the creation of hard links. Thanks. Any chance that the default behaviour could be made into a toggle in settings somewhere?
A shortcut in the Windows world is like a soft link which tracks its target. Deleting the target will break the shortcut, but a hard link will still point to the file in the file system. Other than that, you can easily create a Thunar custom action and use the command "ln %F ~/Desktop" to create hard links. https://docs.xfce.org/xfce/thunar/custom-actions Closed Nautilus bug report: https://bugzilla.gnome.org/show_bug.cgi?id=317268
Marking the bug as an enhancement. I'm not really interested in supporting hard links, but I'm not against this as long as UI/UX-wise it's simple.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/241. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev