spheras / desktopfolder

Bring your Desktop Back to Life
GNU General Public License v3.0
200 stars 40 forks source link

Ability to unlink the "Link Panel" #285

Closed v4i1n1a9y8 closed 4 years ago

v4i1n1a9y8 commented 4 years ago

Suppose if i use "Link Panel" option to create a panel with contents of documents folder, it will create symlink of documents folder in the desktop folder. However there is no way to graphically unlink this panel other than "Move to trash" option.

Could there be an icon to unlink the panel next to the "Move to trash" icon. or Option to unlink the panel in the right click menu.

fossfreedom commented 4 years ago

"Move to trash" sounds correct - what do you think should happen if you "unlink panel" ? Sounds like you would be left with an empty panel on the desktop.

v4i1n1a9y8 commented 4 years ago

But the "Move to trash" option is deleting the actual folder rather than the symlink. What if i just want to remove the panel but keep the Documents folder in its place?

After creating a "Link Panel" of Documents folder, a symlink appears. But the "Move to trash" option deletes the actual folder. Here's the terminal equivalent of what i actually expect in the "unlink panel" option:- Screenshot from 2019-11-25 20-40-55

fossfreedom commented 4 years ago

ah ... definitely wrong.

v4i1n1a9y8 commented 4 years ago

Sorry. just tried it on elementary and.... it works as expected! I was using the flatpak build i created and that could be the source of problem.

v4i1n1a9y8 commented 4 years ago

tried manually building on fedora31 and it also works as expected.(trashing the symlink instead of actual folder) So the source of the problem was in the flatpak build. There might be some problem with trash portal in flatpak.