GNOME Bugzilla – Bug 114497
Nautilus cannot view hidden files and backup files on desktop
Last modified: 2005-02-11 17:14:26 UTC
Steps to reproduce: 1. Touch .a and a~ in ~/.gnome-desktop 2. Launch nautilus file manager 3. Choose Edit->Preferences and launch 'Preferences' dialog 4. Select [Icon & List Views] categories in it 5. Check [Hidden files and Backup files] in [Show Options] field and close the dialog Now the user would expect the nautilus to show both .a and a~ on the desktop as that of in a nautilus window, but it doesn't show it on the desktop.
this is on purpose. Among other things, it'll make the desktop useless for $HOME-as-desktop if the user toggles show hidden files.
I think we need to rethink the global view-hidden-files thing anyway. I don't think thats really right.
I always thought this should work through an inheritance mechanism, such that if you set one folder to show hidden files via a view menu item, than all folders it contains inherit this property unless it is toggled and so forth. I realize this creates a large performance problem though :/
Considering the above comments I have worked out a fix/proposal as follows: If ((nautilus desktop view use ~/.gnome-desktop/*) && Show Hidden Files) Display-Hidden-Files on Desktop else if ((nautilus desktop view use HOME-Directory) && Show Hidden Files) Hide-Hidden-Files with this fix on selecting "Show Hidden files": - when the users select HOME-Directory as Desktop option the displayed files will be limited only to the normal files, there by avoiding any mess on the desktop. On the other hand when the user is in default scenario for desktop view (i.e., show files from ~/.gnome-desktop/*) then the hidden files will also be displayed providing the users access to the hidden files also. (and its a trade off between desktop mess & providing the user of the option of viewing hidden files on desktop)
Created attachment 17433 [details] [review] Patch as stated above.
*** Bug 47082 has been marked as a duplicate of this bug. ***
I think that since we've switched the desktop to a user-visible directory (~/Desktop/) this isn't as important - users that want to see hidden files can just open ~/Desktop in a normal window.
*** Bug 150491 has been marked as a duplicate of this bug. ***