Tag Info

Hot answers tagged

126

⇧+⌃+⏏ puts the display (only the display, not the whole computer) to sleep and will then prompt you for a password if you have enabled Require password [amount of time] after sleep or screen saver begins under System Preferences > Security. If your Mac does not have an ⏏ (eject) key, you can use ⇧+⌃+⌽ (power).


83

Inactive memory gets a horrible rap due to a crappy name. It should be called "make your Mac really fast the second, third, and fourth time it does the same task" memory except that's an awful name, too. Here's how I explain things to someone new to the concept of virtual memory: Wired: The system cannot run without this amount of RAM (never swapped) ...


75

From my answer in Super User. Using Keychain Access's Lock Screen menubar. Activate it here, in Keychain Access.app's Preferences: Then lock.


72

Apple has made a very handy official tool to slow down the network connections on you Mac for testing purposes. The Network Link Conditioner preference is a free download from within Xcode (for Lion and later OS). Additionally, iOS has similar function accessible from within Xcode and iOS 6 or later. Older versions of Xcode before version 4.3.2 embedded ...


67

If you're just looking for the Unicode versions of Mac OS X keys, you can use this site to copy and paste them from the text box. More generally, Mac OS X provides a pane to insert special characters. You'll typically find it under Edit -> Special Characters in any program that takes text input. The Command key symbol can be found under Symbols -> Technical ...


62

The ~/Library folder still exists, but it is hidden. You can easily unhide it by running the following command in Terminal (/Applicatiions/Utilities): chflags nohidden ~/Library Note that you'll have to do this again after each 10.7.X update (credit to Vincent). If you want to reveal it on a per-use basis, you can get in by holding down option and ...


59

open -a TextEdit filename should do the trick. The -a flag specifies any application you want, so it's applicable to any number of situations, including ones where TextEdit isn't the default editor. Other relevant options -t opens in the default editor (i.e. if you use BBEdit, TextMate, etc.) -e will open the file specifically in TextEdit


58

No versions of OS X are affected (nor is iOS affected). Only installing a third party app or modification would result in a Mac or OS X program having that vulnerability / bug in OpenSSL version 1.0.x Apple deprecated OpenSSL on OS X in December of 2012 if not earlier. No version of OpenSSL that is vulnerable to CVE-2014-0160 (a.k.a the Heartbleed Bug) ...


50

It's not part of the Apple system to 'cut' files. The option is there and becomes enabled when text is selected. But not files. Here is an in-depth discussion on Apples discussion forum. To move a file, open two finder windows and drag the file from one window to another. This is the 'Apple' way. Drag and drop. "Command + C" then "Option + Command + ...


46

I dug deep into the app using GDB but the results were disappointing. I don't think there is a way to do this currently. Here's what I learned: First you can change the speed of switching into Mission Control (still called Expose in the prefs). To do that just enter this command: defaults write com.apple.dock expose-animation-duration -int 0; killall Dock ...


46

Cyberduck (Free) A great free FTP client. This is my go-to application. Anytime I need FTP access, I use Cyberduck. It's not quite as lightweight as Fugu, but it adds a lot more functionality than Fugu. I also really like the Growl integration with Cyberduck. Fugu (Free) Awesome little FTP client. As I noted above, this is a lightweight FTP client. It ...


44

Transmit Panic's Transmit tops my list. An extremely well built and executed FTP Client that fully supports sFTP. Priced at $34. Transmit is an excellent FTP (file transfer protocol), SFTP, S3 (Amazon.com file hosting) and iDisk/WebDAV client that allows you to upload, download, and delete files over the internet. With the most Mac-like ...


43

As of Snow Leopard, this actually is built into the OS. Launch Automator and create a service that receives no input from any application. From the Actions Library, add the 'Launch Application' action to the workflow. Select the 'Terminal' application in the drop-down list of Applications. Save your new service and then assign a keyboard shortcut to it in: ...


43

Be careful with sudo and making sure you pick the correct Mac's files since there is no undo or confirmation of the following command: sudo tmutil delete /Volumes/drive_name/Backups.backupdb/old_mac_name The sudo command needs your password (and it won't echo to the screen, so just type it and pause to be sure you're dating the correct files before ...


43

Specifically, it means that hitting that button will produce a prompt rather than immediately performing the action of closing the window. While this is usually a save dialog, it could be anything requiring further user action. In this sense, it is equivalent to ellipses on the ends of menu entries.


41

(Assuming we're looking for Mac OS X specific tricks.) I've got an alias to launch quicklook on a file from the command line: $ type -a ql ql is aliased to `qlmanage -p 2>/dev/null' $ ql photo.jpg Testing Quick Look preview with files: photo.jpg ctrl+C: Kill it and return to the prompt.


41

The easiest way is to: Enter time machine (on the Mac whose backup you want to delete) Go to the point in time you want to delete Select the icon that looks like a cog in the finder and choose 'Delete Backup' This ensures the backup catalog remains accurate and the integrity of your data stays intact.


41

Mac OS X 10.5+ stores user's account pictures within the Directory Service with the exception of an account that has not modified their user picture from when first created. When first created an account contains a 'Picture' attribute in their user record that is a path to the image in question. This can be read using the dscl command (dscl . -read ...


41

I wouldn't advise aliasing rm to mv as you might get in the habit of rm not permanently deleting files and then run into issues on other computers or under other user accounts when it does permanently delete. I wrote a set of bash scripts that add more Mac OS X-like command line tools (in addition to a number of the built-in ones like open, pbcopy, pbpaste, ...


40

There could be several things here that are creating the lag time, but there is never a need to reinstall everything. Plan A: I actually do these things on the first Monday of every month Purge Caches: Macintosh HD/Library/Caches/ and Macintosh HD/Users/UserName/Library/Caches/. You lose some of your application preferences, but things are all but ...


40

This is an excerpt of Appple's App Kit Release Note for Lion regarding full screen apps & multiple desktops. Multiple Monitors and Full Screen (New since early 2011 seed) We have made some simplifying assumptions for Lion Full Screen behavior on multiple monitors. Multiple monitors are treated as a single unit by Spaces, and therefore are ...


40

There is now a blog entry about Taking Screenshots in a Snap. It's built into Mac OS. ⌘+⇧+3 captures the whole screen ⌘+⇧+4 captures a custom rectangle (click and drag over the screen region you want to capture) ⌘+⇧+4 then space captures a specific window (move the mouse cursor over the desired window, then click) Press esc to ...


37

The characters included in the popovers are defined in property lists inside the /System/Library/Input Methods/PressAndHold.app/ bundle. I was able to change à to y by editing /System/Library/Input Methods/PressAndHold.app/Contents/Resources/Keyboard-en.plist and logging out and back in. <key>Roman-Accent-a</key> <dict> ...


36

There is anti-virus software available for Mac OS X: Intego VirusBarrier ClamXAV (Free) Norton AnitVirus Mac Edition McAfee VirusScan for Mac Sophos Anti-Virus for Mac (Consumer Version is free) Is it worth it? That's largely up to you. Personally I'd say unless required there's no reason to so long as you practice "safe computing" (eg. not opening files ...


36

If a plist is owned by root and writable by a user other than root, that's a security issue. You can change the owner to root with sudo chown root <filename>, and change the permissions with sudo chmod 644 <filename> (4 for read access, 2 for write access, 1 for execute access, added up. The first number is for the owner, the second for the ...


36

Yes, you can create a fusion drive on older Macs, described in full length here: You obviously need both an SSD and a HD. Let's assume they are known to the OS as disk1 and disk7 diskutil cs create bla disk1 disk7 to create it diskutil cs list and take note of the Logical Volume Group ID diskutil coreStorage createVolume <ID from above> jhfs+ blub ...


34

wonder why one would want to disable the swap file in Mac OS X. Does it increase performance? Stability? Any downsides? I suppose people would do it for an SSD drive because those drives don't have the same lifetime as standard magnetic spinning-disk drives. There are a more limited number of write cycles, so presumably using them with a swap file ...


34

If you use: sudo scutil --set HostName name-you-want it will work a bit better. From the scutil(8) man page: --get pref Retrieves the specified preference. The current value will be reported on standard output. Supported preferences include: ComputerName The user-friendly name for the system. LocalHostName The local ...



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