Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit symbolic link pointing location in 'Properties' dialog #319

Open
goetzc opened this issue Feb 27, 2016 · 5 comments
Open

Edit symbolic link pointing location in 'Properties' dialog #319

goetzc opened this issue Feb 27, 2016 · 5 comments

Comments

@goetzc
Copy link
Contributor

goetzc commented Feb 27, 2016

An option in the file or folder properties, to allow to 'edit' the symbolic link location would be handy. Just like the ln --force option, ln -s -f file link

Screenshot of the implementation in Dolphin:
pcmanfm-qt dolphin edit symbolic link

@goetzc goetzc changed the title Edit symbolic link pointing location Edit symbolic link pointing location in 'Properties' dialog Mar 7, 2016
@aramazano
Copy link

was about to open a new issue before I read this one.

I would like to generalize @goetzc's suggestion further: To make it possible to modify a symlink in either properties dialog or right-click dialog or simply DND.

So, rephrasing the issue, there's no way to edit/modify a symlink in pcmanfm-qt. Suppose you have these files in the same directory:

realfile-1.txt
realfile-2.txt
symlink.txt -> realfile-1.txt

Now, try to change the symlink so that from now on it points to realfile-2.txt

If you drag realfile-2.txt onto the symlink, which pops up the copy/move/symlink option box, select symlink option, but just nothing happens.

There is also no option to edit the symlink (to change the destination it points to) in the right-click menu or in the properties dialog.

So I had to resort to terminal window to modify a symlink.

There should be a way (DND would be simpler to use and better IMHO) to modify a symlink within pcmanfm-qt.

@tsujan
Copy link
Member

tsujan commented Jan 1, 2018

If you drag realfile-2.txt onto the symlink, which pops up the copy/move/symlink option box, select symlink option, but just nothing happens.

A symlink of the dropped file will be created. View DND works with folders as targets, not files.

Personally, I don't like to create/modify symlinks with a file manager but prefer to have full control over them in a terminal. However, editing symlinks with pcmanfm-qt is a valid feature request.

@aramazano
Copy link

| A symlink of the dropped file will be created. View DND works with folders as targets, not files.

I use v 0.11.3 and here it behaves as if it would modify the symlink, but it does nothing.

To be more clear, I don't mean to DND a real file into a directory. I mean to drag a real file and drop it onto an already existing symlink file. In this case, the usual copy/move/symlink dialog pops up, I select symlink (so I expect the symlink now points to the real file that I just dropped) but the symlink is still pointing to its original destination. I.e. DND doesn't affect an already existing symlink.

I don't know if this is fixed in later releases.

@tsujan
Copy link
Member

tsujan commented Jan 1, 2018

@aramazano I understood what you described -- and it's a good idea indeed -- but meant that there's no DND on files (in contrast to folders). When you drop a file onto another and select "Create symlink here", the word "here" means the containing folder. If that doesn't happen in your case, it should be about a bug in that old version of pcmanfm-qt.

@vuongtuha
Copy link

I need this feature. Though all other GUI fm dont have it natively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants