Ubuntu – How to make Ubuntu File Manager show the “real” path after opening a shortcut link

15.10filemanagernautilusshortcuts

When I open a link, instead of the real path, the file manager shows the location of the link file.

Example: home/Desktop/Link to html/wiki

Bad Path

What I would like the file manager to show is: /var/www/html/wiki

Real Path

How can I force the file manager to show the "real" path after opening a shortcut link?

Best Answer

You can achieve this by using a bind mount since linux 2.4

Test it with this:

sudo mount --bind /var/www/html /home/Desktop/html 

Make it permanent by adding this line to your fstab after /home and /var:

/var/www/html /home/Desktop/html defaults,bind 0 0