Hot answers tagged

36

Finder -> Preferences -> Advanced


20

Surprisingly this doesn't work with the command line tools as one would expect. This needs to be done with the System Preferences app. The following steps work with multiple versions of Mac OS X through at least 10.11 (El Capitan). Open up the "User's & Groups" panel in the "System Preferences" app. Make sure the panel is unlocked (bottom left) ...


11

There is no native way to do that.


8

Launch Services is responsible for default file associations. Let's say I wanted to change all text files to open in Sublime Text 2. First I need the kMDItemCFBundleIdentifier for Sublime Text 2. I can use mdls to get this information: > mdls /Applications/Sublime\ Text\ 2.app _kTimeMachineIsCreationMarker = 1 _kTimeMachineNewestSnapshot = ...


7

From a Terminal window: sudo defaults write /System/Library/User\ Template/Non_localized/Library/Preferences/.GlobalPreferences com.apple.swipescrolldirection -bool false Source


7

You can adjust this on a per-app basis by editing the plist. My memory is rusty but here are instructions, if I remember correctly. Show package contents for the app you want Edit the file Contents/info.plist Search for "LSUIPresentationMode" (you may want to use a plist editor). It will look like this if you use a regular text editor: ...


7

If you are not forced to use defaults write you can use the following command. It interacts with the OS the same as if you were to utilize System Preferences. TESTED ON: 10.5.x 10.6.x 10.7.x 10.8.x 10.9.x sudo osascript -e 'tell application "System Events" to set require password to wake of security preferences to false' NOTE: If the command is ...


7

Art, Do you have this working successfully? Have you tried hiding the folders using something like: chflags hidden ~/Documents Then creating a link to it such as (in Terminal): cd ~ mkdir stuff cd stuff ln -s ~/Documents I believe that this will hide the ~/Documents folder from the Finder but it will still be there so anything writing to it will ...


7

I personally use symlinks to move all of those directories under my User account. I logged in as root and symlinked all of my directories "Documents' Downloads " Movies", etc and moved them to an external drive. Mac OS sees the changes just fine and points to those directories (on the external drive) automatically and I have had no issues doing it this ...


7

You can change the shortcuts from System Preferences: If you want to disable the shortcuts, edit the NSUserKeyEquivalents dictionaries directly: defaults write com.google.Chrome NSUserKeyEquivalents -dict-add 'Email Page Location' '\0' defaults write com.google.Chrome.canary NSUserKeyEquivalents -dict-add 'Email Page Location' '\0' defaults write ...


7

It is very easy to do this: Open a new Finder window. As you resize the window, hold the Command ⌘ (not Alt / Option) key. Close resized window. Then hold the Alt / Option key as you right click on Finder in the Dock and click Relaunch. Any Finder windows opened after this will open at that size. Note: This does not work for windows opened from folders ...


6

This is not a trivial task, if I recall correctly people run the strings utility at the command-line against an Application, and look for things that match a structure similar to com.domain.FeatureName. (com.apple.iTunes, ch.cyberduck.CyberDuck, com.panic.Coda, etc.) The likely easiest way to manage these overrides is by a System Preferences Pane by the ...


6

I was doing it the wrong way like you try to for a long time and also have retreated to using RCDefaultApp in the past... but there's actually a way to do that natively which works. Do the following: 1) right click your file 2) choose "Get Info" 3) in the popup find the "Open with" strip (this is by default closed) and open it 4) from the drop down choose ...


6

As far as I know, the only way to do this is via a Cydia app called AnyLockApp. It allows you to configure the behavior of the camera button that appears on the lock screen. You can set any app to be activated by that button. See also the AnyLockApp page. Settings screen: Edit: As mentioned in the comments and by stuffe's answer, this hack will probably ...


6

The frame that's used is called the "Poster Frame". It looks like iTunes chooses a frame 10 seconds into the video by default. To choose a specific frame as the cover art: Start playing the video. Pause the video on the frame you want to use. Right-click on the video and choose "Set Poster Frame".


5

You could also create an XML or old-style property list and convert it with plutil: plutil -convert binary1 test.plist It modifies files in place by default. You can specify a different output file with -o or print to stdout with -o -.


5

You can choose from five different word break settings in System Preferences: I haven't tried the Finnish, Greek, or Japanese settings, but I have found only two differences between the Standard and English (United States, Computer) settings: period and colon are part of words between alphabetic ASCII characters in Standard but not in English (United ...


5

To expand on Han's answer, here is the excerpt from the article Managing input methods in OS X To change your default input method in OS X and avoid having to make these adjustments for each application and document you open, you first have to be sure the setting to allow a different input source for each document is disabled. To do this, go to the ...


5

The Word Break option has been removed in Mavericks. Instead: defaults write .GlobalPreferences AppleTextBreakLocale en_US_POSIX Sources: https://twitter.com/jaydisc/status/393157866812502016 and http://lri.me/osx.txt


5

I was able to solve this, but I still don't know what caused it. Iteratively: Watch for a hung sh job. Run the command in a terminal. Kill the parent of the hung job with kill -9. Return to 1 until no more hung jobs appear.


4

You could use the all powerful open command to achive this using a shell script / apple script. Not necessarily the nicest way, but that's the way I do it. open http://apple.stackexchange.com -a Firefox.app would be the basic command to open this page in Firefox. You can easily wrap this in a nice to use apple script - let me know if you need to know ...


4

Yes, usually you can just use defaults delete. If for example you have run defaults write -g NSScrollAnimationEnabled -bool false, you can undo the changes by running defaults delete -g NSScrollAnimationEnabled or defaults write -g NSScrollAnimationEnabled -bool true (and by reopening applications to apply the changes). Even if the preference key had some ...


4

There really isn't a notion of "available" keys. The application is free to read whatever keys it wants. Most people discover "secret" defaults keys by using strings to look through the application binary to see what keys it will try to read.


4

The network library is intended for client computers bound to a network domain server. A domain server acts as a central repository for configuration information -- mostly user accounts, but also (among other things) mount records. Mount records tell the client computers to automatically mount a certain file server share point automatically. If you use ...


4

I've been using Default Folder X (35$) for years to add this capability, among many others.


4

That is not normal - I have drwxrwxr-x+ 73 root admin 2482 24 Jun 09:28 Applications/ There is a option in Disk Utility.app to repair permissions which should change the Applications directory and others back.


4

If you're joined to an Open Directory sever, or any other directory server, the default shell will have to be specified there. You can always just add zsh to your bash profile so it gets called on logon as a workaround.



Only top voted, non community-wiki answers of a minimum length are eligible