pop-os / cosmic-epoch

Next generation Cosmic desktop environment
3.04k stars 81 forks source link

[REQUEST] Support in Cosmic Files to hide directories and files via .hidden #446

Open TheEpicYeti opened 3 months ago

TheEpicYeti commented 3 months ago

Loving Cosmic so far and I am eager to see the project grow. I've been testing things out on my laptop and I'm already envisioning running this on my primary machine in the future.

SUMMARY Request for the implementation of support for the .hidden method of hiding files and folders within Cosmic Files.

DESCRIPTION Cosmic Files is looking great but it would be fantastic to have the ability to hide specific files and folders using the .hidden method, similar to the functionality found in other files managers (E.g., GNOME Files, KDE's Dolphin), is not supported. Implementing this feature would enhance the user experience by allowing more granular control over file visibility, contributing to a cleaner and more organised workspace.

I have several directories that get pretty noisy with files and folders I rarely touch and to maintain focus on what I am actively using, I make heavy use of the .hidden method of hiding them.

COSMIC FILES EXAMPLE Hidden_Cosmic_Files

GNOME FILES EXAMPLE Hidden_Gnome_Files

OTHER DETAILS This is on a 1 week old, bare metal installation of Pop!_OS with git master branch enabled.

rupert160 commented 2 months ago

[updated] As at 2024-08-08 on Fedora40 COPR basic hidden functionality is implemented: Hidden files This was confused with the feature requester's functionality as described in more detail below.

ssokolow commented 2 months ago

As at 2024-08-08 on Fedora40 COPR this functionality is implemented: Hidden files

That screenshot suggests you may have misunderstood the feature request. Can you confirm that what was implemented was parsing $PWD/.hidden as a newline-delimited list of additional files to hide within the current folder, regardless of whether their names begin with .?

(eg. you can put names like Thumbs.db and desktop.ini into it to compensate for Linux-native filesystems not having a filesystem-level Hidden (FAT/NTFS) or Invisible (HFS/HFS+) flag that can be applied without renaming things.)