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

learn more… | top users | synonyms

7
votes
2answers
974 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 ...
3
votes
1answer
207 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?
2
votes
1answer
165 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:
2
votes
1answer
425 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 ...
2
votes
1answer
789 views

How to apply written defaults to a Magic Mouse (com.apple.driver.AppleBluetoothMultitouch.mouse)?

Running OSX 10.7.4 I wrote a script to swap Apple Magic Mouse secondary click. The following simple bash script do modify the system preferences (can be seen in System Preferences GUI), but the mouse ...
1
vote
1answer
26 views

Update Dock after defaults write without `killall` restart

I'm toggling a Mission Control setting with defaults write but the Dock doesn't see the change without restarting via killall Dock. How can I get the Dock to read the updated plist settings without ...
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 ...
1
vote
1answer
3k 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.
1
vote
1answer
510 views

How do I clear the default email client?

I do not want ANY email client as a default. Whenever I accidentally click on a link, Outlook comes up. I do not want ANYTHING to pop up. Uninstalling is not an option. I want Outlook on the computer;...
1
vote
1answer
793 views

How to change OSX System (Default) Shortcuts?

In OSX (now is Mavericks), how to change the System Default Shortcuts, for example which are currently like: Command + Shift + Q .. for current User Logout. Command + Q .. for current (active) ...
1
vote
1answer
221 views

iCal event invite colors

I receive ical event invites from my boss all time. Once I accept the invite and it goes to the ical on my mac, the color of the event changes into the default blue on my mac. My question is, how do I ...
0
votes
1answer
47 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 ...
0
votes
1answer
41 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
62 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 ...
0
votes
1answer
163 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 ...
0
votes
1answer
36 views

Running defaults command as root vs regular user

I've used the defaults command to tweak my settings to some sane defaults, but I have been unsure if I should run them as root or as my regular user. Seems to work either way. It is possible to do ...
0
votes
1answer
1k views

How can I change some of the system default preferences used for the guest and new user accounts?

I have an shared OSX machine (now running Yosemite) that is used by a large group of people, most of which are not normally Mac users. A couple of the most regulars such as myself that need persistent ...
3
votes
0answers
92 views

How can I send emails with Mail.app as text/markdown explicitly?

I write all my emails in plain text, not rich text or HTML, but I do use punctuation markup as has been popularized by Markdown and others (which were inspired by prior customs in plain-text email). ...
3
votes
0answers
37 views

Changing default email reader does not take effect

I am trying to use Kiwi for Gmail as my default email reader (for example, when wanting to share a link via email, I want Kiwi to open up, rather than the Mail application by Apple). In the Kiwi ...
2
votes
0answers
57 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)
2
votes
0answers
148 views

Updating modifier keys from the command line takes no effect

The goal: map "Caps Lock" to "Control" from the command-line. I'm trying to update the modifier keys from the command-line with the following command as explained here and here but to no effect. $ ...
2
votes
0answers
252 views

how to turn off rotating cube animation upon user switch?

How to turn off rotating cube animation upon user switch? I apparently need to pad out this qwuestion, so i will add that it makes me dizzy thank you!
2
votes
0answers
121 views

Apple's Preview prints in middle of page

Apple's Preview app always prints in the center of the page, rather than at top & left margins. This is true regardless of the scale (% size) an image is printed at. I'm hoping there's a way to ...
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 up,...
1
vote
0answers
29 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. ...
1
vote
0answers
169 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 ...
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
0answers
125 views

Disable three finger drag on Xcode

I want to use the three finger vertical swipe to switch between header and implementation files on Xcode, but this stops working when I have three finger drag enabled in system preferences. I've ...
1
vote
0answers
54 views

determining Preferred Language in OS X via cli

I was hoping to do something like: defaults read -g AppleLanguages | awk -F, '/[^(]/{print $1;exit}' but if only one language is listed in "Preferred Languages", then defaults read -g ...
1
vote
0answers
32 views

Increase increment size of keyboard backlight

I usually have my keyboard backlight either: all the way up, at the lowest setting or off. It is (slightly) annoying to have to hold down F5/F6 keys, when I never use the middle values. Is there a ...
1
vote
0answers
505 views

Add local file URL handling to Applescript Application

I am using a simple applescript application to open different URL schemes in different Fluid Apps. By setting this app as the default browser, I can effectively parse out the URL scheme and open the ...
1
vote
0answers
569 views

Is there a best / OSX-specific way to force all files created in a directory to have certain group ownership?

Basically I need any file filefoo that is newly created by userfoo or userbar, both members of groupfoo, in /Users/Shared/SpecialDirectory to have the same ownership that would be achieved by that ...
0
votes
0answers
24 views

Kensington Trackball Works, how to scroll horizontally with Trackball or Auto Scroll

I have a Kensington Expert Mouse on the Mac running the latest 1.3 drivers. There still is no option to use the trackball to in addition to scroll vertically also scroll horizontally. Similar to the ...
0
votes
0answers
45 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
56 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 ...
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 ...
0
votes
0answers
419 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
0answers
232 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
0answers
29 views

Set Default App For Everything That Doesn't Have A Default

Is it possible to set a default open application if none is found on the system. For example if I have a .mp3 file, still let that open with iTunes but if i've got a random unknown .abcdefg file make ...
0
votes
0answers
1k views

How to reset all Yosemite's settings and preferences to default?

I used this script to modify settings on my mac. See full script here defaults write com.apple.systemuiserver menuExtras -array \ "/System/Library/CoreServices/Menu Extras/Bluetooth.menu" \ "/...
0
votes
0answers
62 views

How do I change my “Recommended Applications” list (shown after right click > open with) for a given file extension?

OSX v. 10.9.3 When I "right click" a *.kml file and go to "Open With", the list of applications does not include QGis, my favorite program for medium to heavy duty GIS work. I'd like QGis to be on ...
0
votes
0answers
516 views

Programmatically setting Terminal default settings for all users?

I'm trying to set up some standard terminal settings for all users across our system on all machines. I've tried to use the defaults write cmd in a LoginHook script, but since it seems that terminal ...
0
votes
0answers
166 views

How to toggle closeViewZoomFollowsFocus in com.apple.universalaccess via shell script with instant activation?

I created a Service with Automator on a Mac running "Lion 10.7.3". The Service toggles via a shell script the visibility of hidden files in the Finder and works like a charm. Here's the script: ...