Hot answers tagged

160

I just ported MenuMeters for El Capitan, please go to http://member.ipmu.jp/yuji.tachikawa/MenuMetersElCapitan/.


115

Marks in the Terminal The new Terminal marks (available starting with OS X 10.11 - El Capitan) are similar to Bookmarks, which are also available in the Terminal, allowing you to mark window positions and then giving you the option of going back at a later point. Marks (or Bookmarks) don't refer to your command history, but to the scroll buffer used in the ...


87

Go to your user library in Finder. Hold down ⌥ while opening the Go menu and click Library. Navigate to the Preferences folder. Remove any files that are or contain com.apple.finder.plist. (The removal of those files will very likely reset your Favourites list in Finder.) Restart or log out and log back in again then empty the trash and try again. ...


74

These days if you want to install a different version of the software package with homebrew, you do it this way: $ brew tap homebrew/versions Then search for your desired package: $ brew search node This might give you the follow results: homebrew/versions/node012 homebrew/versions/node010 homebrew/versions/node08 homebrew/versions/node06 homebrew/...


64

Apple's documentation covers disabling SIP, About System Integrity Protection on your Mac. An article on lifehacker.com lists these steps: Reboot your Mac into Recovery Mode by restarting your computer and holding down Command+R until the Apple logo appears on your screen. Click Utilities > Terminal. In the Terminal window, type in csrutil ...


59

For me, it means DTrace no longer works. DTrace is similar to ptrace/strace in Linux, in that it allows you to see what a process is saying to the kernel. Every time a process wants to open a file, write a file, or open a port, etc, it needs to ask the kernel. In Linux, this monitoring process happens outside of the kernel in "userland", and thus ...


46

It's possible to disable SIP by booting to Recovery HD and running the following command: csrutil disable It is also possible to enable SIP protections and selectively disable aspects of it, by adding one or more flags to the csrutil enable command. All require being booted from Recovery in order to set them: Enable SIP and allow installation of ...


43

A quick solution is to use homebrew to install python into /usr/local/bin so that your pip can run against a user-modifiable python framework. brew install python pip --version Disabling System Integrity Protection is also an option, but I don't recommend that for anything but professionally managed and fire walled servers where you have the manpower to ...


39

For people stumbling upon this in an OS X 10.11+ era (El Capitan or newer): Apple has added a whole new layer of security in OS X. They have taken away some privileges from root. The file you are trying to modify has a restricted flag. Only restricted processes which are signed by Apple will be able to modify these files. However, you can disable this ...


36

What no-one seems to have pointed out so far is that /Applications are usable by everybody & ~/Applications are only for that user. Some installers will ask if you want to install for this user or for everybody. That's how it can differentiate. That will be one of the reasons Steam installs to there, as it's a per user license. Apple's app licensing,...


33

There's an OS X feature called authenticated restart that stores the FileVault key in the SMC for the duration of the reboot. Apple acknowledges in the manpage that it does reduce FileVault security for the duration of the restart: On supported hardware, fdesetup allows restart of a FileVault-enabled system without requiring unlock during the subsequent ...


32

System Integrity Protection (SIP) is an overall security policy with the goal of preventing system files and processes from being modified by third parties. To achieve this, it has the following concepts: File system protection Kernel extension protection Runtime protection File system protection SIP prevents parties other than Apple from adding, ...


31

Create and add a Gatekeeper label to the app. (‘Approved’ is an arbitrary string.) spctl --add --label "Approved" /path/to/xyz.app Approve all apps with the label. spctl --enable --label "Approved" This only needs to be done once and adding the same named label to apps in the future automatically enables their access. Open the app as usual. open xyz....


29

First, you're not disabling SIP as a way to address the issue. Sorry that's the reason that this folder creation is failing, but we have to work around it. Second, you lose all the niceties Apple thought they were giving you, like a bridge via pyObjC, when you install your own Python. (I'll admit, they say you should install your own to /usr/local if you're ...


28

This can be done in the Elements tab by disabling this little brush icon:


27

Another viable option without a need to disable SIP or install other Python versions, is to install the modules only for the current user using pip install --user <modulename> If it is just your personal machine, this would be the simplest and safest solution.


27

Press Command ⌘+Control ⌃+Space. Type lamda into the search bar. Pay attention to type lamda instead of lambda. Your lamda should be there: You might ask why it is spelt lamda not lambda. According to the link provided by MJeffryes: The use of the spelling lamda derives from ISO 10646. This does not mean that it is more correct than lambda, ...


26

I just got this to work after an annoying 2 months! Select a single VIP Mailbox Go to View then Sort By then select All Mailboxes Go to the main VIP Mailbox and all should appear. If that works you can then try changing the sort to go back to Inbox only.


25

Apple makes its own drivers & they are included in the OS updates. The way to be up to date on drivers is to always be running the latest OS. There is debate over whether Apple make the entire driver set themselves, or just take NVidia/AMD's core code & add their own hardware/OS-specific code to it. The latter seems more plausible to me, but either ...


24

I think there is a misunderstanding here. An iOS app (from your iPhone) cannot run on your MacBook Pro. If you want to use a similar app on your Mac, I suggest you check if there is a Mac version of the application you want to use. You can search on the Mac App Store or on the app website.


23

They are System fonts & not available (or indeed licensed) for documents that you make or App use in general. As mentioned in comments, even the developer version of the fonts is only licensed for interface mockups & no other purpose. The previous system font, Helvetica Neue, on the other hand, was released as both a System & User font. There ...


22

I have two alternatives: Press Cmd+L (go the Location/Search field), then Cmd+Return. Click the back button (<), then press Cmd while clicking the forward button (>). Both of these will open a tab in the background. (Often, Cmd + click opens the click target's reference in a new tab.) If you also press Shift while performing the second step of ...


21

Password cracking (valid in OS 10.8 and newer) First I want to explain your command: sudo defaults read /var/db/dslocal/nodes/Default/users/user.plist ShadowHashData|tr -dc 0-9a-f|xxd -r -p|plutil -convert xml1 - -o - The first part of the command reads the key ShadowHashData in the plist sudo defaults read /var/db/dslocal/nodes/Default/users/user.plist ...


21

You can use Image Capture in the /Applications folder. This allows you to select a normal folder and import photos to that location, which can be accessed in Finder or Photoshop as usual. In addition, this application allows you to setup the preferred application to open when connecting your camera (or smartphone, ...). There you can select Image Capture ...


20

I had the same issue and fixed it in the following way: While in a "Open File" or "Save As" dialog box (that doesn't show Favorites), drag any folder to the sidebar. This will create a "Favorites" category in the sidebar that only shows that folder. Reboot. After rebooting, all of the dialog box sidebars should show Favorites as it appears in Finder, ...


20

The built-in VNC client with OS X works just great with most VNC servers I've tried on FreeBSD. I've mostly been using TigerVNC from ports (seems to be the fastest with OS X's VNC client), and the only issue I have is when I restart the VNC server while connected to it. The OS X VNC client will reconnect (great!) but it sizes the window oddly, and I can't ...


19

Long story short, it's safe to delete them. The /cores folder is where OS X stores Core Dumps. These are files that are intended for developers to trouble-shoot and diagnose faults in their software. They are generated as software crashes. If you're not a developer, or aren't testing software for a developer, then these files serve no purpose for you. The ...


17

The App Store can get confused for several reasons. I find it silly as well when it's confused but untangling things is a bit prickly and removes the humor in most cases :-( The first and most likely is that somewhere on your filesystem an older version of the Yosemite installer exists and the store is seeing an "update" to offer. It's not really designed ...


17

I encountered this same issue today. I could not "Allow" or "Always Allow" any programs, nor could I confirm my password in any dialogues. The interface wouldn't shake, even if I had entered the incorrect password. I use Synergy to facilitate programming over several different computers. My mouse and keyboard do not belong to the Mac OSX device. I was able ...


17

The best thing you can do is creating a new admin user and inspecting the assaulted main user/the system. Boot to Recovery Mode (hold cmdR while booting). Unlock and mount the main encrypted volume either with Disk Utility or Terminal: #list all CoreStorage items diskutil cs list #unlock the locked Logical Volume (replace lvUUID by the UUID found above. ...



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