Actually this is still not quite what I want. It works fine from within the file manager, but it does not work from within any other application. When I click on the link from within an application, the app tries to open the .desktop file instead of jumping to the destination. Which makes it actually completely useless. In Windows a shortcut will always take you to the destination no matter what application you are using it from. Come on guys, please don't make me think I should have stayed with Windows after all.

Regards
Johan Kriel


On 14/07/2015 16:40, Johan Kriel wrote:
Thanks Michael, this is exactly what I am looking for. In my opinion this is what should be created when I click "Make Link", not the type of links that is currently created.

Regards
Johan Kriel
 

On 14/07/2015 16:10, Michael Spencer wrote:
I believe Ubuntu has something similar to a Windows symbolic link in that it jumps to the destination folder as if you had gone directly to that folder, unlike a symbolic link, which is treated as its own path. 

You can do this using a .desktop file. An example of this is the Examples shortcut that comes with a default install of Ubuntu. Removing the translations, it looks like this:

[Desktop Entry]
Version=1.0
Type=Link
Name=Examples
Comment=Example content for Ubuntu
URL="" moz-do-not-send="true" class="moz-txt-link-freetext" href="file:///usr/share/example-content/">file:///usr/share/example-content/
Icon=folder

When I click on this desktop file in the Files app, it jumps right to /usr/share/example-content, instead of displaying the original path to the file.

This may or may not work with individual applications, but at least the concept should be similar.

Hope this helps,
Michael

On Tue, Jul 14, 2015 at 8:29 AM Johan Kriel <j...@hotmail.co.za> wrote:
No you are wrong!!! The way shortcuts work in Windows is totally
different from Ubuntu's symbolic links. Windows also have what they call
a "Junction" which do exactly what Ubuntu's symlinks do. But Windows
shortcuts DOES NOT create a symbolic path to the destination. It is a
simple jump to the destination as if you have typed "cd /destination" in
a terminal. Both shortcuts and junctions are useful, but they have
different purposes and you can not replace the one with the other. The
problem I have with Banshee is because I have to use symlinks where I
really need shortcuts.

Regards
Johan Kriel


On 14/07/2015 15:06, Sam Bull wrote:
> On Sun, 2015-07-12 at 15:51 +0200, Johan Kriel wrote:
>> Please guys, seriously consider the implementation of shortcuts as used
>> by Windows in Ubuntu. Those shortcuts are of real good use and they
>> don't create unnecessary extra symbolic paths to any folder. They are a
>> simple direct jump to another folder somewhere on your disc.
> Shortcuts are the equivalent of symbolic links. There is no functional
> difference.
>
> It sounds like the issue is that you have Banshee searching areas that
> you don't want it to. If the symlinks are outside the Music folder, then
> you just need to make Banshee only searches the Music folder.
>       If the symlinks are inside the Music folder, then it'll create an
> endless loop when searching through the folder. I can't imagine any
> reason for doing this, so if they are in the Music folder, then perhaps
> explain what you're trying to achieve with them (or maybe there's an
> advanced setting in Banshee to stop it following symlinks).


--
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
--
Michael Spencer

Android, iOS, and QtQuick Developer

Papyros founder and lead developer | http://papyros.io


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to