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

learn more… | top users | synonyms

2
votes
1answer
679 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
46 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:
1
vote
1answer
314 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 ...
1
vote
1answer
459 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
182 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
30 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
25 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
408 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 ...
0
votes
1answer
166 views

Position Dock stretched full width without increasing size proportionally

Using defaults write com.apple.dock pinning start;killall Dock I was able to move the position of the dock to the upper left corner below the Apple menu. What I'd really like to do is force the ...
2
votes
0answers
144 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
57 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
19 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
33 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
31 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
27 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
63 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. $ ...
1
vote
0answers
272 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
24 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 ...
1
vote
0answers
117 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?
1
vote
0answers
442 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
19 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
25 views

Move files across disks (change default to move and not copy)

When you move files/folders across disks Finder, by default, copies the files. I'm looking for a configuration option (defaults?) to reverse this, so default is moving files (as it is when you are on ...
0
votes
0answers
23 views

Need Help with Post-install Script to Switch Off “Displays have separate Spaces”

We have an PC application adapted to run on the Mac using Wine that we install using Apple's Installer. Because Wine uses X11 to display the adapted application's GUI and because of the way X11 (aka ...
0
votes
0answers
244 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 ...
0
votes
0answers
960 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
111 views

Is it possible to have two guest accounts with separate language settings?

I have a shared use OSX machine (running Yosemite) used by a varying set of people with mutually exclusive language and keyboard needs. Most users use the guest account and all settings get reset ...
0
votes
0answers
122 views

Using Yosemite's dark theme but keeping the menubar normal

I just switched to the dark theme on Yosemite OS X and it is a true blessing. For days i have been annoyed by the too light colored background that appears on CMD-TAB, now this is remedied ...
0
votes
0answers
49 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
368 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
151 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: ...