defaults(1) is a Mac OS console application used to manage user preferences stored in property list files.

learn more… | top users | synonyms

10
votes
6answers
5k views

How to list all available .plist keys on a certain domain application by defaults command?

I want to know all keys (property list) which available on certain domain application, as example I could list available key for com.apple.dock by entering this command: $ defaults read ...
10
votes
4answers
990 views

How do I change the location of screen captures?

As a developer, I take a lot of screen captures. I often take a lot to share with StackExchange members on chat. The problem is my desktop is so cluttered with screen captures that they're now ...
1
vote
1answer
2k views

Can I reset app windows to default size/position?

I was just wondering if there is a way to reset app windows like Mail or Finder to there default size and position. Is this possible and so yes, how? Thanks in advance.
7
votes
4answers
10k views

Default settings for pmset -g?

I remember changing some values to disable Deep sleep mode and hibernation a few months ago, and realised that my battery drains faster now. I just want to revert all settings to default. I changed ...
7
votes
2answers
895 views

How can i speed up the animation of hiding the menu bar?

I recently installed OS X El Capitan and figured out I could hide the menu bar. But it would be nice if i could accelerate the animation. For hiding the dock menu I use these defaults. I wondered ...
0
votes
1answer
35 views

Unable to toggle natural scrolling direction

I've been experimenting a bit when trying to write a script for toggling the scrolling direction; com.apple.swipescrolldirection. There are plenty of examples of people doing this online, and several ...
0
votes
1answer
42 views

default application to open folders with

Back in the days I used to run Path Finder for a while, but then removed it from the system and went back to regular finder. Now when entering i.e. open Desktop/ in the terminal, it opens up Finder ...
2
votes
1answer
153 views

Use smart folder as Finders default folder

Does anybody know how to setup a smart folder as Finders default folder? If I try to select the smart folder in Finder settings, the "choose" button is deactivated like the screenshot shows:
0
votes
1answer
36 views

When will podcasts be automatically deleted in iTunes?

I've heard that downloaded podcasts that are visited would be automatically deleted after some time. But I'm not sure about when or which condition does this occur. When will the downloaded podcast ...
17
votes
7answers
66k views

Move 'Pictures', 'Documents', 'Movies' etc folders

I would like to move folders like 'Pictures', 'Documents', 'Movies' to a different from the default under the root of user's home location, preferably into a sub-folder under the same user's home ...
1
vote
0answers
23 views

Refresh the contents of the (right-hand side) menu bar?

After making a change to whether something should appear in the menubar, like so (for example): defaults write "org.pqrs.Karabiner" 'isStatusbarEnable' -bool true I see no change. Nothing shows ...
0
votes
1answer
43 views

How to disable screensaver for newly created user?

I am fairly new to OS X, I am trying to disable the screensaver of a user that I recently created with the following commands on the terminal of an account that I'm currently logged in as: sudo ...
1
vote
1answer
128 views

Am I supposed to have both a Library/Privileged Helper Tools & a Library/PrivilegedHelperTools folder?

Library/Privileged Helper Tools is empty. Library/PrivilegedHelperTools has 3 items belonging to known installed applications within it.
4
votes
2answers
9k views

How to set default finder window size?

How do I set the default size of my finder window to a size of my choice? Currently each time I open a finder window, it opens up in a very small size and I have to adjust it before I can start ...
0
votes
0answers
39 views

Can “Full Keyboard Access” tab-key behavior be set for the login window?

The shortcut fn-F7 toggles the tab key behavior anywhere in Mac OS X, including on the login window (called "Full Keyboard Access" in System Preferences, this determines if tab cycles through text ...
0
votes
0answers
40 views

Setting Default Folder Settings using defaults write

I am trying to set the default settings for every folder to be Arranged By: Name and Sort By: Kind using defaults write. I know that there are these options; defaults write com.apple.Finder ...
2
votes
0answers
52 views

FaceTime dims all other audio during video calls – how to stop that happening?

Is there a hidden preference or something I can get at through defaults write? I'm running El Capitan 10.11.2 Beta (15C31f)
8
votes
3answers
3k views

How to prevent Command-I/Command-Shift-I from opening Mac Mail when in browser?

When in a browser (Chrome or Safari), the following keyboard shortcut will always bring up a window that says "Welcome To Mail": Command+Shift+I I would like to use this shortcut for another ...
1
vote
1answer
54 views

Disable Microsoft Office for one user

I share a Macbook Pro with another user (we are both Admins). The other user has a Microsoft Office 2016 account, and I do not. I work with a lot of CSV files, and it's extremely annoying that MS ...
1
vote
0answers
27 views

Manage Finder favourites with defaults write or similar?

I've been unable to find any preferences list file with the locations for the 'Favorites' list shown in the Finder sidebar. No luck from likely candidates com.apple.finder and com.apple.sidebarlists. ...
0
votes
1answer
60 views

What “defaults” command is used to enable NTFS write support in OS X

I remember long time back I came across some terminal command (something like: defaults write...) to enable ntfs write support on OS X. When I am searching for the command now I can see only either of ...
1
vote
1answer
21 views

How can I check what mode is already on on defaults write?

I am making a script that puts on a defaults write thing to true. How can I check before it's it's true or false?
3
votes
1answer
93 views

Default Browser .plist location

I have a custom built browser, lets say its similar to a firefox port such as Ice Weasel. I am wondering where I register this so that it will appear in the System Preferences > General > Default ...
0
votes
0answers
12 views

Website-specific default browser

Is it possible to have website-specific default browser? I use Firefox for the most part, but Chrome for Google sites (Inbox, Calendar, Keep, Music, etc), and I obviously open several links from my ...
15
votes
3answers
8k views

Change default shell from bash to zsh

I've tried to switch my default shell to zsh, using chsh: chsh -s /bin/zsh and: chsh -s `which zsh` Both commands ended with: Changing shell for adamatan. Password for adamatan: chsh: ...
36
votes
7answers
51k views

How to always show menubar with fullscreen apps?

Does anyone know if it is possible to keep the menubar in Mac OS Lion visible for fullscreen apps instead of hidden until hovered over with a mouse or trackpad? I imagine there's some Terminal ...
3
votes
1answer
198 views

Is there a hidden preference to get Mission Control to show application icons when grouping is turned off?

When I turn on grouping in Mission Control to I get the application icon overlaid on the windows that belong to the application. Is there a hidden option to show icons on ungrouped windows?
0
votes
1answer
98 views

Correct Syntax to change default Screenshots and Screencapture save location?

I would like to change the default screenshot location for OS X Yosemite 10.10.3 using Terminal. But this command is not working, where subfoldername = "name of my sub-folder" I want to store my ...
0
votes
0answers
210 views

How to set default scanner settings in Adobe Acrobat dialog?

After installing a Canon MF-220 series printer/scanner/fax, when I go to create PDF from scanner in Adobe Acrobat Pro DC on Mac OSX Yosemite, I get a dialog that defaults to Text, 25 dpi, and A4 that ...
0
votes
1answer
18 views

The location of plist file with defaults

How to know the location of plist that defaults read reads. For example, defaults read com.google.Keystone.Agent returns the information. { ActivesInfo = { "com.google.Chrome" = ...
1
vote
1answer
25 views

Defaults documentation for builtin apps?

Does Apple supply a list of valid preferences, in terms of key-value pairs found in plist files, for built-in OS X apps? For example, the Preview app has a user setting for anti-aliasing. One can ...
0
votes
0answers
416 views

Safari 9 doesn't have the Address Bar and Back/Forward button

I'm having a serious problem in Safari 9. I am unable to set back the Back Button and the Address Bar. It's not showing anymore. I've deleted a bunch of files in Cache, Preferences. Some procedures ...
0
votes
1answer
350 views

How to set default scroll option for full-screen mode in Mac Preview?

Mac Preview always opens in single page or double page view when going to full-screen mode while I prefer continuous scroll. I know I could press CMD+1 every time but is there a way to set this scroll ...
2
votes
1answer
410 views

How do I use the defaults command with App Groups?

In OS X Yosemite it's possible to have preferences that are shared between multiple apps that are in the same App Group. On the development side of things it's as simple as setting up the App Group ...
1
vote
0answers
157 views

defaults: command not found

i have two users on macbook pro (yosemite). one of them has access to the defaults binary in /usr/bin the other user gets command not found. looking up in /usr/bin --> no defaults. both accounts are ...
2
votes
1answer
264 views

How do I succeed setting sublime text 3 as a default text editor on Yosemite? [duplicate]

It's a matter of principle for me as I'm struggling with it for a long time. I had this issue back on Mavericks and now on Yosemite 10.10.5. What I'm trying to do is to set Sublime text 3 as a ...
2
votes
4answers
3k views

Default background color in Textedit

How do I set default background color in Textedit? Preferences -> New Document -> Font doesnt help. That black on white isn't too good in nights.
4
votes
1answer
4k views

What are the default permissions on the Applications folder in OS X supposed to be?

I was trying to run VirtualBox on OS X when I got the error: Failed to open a session for the virtual machine tinyXP. Failed to load VMMR0.r0 (VERR_SUPLIB_WORLD_WRITABLE). Unknown error creating VM ...
0
votes
3answers
75 views

How can I script the setup of preferences in Mac OS X?

I have a couple of Macs and I would like to create some kind of script that I can use to: Easily setup a new Mac after a reinstall Update settings to consistent values (so if I decide to change some ...
1
vote
2answers
37 views

Formatting 'defaults domains' output on multiple lines

Just a quick question here. I'm trying to format the output of the command: defaults domains so that it puts each domain on a new line, so I can use that parsed output in a different command. I've ...
3
votes
3answers
326 views

Concise, compact list of all 'defaults' currently configured and their values?

Hello Ask Different community, I'm not an OSX expert, though I've used it for some time now. I'm trying to understand more about how to automate and push config changes for netboot/imaging , etc. I ...
1
vote
1answer
162 views

How to customize open with menu in Yosemite?

I want to customize the right click/"open with" menu for some file extensions like jpg, in order to see just the 4 apps i want to use with this file type. Google suggests me to edit the info.plist ...
2
votes
1answer
35 views

Adding to “Open with” list

[OSX 10.9.2] My Mac doesn't think Audacity can open mp4 files, so when I want to do so using "Open with", I have to switch from "Recommended Applications" to "All Applications" so as to select ...
0
votes
1answer
40 views

Accessing dictionary keys using defaults

How do I use defaults to access a specific field in a dictionary? I've tried doing this $ defaults read -app Terminal "Window Settings.Pro" but it doesn't work. Accessing "Window Settings" on its ...
0
votes
1answer
141 views

Is there a way to remove a server account network entry from terminal?

I have a Mac mini running Mac OS X 10.10.3. It has an open directory server configured in the server account network configuration in 'Users and groups'. Is there a way to remove that server account ...
1
vote
0answers
23 views

How can I remove all modifications I've made using 'defaults'

I've run a number of customization scripts and manually made a lot of changes in my environment using the defaults utility. Is there a way I can delete all of my modifications? Essentially go back to ...
1
vote
1answer
338 views

How to use Defaults to set an element of an array of and array in a preference file?

I am trying to increase the speed of the Text-To-Speech on my Mac. The GUI Preference pane maxes out at 360 words per minute. I do accessibility development and this is actually a little slow for ...
2
votes
1answer
274 views

What is the default (blue) value for AppleHighlightColor?

Lots of popular dotfiles repos (stemming from this one) include this: # Set highlight color to green defaults write NSGlobalDomain AppleHighlightColor -string "0.764700 0.976500 0.568600" It looks ...
1
vote
1answer
286 views

How do I get rid of orphaned application entries after uninstallation?

Orphaned Entry in Default Calendar App Preferences (OS X Yosemite)? The image below is the preferences pane in Calendar.app. This is where the user sets the default calendar app used by OS X ...
0
votes
1answer
57 views

Use defaults to edit preferences

Recently, I have been playing around with editing System Preferences without GUI and using the defaults command. I have tried for example: defaults write com.apple.dock autohide NO Though that did ...