72

After extensive trial-and-error, and a lot of fruitless Googling, I found the solution required modifying the executable status of the "inner" application file. This line: chmod +x SomeApp.app/Contents/MacOS/* Fixed the problem in all cases that I observed. The +x flags a file as executable, and the only file in the /Contents/MacOS/ directory is a binary ...


44

Just select the file itself in Finder and press CmdC or go to Edit » Copy. You can then paste the path directly to a terminal window. Note that this will escape special characters. If you want the path in human-readable form, you need to do the following: Open Utilities/Automator.app Create a new Service Set it to receive no input from Finder.app Drag ...


42

The option is found in the System Preferences > Security & Privacy > General > Advanced dialog. The first option is a check box with text Log out after [NN - spin button] minutes of inactivity The spin button enables one to set the number of minutes of inactivity. Kudos to the user Alistair McMillan who posted the answer over in the ...


36

I just got it to work by commenting out one of the IPv6 loopback lines from my /etc/hosts file: #fe80::1%lo0 localhost Now all of my loopback hostnames work, not just localhost. I wonder what's up with this?


35

TL;DR: Shift-Cmd drag from left or right edge of the dialog window. The problem is that the top of the dialog doesn't have a resize handle. However, the left and right sides of the dialog do have resize handles. That means that you constrain the aspect ratio of the dialog and resize from the left or right, and the bottom will resize proportionally. You ...


34

Looks like the VBoxManage command line tool is how to do it. Couldn't find a way to do it from the GUI, but this seems to work: VBoxManage hostonlyif remove vboxnet4 (replace the '4' accordingly, of course)


31

I had the exact same problem when setting up RVM on my new Mac this morning: $ ruby -v dyld: Library not loaded: /usr/local/lib/libgmp.10.dylib Referenced from: /Users/psoshnin/.rvm/rubies/ruby-2.1.3/bin/ruby Reason: image not found To solve the issue I first ran: $ brew update && brew upgrade Then I ran: $ rvm reinstall 2.1.3 --disable-binary ...


29

Open Virtualbox, click File -> Preferences -> Network -> Host-only Network, remove Vboxnet#


28

It seems like there is an entirely different method for changing the open files limit for each version of OS X! For OS X Sierra (10.12.X) you need to: In /Library/LaunchDaemons create a file named limit.maxfiles.plist and paste the following in (feel free to change the two numbers, which are the soft and hard limits, respectively): <?xml version="1.0" ...


26

Use the terminal to go to /private/tmp, and you'll find a set of folders which name starts with 2014*, in my case I had 20141118101236 and 20141117152211. It seems that each of these folders match with every "zombie" Google volume displayed in finder. I was about to delete both folders, but before deleting them I decided to open the tmp folder with finder ...


26

EDIT: As mentioned by @dbernard and Spectacle, it's no longer actively being maintained, they both recommend Rectangle Spectacle works just as well and is free! See their github for more information. Feel free to take a look at their keyboard shortcuts found here. The default shortcut for moving to "Next Display" is ⌃⌥⌘→ and you can configure it to ...


24

Alternative (does not require sudo or modifying /etc/hosts) - always use ipv4 until curl gets smarter. $ echo '--ipv4' >> ~/.curlrc (then everything will work as desired)


22

I see you asked this question all over. There is a kernel limit you have to deal with, kern.maxfiles which is the kernel limit and can't be exceeded when setting ulimit. See the Krypted blog page Maximum Files in Mac OS X for a description on how to manipulate kern.maxifiles using sysctl. I haven't loaded Yosemite on my Mac yet. The sysctl -w kern....


22

From man launchctl Note that per-user configuration files (LaunchAgents) must be owned by root (if they are located in /Library/LaunchAgents) or the user loading them (if they are located in $HOME/Library/LaunchAgents). All system-wide daemons (LaunchDaemons) must be owned by root. Configuration files must disallow group and world writes. These ...


22

This issue is not specifix to OS X Yosemite or OS X in general, this happens to all the terminals when a certain control sequence is issued. It is very likely that this will go away after you run $ reset Here is an excerpt from man tset: When invoked as reset, tset sets cooked and echo modes, turns off cbreak and raw modes, turns on newline ...


16

Modifying the /etc/launchd.conf per a lot of google queries and SO suggestions didn't seem to work for me in Yosemite (10.10). What did end up working, after numerous change/reboot/test combinations, was modifying (or creating if it doesn't exist) the /etc/sysctl.conf file. This is what I had to put in to make it work kern.maxfiles=65536 kern....


16

I came up with a solution via terminal. The location of the SQLite database was changed in Mac OS X 10.10 (Yosemite). You can still delete apps from the Launchpad with this “Terminal” command. Just replace the APPNAME with the app you want to delete. sqlite3 $(sudo find /private/var/folders -name com.apple.dock.launchpad)/db/db "DELETE FROM apps WHERE ...


16

For determining whether it is using the 2.4 or 5 GHz bands, click on the wireless networking icon at the top of the screen while holding down the Option key. Further Info


15

Exactly the same way as for all Mac OSes since Lion... From the Apple menu choose System Preferences.... From the View menu choose Users & Groups. Click the lock and authenticate as an administrator account. Click Login Options.... Click the "Edit..." or "Join..." button at the bottom right. Click the "Open Directory Utility..." button. Click the lock ...


15

Update: This is procedure is unnecessary with tmux >= v2.6 I found a post by Brendon Rapp describing a solution that doesn't require lots of aliases. $ brew install reattach-to-user-namespace Add the following line to the end of your ~/.tmux.conf: if-shell 'test "$(uname)" = "Darwin"' 'source ~/.tmux-osx.conf' Create a file named ~/.tmux-osx.conf with ...


14

Same problem here. Found and deleted /Library/Caches/com.google.SoftwareUpdate.0 Restarted finder (Alt + Right Click on finder icon then Click Relaunch) Result: All GoogleVoiceAndVideoAccelSetup* volumes removed. Reference: OS X 10.10 on a late 2009 iMac


13

**UPDATE: (OFFICIAL FIX) ** Mathworks has released a patch for Matlab 2012a ~ 2014a. Use this link to download the appropriate patch for your version There is another issue with Yosemite Beta 2. It prevents Matlab from running at the very first point with this error message: You can’t use this version of the application “MATLAB_R2012b” with this ...


13

In Mac OS 10.10 it seems the ulimit setting can't exceed the launchctl limit setting. So you should first run launchctl limit maxfiles in terminal to get the current setting: launchctl limit maxfiles maxfiles 256 unlimited So in my case the soft limit is 256, the hard limit is unlimited. And then if i want to set the soft limit to 512: ...


13

Open up the “Terminal” in Applications > Utilities > Terminal and then drag the file into the window. The full Unix path of the file will show up.


12

You'll want to add the P (or -P) flag to your command line. From the manpage: -P Preserve pathnames. By default, absolute pathnames (those that begin with a / character have the leading slash removed both when creating archives and extracting from them. Also, tar will refuse to extract archive entries whose pathnames ...


12

If you are originally from the Windows world, and this USB flash drive was original for Windows use but you are now on a Mac and cannot delete a file off of this USB flash drive, I’m willing to bet that the USB flash drive was formatted in NTFS. Mac OS X can only natively read NTFS file systems and cannot write to them so you cannot erase the data off of ...


11

This worked for me: brew update && brew install gmp && rvm reinstall 2.1.3


11

Doing a right-click "Open With" does not make any persistent change to the file associations (actually, it's called the Launch Services settings in OS X). What you need to fo is "Get Info" on the file (either from the right-click context menu, or by selecting the file and choosing File > Get Info from the menu bar), changing the setting in the "Open with" ...


10

TL;DR: Check the menu setting View->Show/Hide alternate screen. You may be in "alternate screen mode". Or try using the SHIFT key when you scroll to get the other scrolling behavior. ^[ is the printable representation of Control-leftbracket, AKA the escape character. Infocmp reveals that ^[OB is the xterm escape sequence for the down-arrow key (^[OA is the ...


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