File manager handling of links question  Topic is solved

Post your Debian questions here.

File manager handling of links question

Postby BowCatShot » June 2nd, 2019, 1:27 am

Howdy:

The files are contained in a folder called THEFILES.

The soft links to those files are contained in a folder called THELINKS.

Let's say that THEFILES contains text files and double clicking any one of them opens with the kate text editor.

Navigating over to THELINKS and double clicking any one of those files does not open the target file
with the kate editor. You just get a dialog asking which program to use.

Processing one of the links with readlinks does display the correct path to the target text file.

Now if all of the link files are copied into the THEFILES folder, double clicking the link file from within
the THEFILES folder does open the target text file with the kate text editor.

This behavior is consistent regardless of which linux version, desktop, or file manager is used.

I'd like to be able to double click the link files from within the THELINKS folder and have the system
open the target file in the THEFILES folder.

Any ideas on how to make this happen?
BowCatShot
 
Posts: 72
Joined: May 10th, 2014, 2:29 pm

Re: File manager handling of links question  Topic is solved

Postby BowCatShot » June 2nd, 2019, 3:26 am

It seems that you have to use 4th form of the ln command, i.e.,
ln [OPTION]... -t DIRECTORY TARGET... (4th form)

And you have to run the command from within the THEFILES folder and specify THELINKS as the DIRECTORY.

Then double clicking the links in THELINKS opens the corresponding files in THEFILES.
BowCatShot
 
Posts: 72
Joined: May 10th, 2014, 2:29 pm


Return to General Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron

x