3/25/2023 0 Comments Defaults write![]() But a few fixes/adjustments go a long way as a matter of quality of life. I general, there is not much to the Dock.app. # Always show suffixes defaults write NSGlobalDomain AppleShowAllExtensions -bool true # Always search current folder defaults write FXDefaultSearchScope -string "SCcf" # Show path bar and status bar defaults write ShowStatusBar -bool true defaults write ShowPathbar -bool true # Devices for the sidebar defaults write systemitems -dict-add ShowServers -int 1 defaults write systemitems -dict-add ShowRemovable -int 1 defaults write systemitems -dict-add ShowHardDisks -int 1 defaults write systemitems -dict-add ShowEjectables -int 1 # Items to display on the desktop defaults write ShowHardDrivesOnDesktop -int 1 defaults write ShowMountedServersOnDesktop -int 1 defaults write ShowExternalHardDrivesOnDesktop -int 1 defaults write ShowRemovableMediaOnDesktop -int 1 # Open home in new window defaults write NewWindowTarget -string "PfLo" defaults write NewWindowTargetPath -string "'file://$HOME /" # List view in by default # Possible: `icnv`, `clmv`, `Flwv` defaults write FXPreferredViewStyle -string "Nlsv" # Show the ~/Library folder chflags nohidden ~/Library This is the corresponding snippet of the script. In addition to the GUI, these settings can be changed with a simple bash script. Open new Finder windows in list view: The default, which is the icon view drives me up the walls. ![]() Open new Finder windows showing the home directory: This might just be a matter of taste.Items to display on the desktop: To maximise the quick access I want to all manner of volumes on my desktop as well.Visible devices in the sidebar: I like to see both hard disks, removable devices and servers in my sidebar for quicker access.Show the path bar and the status bar: This is quite spiffy since it provides the location in the Finder and the available space on disk at a glance.Always search the current folder: For global search on disk I user either Spotlight or Alfred.app.Always show file suffixes: macOS does not need this to know the file type, but I do.This are the settings you can change over the Finder preferences ( ⌘ + ,) or the view options ( ⌘ + j). For this post however I ll mention the settings over the GUI as well. Personally I have scripted these settings to be done automatically. mysides: Command line tool for Finder sidebar modification.dockutil: Command line utility for managing Mac OS X dock items.How to install it is described on the homepage. Homebrew: Command line package manager for macOS.But I absolutely need these tools to be able to set up my Mac fast, comfortably and properly. This section – strictly speaking – does not talk about macOS defaults. It would drive me mental not having these.Īs most of my post, this is for my own documentation, but in the spirit of sharing I hope that this might help someone out there. ![]() However some of the behaviours in the UI that I have been used to over the years are not set by defaults. Hell, this domain starts with the word “mac”. My job revolves around it, I write about it on this site and I have been using it for about 20 years with no major complaint. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |