A Mac OS console application used to manage user preferences.

learn more… | top users | synonyms

0
votes
1answer
17 views

How to change shape defaults in keynote?

I'm using Keynote 6.2. Is there a way to change the default properties of shape objects? Specifically, I'd like to get rid of the drop shadow and the advanced color fill. It's a pain to have to change ...
2
votes
1answer
414 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 ...
3
votes
1answer
25 views

Mavericks: How to ADD Input Source via plists/defaults?

I'm trying to automate my OS X setup but I'm stuck trying to programmatically add a new Input Source or keyboard layout. I usually use two layouts: regular US and US International, so what I'm trying ...
0
votes
1answer
30 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 ...
0
votes
1answer
23 views

To control default opening software for PDF centrally?

I want PDF documents open with Preview, not Adobe Reader. I select Open With > Other > Click the Box Always Open With. However, this does affect all pdf-files in my system. How can you set the ...
0
votes
1answer
82 views

Writing to NSUserDictionaryReplacementItems with defaults

The following command reads the NSUserDictionaryReplacementItems. The keys are called Text Shortcuts in OS X. defaults read NSGlobalDomain NSUserDictionaryReplacementItems I want to create new ...
4
votes
3answers
122 views

How do I change which characters OS X considers ‘a word’, for ⌥-arrow-key skipping?

When I type ⌥→, I'd like my cursor to stop at periods, and perhaps other characters. Does anybody know of a defaults configuration, or System Preferences setting, that changes which characters are ...
3
votes
3answers
3k 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 ...
6
votes
2answers
3k views

Disable screensaver password requirement from command line

I am trying to enable and disable the screensaver password requirement from the command line. defaults read com.apple.screensaver shows a variable askForPassword set to either 0 or 1, depending on ...
0
votes
5answers
220 views

Force URL link to open with a specific browser

I've created a URL link in my dock, however, the link only opens with the default browser. I have safari, Firefox, and chrome (latest being the default) installed in my machine. I'm wondering if ...
2
votes
0answers
22 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
1answer
69 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
5answers
16k views

How do I change my default “from” email address for the iOS Mail app?

I changed my "Default Account" in Mail Preferences: And this changes my default "from" address when I send an email from (say) the Twitter app But when I use the Mail app to send an email, it uses ...
6
votes
3answers
2k views

Change the default application (for a file extension) via script/command line?

Is there a way to define the default application for a file extension via an Apple script, command line command (like defaults write [...]). I know that you can change it manually via the information ...
7
votes
7answers
1k 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 ...
5
votes
0answers
842 views

How to see all options configurable by “defaults write …” [duplicate]

Many Mac apps have "hidden" configurable options that can be modified in Terminal by using the defaults write ... command. This is straightforward to do if you know the name of the option that you ...
1
vote
1answer
225 views

How do I change mouse settings instantaneously from Terminal?

My school has a bunch of Macs that are always logged in as Guest and have very annoying default settings (natural scrolling, no secondary mouse button, etc), so I am trying to write a terminal script ...
0
votes
2answers
91 views

Defaults utility: how to get xcode project info

I have found that utility defaults can get info from .plist file. But how can I canonically pass as parameter to it path to .plist file ? I read about <domain> parameter but still don't have ...
7
votes
4answers
695 views

How do I change the location of screen captures on 10.5?

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 ...
0
votes
1answer
408 views

What do I need to know for setting key combination shortcuts

I am running OS X Mavericks 10.9 and I want to create a new key combination shortcut for, lets say, 'Look Up in Dictionary'. Personally I think CommandShiftD or CommandOptionD would be nice. When I ...
1
vote
1answer
332 views

How to reverse the defaults write com.apple.Safari CustomUserAgent “\”My user agent string\“” command

Using the defaults write com.apple.Safari CustomUserAgent "\"My user agent string\"" command, you can set the default User Agent for Safari. This means that the CustomUserAgent key gets written in ...
1
vote
1answer
322 views

Where does Messages.app store its “Play sound effects” setting?

I'm trying to write a script to configure the system and various apps to my liking, mostly via defaults write. I got stuck with Messages' Play sound effects setting (under General). I think this ...
0
votes
0answers
65 views

Set default permissions to potential new files in shared folder

I am using my iTunes library for multiple users. It is located in the public folder called "Shared". Of course I want to have the ability to add files from every account to my iTunes library. But ...
2
votes
2answers
2k views

Choosing the default application does not stay as default after reboot

When I'm opening .avi files, I want to open them with VLC Media player, when right clicking the item, I see this: As you can see QuickTime is the default player, I want to change it to VLC, so I ...
3
votes
1answer
231 views

Can I undo changes made via “defaults write”?

I've been messing with Bluetooth audio settings to try to keep my Bluetooth speakers from popping by changing settings via defaults write, but I'm afraid I've made the problem worse. I'd like to ...
1
vote
1answer
774 views

Toggle Natural scrolling from command line with reload

I'm looking to make a script that quickly toggles the Natural scrolling settings, so I need a way to do it from the command line. I think I found the correct defaults command, but I'm not sure how to ...
0
votes
2answers
52 views

Where is a full (complete) list of defaults domains and parameters?

I found several long lists with defaults, settings, but never a complete one with a reference to developers.apple.com. Is there any such list to find? If not, which is the longest/systematic/complete ...
0
votes
0answers
154 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
59 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?
3
votes
2answers
4k views

How to set default input source in Mac OS X Lion

I use two keyboard layouts (input sources) in my everyday work - the standard US and Russian-PC. In System Preferences/Language & Text/Input Sources I have activated the "Allow different input ...
0
votes
0answers
14 views

How do I use Mathias .osx defaults? [duplicate]

I just got a mac and am still familiarizing myself with it. I was taking a look at: https://github.com/mathiasbynens/dotfiles/blob/master/.osx Not sure how to use it!
0
votes
2answers
35 views

How can I restore the default dimensions of the Force Quit dialog

I accidentally maximized the Force Quit dialoge on my Mac and I am looking for a way to restore it to its original size other than manually resizing it. I would like it to be have exact dimensions as ...
2
votes
1answer
326 views

Setting defaults for Magic Mouse

When I log on the Guest user, the Magic Mouse settings are not as I want them to be. E.g., I would always like the right click enabled and the tracking speed set to fast, but these settings default to ...
1
vote
3answers
91 views

Writing to plist file multiple preferences same time

I need to write about 50 preferences to a .plist file. Is there any way to write just once to plist file? My current code has 50 defaults write lines. do shell script "defaults write testing.testing ...
0
votes
2answers
524 views

Temporarily disable Notification Center in Mountain Lion from command line?

I've been trying to create a script to disable/enable the Notification Center, even if it's temporary. It should do the same as manually sliding the Notification Center, scrolling up, and toggling the ...
1
vote
1answer
285 views

Set preview.app to default to “content only” view

Is there any way to make (Mountain Lion) Preview's default view 'content only'?
3
votes
2answers
355 views

Change the default action to open executable files in the editor instead of Terminal

When double clicking an executable file (without a file extension) in Finder, it opens in Terminal by default. I can change that to any other application for this single file, but I cannot change the ...
1
vote
1answer
308 views

Button “Use as Defaults” are missing in View Options panel (Mountain Lion)

I'm a very new user of Apple and Mac OS - coming straight from Windows so please bear with me if my question is a bit foolished. I'm looking for a way to set my View Option as a default property ...
4
votes
2answers
997 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: ...
0
votes
1answer
516 views

Default chart colors Keynote showroom

I want to find out what are the default colors of a 3D bar chart in Showroom layout on keynote. When you add a new chart, you get this colors: But I was unable to find them in the colors palette.
1
vote
0answers
251 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
2answers
72 views

Change the default Dock stack content display style

I love the Dock stacks. But I always use the list view option. I don't really fancy the default "Automatic" option. Do you know if it is possible (maybe using the defaults command?) to set the default ...
2
votes
1answer
37 views

Change default applications

I have somehow managed to replace the default movie player, with my FTP client. I'm not sure how that happened, but now every time I double click a movie file in Finder, my FTP client launches. Can ...
0
votes
1answer
242 views

How do I make TextEdit remember last Save As location in Mountain Lion?

First off, I have disabled iCloud as default location for Save As dialogs in TextEdit.app: defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false … But still, I have one ...
1
vote
1answer
66 views

How do I verify the integrity of my OSX installation? (Files, versions, and preferences)

I want to verify the files, and configuration settings for my OSX installation against a known good reference "base". Assuming I have two identical Macs (hardware), with one being factory installed ...
1
vote
1answer
463 views

How to set default number formatting in Numbers?

In Numbers, I've seen how to change the default cell colour and font, based on table styles. But how can one change the default number formatting? The default "American" formatting for dates, for ...
1
vote
1answer
117 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 ...
1
vote
2answers
258 views

How can I toggle magic mouse one finger swipe pages gesture via terminal?

How can I toggle magic mouse one finger swipe pages gesture via terminal? The command defaults write -g AppleEnableSwipeNavigateWithScrolls -bool NO triggers checkbox in System Preferences, but ...
2
votes
2answers
587 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.
0
votes
2answers
1k views

How to create a binary plist file from the command line on OS X?

I am looking for a solution to create a binary plist file from the command line on OS X? I want to create the ~/.MacOSX/environment.plist and setup the PATH there. I know that this plist file has to ...