You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Desktop files and folders hidden for seemingly no reason

Hi all,


I've run into an issue I'm hoping one of you can help with. All the files on my desktop (as well as the Desktop folder itself) behave like hidden files in the UI but have no attribute that I'm aware of that should make them be hidden.


None of these files and directories begins with a period (.).

None of these files and directories have the 'hidden' flag.


What else causes this behaviour?

MacBook Pro 15″, macOS 12.1

Posted on Jan 20, 2022 2:07 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 20, 2022 3:01 PM

Hi Scott, thanks for taking the time. I do have iCloud Drive enabled for those folders, and the symbolic link ~/Library/Mobile Documents/com~apple~CloudDocs/Desktop points to the Desktop folder in my home directory. My question was a little more technical than most I suppose, in that when I say 'hidden' I mean the literal interpretation within the context of an operating system and not what someone might say when they can't find something. I know where it is. I can't see any reason why it should be hidden. But in the Finder and desktop UI they appear translucent, or not at all, depending on whether I've set hidden files to visible in the UI, which is the same behavior as a hidden file. They don't start with a period, and they don't have the hidden flag, so why do they act like hidden files? I tried copying them to a new directory (just made ~/TEST) and the files maintain this behaviour, so something is making it happen, I just don't know what.

8 replies
Question marked as Top-ranking reply

Jan 20, 2022 3:01 PM in response to Scott-he-him

Hi Scott, thanks for taking the time. I do have iCloud Drive enabled for those folders, and the symbolic link ~/Library/Mobile Documents/com~apple~CloudDocs/Desktop points to the Desktop folder in my home directory. My question was a little more technical than most I suppose, in that when I say 'hidden' I mean the literal interpretation within the context of an operating system and not what someone might say when they can't find something. I know where it is. I can't see any reason why it should be hidden. But in the Finder and desktop UI they appear translucent, or not at all, depending on whether I've set hidden files to visible in the UI, which is the same behavior as a hidden file. They don't start with a period, and they don't have the hidden flag, so why do they act like hidden files? I tried copying them to a new directory (just made ~/TEST) and the files maintain this behaviour, so something is making it happen, I just don't know what.

Jan 20, 2022 3:35 PM in response to Old Toad

I think you've misunderstood what I meant. I know where the files are. When I say 'hidden' I mean it in the technical sense, i.e. a file that starts with a period or has the hidden flag.



Note that Magnus.jpg (and a few others) doesn't have the hidden flag.



Magnus.jpg has the alpha channel on its icon reduced, like the folder above. This should not be the case. In addition, pressing ⌘+Shift+. makes it disappear along with the stuff that actually is hidden.

Jan 20, 2022 2:41 PM in response to setesh225

Hello,


I am wondering if you have iCloud Drive Desktop & Documents Folders enabled? If so, they aren't hidden they are just in a different location than your Home folder.


Use iCloud Drive to store documents on your Mac, iPhone, and iPad - Apple Support

"Store your Desktop and Documents folders in iCloud Drive

  1. On your Mac, choose Apple menu  > System Preferences, click Apple ID , select iCloud in the sidebar, then click Options next to iCloud Drive.
  2. If you don’t see Options next to iCloud Drive, make sure iCloud Drive is turned on.
  3. Select Desktop & Documents Folders.
  4. Click Done.

After you select Desktop & Documents Folders, your Desktop and Documents folders are moved into iCloud Drive. They also appear in the iCloud Drive section of the Finder sidebar."


I hope this helps.

Jan 21, 2022 7:34 PM in response to setesh225

Safe Mode does delete some files which may be what fixed the problem (usually temp & cache files). We used to have some Macs get a "blue screen" during login to the Desktop which Safe Mode does resolve (I believe it was even in the Apple documentation for Safe Mode at one time).


setesh225 wrote:

Might be a little bug there, maybe cosmic rays struck just the right place in RAM, maybe this is all a fever dream, who knows?

Seems to be a lot of this these days with macOS and Apple hardware. I really like to understand the underlying issues as well, but with Apple it is very difficult due to all the secrets. Sometimes you just need to be grateful for the win and not look the gift horse in the mouth. And hope all is well.


Jan 20, 2022 4:20 PM in response to Old Toad

Well I hadn't tried that yet, so thanks for the suggestion. In Safe Boot the problem was still present, but when I booted back into normal mode it stopped. No idea why, but my gut tells me it has something to do with how Apple hides the Desktop and Documents directories when iCloud Drive is enabled for them. Might be a little bug there, maybe cosmic rays struck just the right place in RAM, maybe this is all a fever dream, who knows?


Thanks friend! :)

Desktop files and folders hidden for seemingly no reason

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.