mac

Blog posts tagged 'mac'

Turn bluetooth on automatically when connected to Thunderbolt display

Oct 22 14

I use a MacBook Air as my primary machine.
When at home in my office, I plug it in to a 27″ Thunderbolt display, and use the Apple keyboard and “magic” mouse – which are connected via bluetooth.

To save battery, when not plugged in, I turn off bluetooth.

When I come back to the office, it’s usually still off, and I have to remember to turn it back on, to use the external keyboard and mouse.

I was looking for a way of automatically turning it on when the OS detects it’s connected to an external display, but couldn’t find anything obvious. Until I stumbled across ControlPane

  • Create a context of “Plugged In To Display”
  • Select ‘Attached USB Device’ in the Evidence Sources tab
  • In the Rules tab, click add, then “Add ‘Attached USB Device’ Rule… – then select the ‘Plugged In To Display’ context
  • Finally, in the ‘Actions’ tab, click add System Preferences Actions > Toggle Bluetooth. Set it to ‘On’ and ‘On Arrival’

That should be it!

Now, every time I plug my MacBook into the Thunderbolt display, Bluetooth turns on automatically!

turning-bluetooth-on-automatically-with-controlpane-1

turning-bluetooth-on-automatically-with-controlpane-2


turning-bluetooth-on-automatically-with-controlpane-3

turning-bluetooth-on-automatically-with-controlpane-4

Yosemite causing MacBook Air 2013 to crash when connected to Thunderbolt display

Oct 20 14

My setup is a fairly standard one:
13″ 2013 MacBook Air, which is occasionally, although more often than not, plugged in to a 27″ Thunderbolt Display.

I “upgraded” to Yosemite last night.
Booted my machine, everything seemed fine. I was downstairs at the time, no Thunderbolt display connected.

This morning, plug in to the TB display, and disaster… Blacked out.
Machine restarts saying it restarted because of a problem. One off I thought….
Then, a few seconds later, same thing.

I unplugged the TB display, and it booted fine.

Plugged the TB display back in, it crashed again. I could replicate and reproduce this every time.

Secondly, if the TB display was left plugged in, then boot the machine, the problem would happen, and it would get stuck in a cycle of booting, crashing, and restarting itself.

Parallels 8 Upgrade – Moving windows in Windows 7 snapping back

Sep 7 12

I recently upgraded my copy of Parallels desktop from version 7 to version 8.

As soon as I had done, I noticed the supposed “improved multi-monitor support” wasn’t all it was cracked up to be.

If I had a window open, and dragged it to the other monitor (either from external to macbook, or vice versa) it snapped back!

See video:

Update

Parallels have now released a hot fix which fixes this issue.
It would have been nice if they’d tested this before releasing in the first place however… 

As per their support site, follow these instructions:

Please update Parallels Desktop 8 to the latest build. To obtain the update, please do the following:

1. Start Parallels Desktop > click on Parallels Desktop menu > Check for Updates...
2. Download and install the Update.


MacBook Pro with SSD – Hanging / Crashing when using Windows 7 & Parallels

Aug 30 12

Just a quick blog to see if anyone else out there is experiencing hanging / crashing when using:

Macbook Pro
OSX Mountain Lion
SSD (256mb Crucial CT064M4SSD1)
Parallels – Windows 7 Guest OS

Only started noticing the problem since I installed the SSD

Every now and then, the whole system will sort of freeze.

Won’t respond to mouse / keyboard.
Freeze lasts around 10-30 seconds, then returns to normal

Will update this post with any more info if I get it

Fix Homebrew – You have no /usr/bin/cc (Xcode)

Feb 17 12

I recently did a fresh install of OS X Lion on my Macbook Pro

I installed XCode, homebrew, and git.

After trying to install mysql via homebrew:

I received this error:

Error: Failed executing: ./configure –prefix=/usr/local/Cellar/readline/6.2.2 –mandir=/usr/local/Cellar/readline/6.2.2/share/man –infodir=/usr/local/Cellar/readline/6.2.2/share/info –enable-multibyte
If `brew doctor’ does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue

So, I did what I was told, and ran:

This returned:

You have no /usr/bin/cc. This will cause numerous build issues. Please
reinstall Xcode.

But, Xcode is installed
After some googling (which if you’re reading this, you’ll notice there’s not a lot of results), I found the solution.

Xcode needs the Command line tools installed.

To do this, open Xcode, click the Xcode menu, and select preferences.
Click install next to Command line tools: