Bug 501658 - Ability to give a label to mounted remote partitions under "Places"
Summary: Ability to give a label to mounted remote partitions under "Places"
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: panels: folders (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-17 20:03 UTC by Azarilh
Modified: 2025-03-24 20:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot for reference (37.57 KB, image/jpeg)
2025-03-17 20:06 UTC, Azarilh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Azarilh 2025-03-17 20:03:15 UTC
If i add a SMB path to "remote", it gives me the ability to assign a label. However, with NFS locations, there is no abilty to add a label, instead, it shows in the name the full path to the directory, which is ugly. For example, one of my NFS places is named "/home/N-1", i would like to add an alias and call it "NAS-1" instead, like i can with SMB places.
Comment 1 Azarilh 2025-03-17 20:06:20 UTC
Created attachment 179510 [details]
Screenshot for reference
Comment 2 Azarilh 2025-03-17 20:08:47 UTC
It would be good enough to at least only show the name of the folder, in my example's case "N-1", instead of showing the full path. But ofc a label would be nicer.
Comment 3 Azarilh 2025-03-18 20:37:21 UTC
I noticed that it is possible to mount samba partitions too, the same as NFS partitions, and they have the same problem, showing the full path instead of only the name of the folder. I changed the title of the report acordingly.
Comment 4 TraceyC 2025-03-21 20:32:02 UTC
If you're manually mounting these shares with /etc/fstab, I'm afraid that's not supported. See this:
https://invent.kde.org/plasma/plasma-workspace/-/issues/64

The supported way of mounting shares is through Dolphin. Unfortunately, nfs:// lacks support in Gears 6, see
https://discuss.kde.org/t/help-needed-with-nfs-shares-in-dolphin/12909

With that said, I can see how adding the ability to use labels on these kinds of entries in Places. I don't know how difficult or feasible this would be, I'll let the Dolphin developers make that call
Comment 5 Azarilh 2025-03-22 00:28:14 UTC
(In reply to TraceyC from comment #4)
> If you're manually mounting these shares with /etc/fstab, I'm afraid that's
> not supported. See this:
> https://invent.kde.org/plasma/plasma-workspace/-/issues/64
> 
> The supported way of mounting shares is through Dolphin. Unfortunately,
> nfs:// lacks support in Gears 6, see
> https://discuss.kde.org/t/help-needed-with-nfs-shares-in-dolphin/12909
> 
> With that said, I can see how adding the ability to use labels on these
> kinds of entries in Places. I don't know how difficult or feasible this
> would be, I'll let the Dolphin developers make that call

Thank you for your answer.
I ditched NFS for SMB. Still, "real" mounts for SMB act the same way as NFS mounts. By "real" i mean the remote folder acts as if part of the local computer (ie simply /home/N-1). The smb:// "mounts" are not as useful, as many apps don't have access, can't open terminal there, and there's no trash bin compatibility. But i guess all of this would need a different report as a feature request.
Comment 6 TraceyC 2025-03-24 20:53:35 UTC
I've also had to switch over to samba shared in my own home network, rather than use nfs, due to the latter's issues

I also agree that having remote mounts be able to be as usable as when mounted via /etc/fstab or nfs would be great, and that would have to be a separate issue. Please open a feature request for that, you are certainly not the first KDE user to express that.