Hide & Show your desktop icons
Created on May 10th, 2015
It's pretty easy to hide and show your desktop icons on a mac. You can copy and paste the following line in your terminal command to hide your icons:
defaults write com.apple.finder CreateDesktop false;
killall Finder
And then, you can easily show your icons with with following commands:
defaults write com.apple.finder CreateDesktop true;
killall Finder
If you want to add this to your .bash_profile, .bashrc, or .zshrc file so that way these commands are readily available, you can add the following:
alias hideicons="defaults write com.apple.finder CreateDesktop false; killall Finder"
alias showicons="defaults write com.apple.finder CreateDesktop true; killall Finder"
And now you can run
hideicons
to Hide your icons, or
showicons
to Show your icons.
Comments (0)