Set new Safari windows to open the Safari Top Sites page:ĭefaults write NewWindowBehavior -int 4 Set new Safari windows to open the Safari bookmarks page:ĭefaults write NewWindowBehavior -int 3 Set new Safari windows to open to the same site as the last-opened page:ĭefaults write NewWindowBehavior -int 2 Set new Safari windows to open to an empty page:ĭefaults write NewWindowBehavior -int 1 Set new Safari windows to open to Safari’s default homepage:ĭefaults write NewWindowBehavior -int 0 Here’s the defaults commands to set the NewWindowBehavior and NewTabBehavior keys to the various available settings: Here’s how it maps out:Ĭom.apple.Safari NewWindowBehavior 0 = HomepageĬom.apple.Safari NewWindowBehavior 1 = Empty PageĬom.apple.Safari NewWindowBehavior 2 = Same PageĬom.apple.Safari NewWindowBehavior 3 = BookmarksĬom.apple.Safari NewWindowBehavior 4 = Top SitesĬom.apple.Safari NewTabBehavior 0 = HomepageĬom.apple.Safari NewTabBehavior 1 = Empty PageĬom.apple.Safari NewTabBehavior 2 = Same PageĬom.apple.Safari NewTabBehavior 3 = BookmarksĬom.apple.Safari NewTabBehavior 4 = Top Sites Likewise, new Safari tabs are set by the NewTabBehavior key in /Users/username/Library/Preferences/.īoth keys use an integer to set the desired behavior. The behavior of new Safari windows is set by the NewWindowBehavior key in /Users/username/Library/Preferences/. There wasn’t an obvious way to set the Safari new window setting from the command line, but with the assistance of Greg Neagle, I’ve mapped out the applicable keys and their settings. Instead, it was opening Safari’s Top Sites. While testing a new machine setup today, I noticed that Safari wasn’t opening to the default homepage like it should.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |