Renaming a bluetooth keyboard in Mac OS X

To rename a bluetooth keyboard in Mac OS X Lion (10.7) go to System Preferences

Click the bluetooth icon under ‘Internet & Wireless’

Select the Bluetooth keyboard and click the gear icon near the bottom of the preference pane and select ‘Rename’

Enter a new name and click ‘Rename’

 

Please leave all comments/queries in the comments section of this post.

com.google.keystone.daemon appearing in console logs

Background:

You may have checked your Mac OS X console and seen something similar to the following flooding your logs:

7/01/12 10:59:34.698 PM com.apple.launchd: (com.google.keystone.daemon[52566]) bootstrap_register() erroneously called instead of bootstrap_check_in(). Mach service: com.google.Keystone.Daemon
7/01/12 10:59:34.700 PM com.apple.launchd: (com.google.keystone.daemon[52566]) Exited with code: 1
7/01/12 10:59:34.700 PM com.apple.launchd: (com.google.keystone.daemon) Throttling respawn: Will start in 10 seconds

These logs relate to Google’s software updater which keeps any Google software on your system up to date.

Additionally, this uses quite a bit of disk space, as it logs all of this to /Library/Logs/GoogleSoftwareUpdateDaemon.log – my log file was 356 MB, but reading online some users have logs up to 2 GB.

Resolution:

Google’s method

Google’s official response, which can be found here states you need to uninstall ALL Google software and then uninstall the update software using one of the following commands at a terminal (Applications -> Utilities -> Terminal).

Uninstall for a specific user:

~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --uninstall

Uninstall for the whole system: (needs root access)

sudo /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --uninstall

Once you’ve done this you should notice two new entries in your console log that looks something like this:

7/01/12 11:00:29.156 PM sudo:   username : TTY=ttys000 ; PWD=/Users/username ; USER=root ; COMMAND=/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py –uninstall
7/01/12 11:00:29.315 PM com.apple.launchd.peruser.501: ([0x0-0x1d01d].com.google.Keystone.Agent[276]) Exited: Terminated: 15

This shows I’ve run the command for the system wide uninstall and that the agent process was killed during the uninstall process.

As per Google’s notes in the link provided above, if you attempt an uninstall of the software updater without uninstalling ALL Google applications you will find these may not operate correctly, or that the update software will be automatically reinstalled next time you launch these.

Alternative methods

The methods listed here have been collated from around the internet. I have not tested these. The goal here is to permanently uninstall/disable the Google Software Updater while leaving the Google software (ie. Chrome) installed. If you have had success with any of these methods, or have an alternative method please post this in a comment below.

Twenty Ways: Permanently disable Google Software Update on OS X

  • Involves removing the .plists, creating empty .plist files and updating the permissions on those files. Check the link for exact commands.

Time Sinker: Stopping all OSX Google background ‘updater’ apps

  • Involves renaming .plists and also editing other .plists to stop them loading at launch. Again, checkout the link for exact instructions.
Feedback and Comments

As always, if you have any feedback, or alternative resolutions please post these below.

 

iTunes 10.2.2 crashes after update

Background:

So I’ve just run system updates on my realtively new Early 2011 17″ MacBook Pro only to find that iTunes 10.2.2 will not run and crashes when opening.

 

iTunes 10.2.2 crashes when launched
oh noes!

 

Console logs show the following:

23/04/11 11:04:45 AM	[0x0-0x19019].com.apple.iTunes[233]	objc[233]: Class  is implemented in both /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit and /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit. One of the two will be used. Which one is undefined.23/04/11 11:04:45 AM	[0x0-0x19019].com.apple.iTunes[233]	objc[233]: Class  is implemented in both /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit and /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit. One of the two will be used. Which one is undefined.23/04/11 11:04:45 AM	[0x0-0x19019].com.apple.iTunes[233]	objc[233]: Class  is implemented in both /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit and /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit. One of the two will be used. Which one is undefined.23/04/11 11:04:45 AM	[0x0-0x19019].com.apple.iTunes[233]	objc[233]: Class  is implemented in both /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit and /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit. One of the two will be used. Which one is undefined.23/04/11 11:04:45 AM	[0x0-0x19019].com.apple.iTunes[233]	objc[233]: Class  is implemented in both /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit and /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit. One of the two will be used. Which one is undefined.23/04/11 11:04:46 AM	com.apple.launchd.peruser.501[132]	([0x0-0x19019].com.apple.iTunes[233]) Job appears to have crashed: Bus error23/04/11 11:04:46 AM	ReportCrash[235]	Saved crash report for iTunes[233] version 10.2.2 (10.2.2) to /Users/spathi/Library/Logs/DiagnosticReports/iTunes_2011-04-23-110446_Abed.crash

 

Solution:

Download the 10.6.7 Mac OS X update from Apple and reinstall this. After I reinstalled the update iTunes worked as expected.

Note if you use an Early 2011 MacBook Pro you need to use a specific update file. I have included links to both of these below.

Mac OS X 10.6.7 update

Mac OS X 10.6.7 update for Early 2011 MacBook Pro

 

Feedback:

Please leave a comment if this resolved your issue, or If you are having similar issues and have found an alternative solution, please post the solution you have found.

 

unzip multiple files in linux or mac os x

If you’ve tried to unzip a bunch of zip files via the unix command line using a Linux distro or Mac OS X using the following command you may have come across the following.

The command:

unzip *.zip

displays the error:

caution: filename not matched

The easiest way of fixing this is by adding ‘single quotes’ to the file portion of the command, for example:

unzip '*.zip'

Which will unzip all of the zip files in the current directory.

Mac OS X users: you can access the unix terminal by running Terminal, an application found in Applications -> Utilities.

Taking screen shots in Mac OS X

A simple tip that is often asked – how do I take screen shots (or print screen as it is known in Windows) in Mac OS X?

The screen capture options in Mac OS X are quite robust, offering solutions for not only capturing the entire screen but for capturing windows of running applications, or a manual selection of the screen itself.

It is important to note screen grabs are saved to your desktop as PNG files by default.

For those looking for the commands without more information the list is below. Read on if you would like an explanation.

Command-Shift-3 – Screen shot all displays to PNG files on the desktop.
Command-Shift-4 – Screen shot a specific selection of the screen using the cross hair.
Command-Shift-4 followed by Space bar – Screen shot a running application window.

Adding Control to any of the above will copy the image to your clip board rather then a file on your Desktop.

Below is an overview of the different inbuilt methods.

Capturing the whole desktop

Pressing Command-Shift-3 will capture all desktops (in the case of multiple displays) and place the files on your Desktop. If you would prefer to copy the screen shot straight to you clipboard as opposed to a file on your desktop, add the Control key to the combination above. For example,  Command-Shift-Control-3 – Please note this appears to only copy the primary Display to the clipboard in the case of multiple displays.

Capturing a manual selection of the screen

Pressing Command-Shift-4 will change your mouse cursor into a set of cross hairs. Using this you can click a point on your screen and then drag (while holding down the mouse button) and select the area of the screen you would like to capture. When you release the mouse button the screen shot is taken. As with the previous method you can add the Control key to copy the selection directly to your clipboard. For example, Command-Shift-Control-4 will allow you to select a portion of the screen and place this in your clip board.

Capturing a specific application window

Pressing Command-Shift-4 will bring up the cross hairs as above, now instead of making a selection press Space bar. The cursor will change from the cross hairs to a picture of a Camera. You can move this around the screen and you will note when you hover over an open window it will be highlighted to show it has been selected. From here click on the desired window and it will save this to a PNG on your desktop. As before, you can add the Control key to the mix to copy the selection directly to your clip board rather then to a file. The complete command would like like the following. Command-Shift-Control-4 followed by the Space bar.

I hope you find this information useful, please feel free to leave any questions or comments below.

Wrong time zone on your iPhone

Here in Australia many of our states have just kicked in to day light savings time. This involves setting our clocks one hour a head.

Unfortunately, my state doesn’t participate in this ritual, and I woke at what I thought was 4.30 am to find it was actually 3.30 am

To fix this, you need to go to the ‘Settings’ app and then select ‘General’ and select ‘Date & Time’.

If you have ‘Set Automatically’ turned on, turn this off. You will now be able to select a Time Zone.

Set your relevant time zone and then turn ‘Select Automatically’ back on.

Your phone will now keep your phone up to date an use the correct time zone.

Shuffling Music videos on AppleTV

I made some of my own Music Videos and put them in iTunes, but found that my AppleTV wouldn’t shuffle these when selecting the Shuffle option in the Music Video section.

After some investigation I found this is caused my an option set for each individual file in iTunes itself.

To fix this find the music video in your iTunes library and right click (or control-click) the file and choose ‘Get Info’.

From there go to the ‘Options’ tab and deselect the ‘Skip when Shuffling’ option and click OK.

Things to note:

If you sync your iTunes library to your Apple TV (as opposed to streaming) you will need to resync after making these changes

You can do this to multiple Videos at once by selecting them all and then right clicking (or control-clicking) ‘Get Info’. The process is the same except you may be asked if you would like to work on multiple items at once. Also when you reach the options tab you will have a slightly different layout and will need to check the ‘Skip when Shuffling’ option and choose ‘No’ from the drop down box.

As always, I hope you find this useful and if you come across any problems, would like to share any further information or even if this just helps – please leave a comment below.

Akamai Console log entries in Mac OS X

I started receiving the following errors every 10 seconds or so in my Console Logs:

27/03/10 4:59:21 AM com.apple.launchd.peruser.503[107] (com.akamai.client.plist[323]) Bug: launchd_core_logic.c:4103 (23932):13
27/03/10 4:59:21 AM com.apple.launchd.peruser.503[107] (com.akamai.client.plist[323]) posix_spawn(“/Applications/Akamai/loader.pl”, …): No such file or directory
27/03/10 4:59:21 AM com.apple.launchd.peruser.503[107] (com.akamai.client.plist[323]) Exited with exit code: 1
27/03/10 4:59:21 AM com.apple.launchd.peruser.503[107] (com.akamai.client.plist) Throttling respawn: Will start in 10 seconds

After some googling I found several people experiencing the same issue. It appears this revolves around the use of the Akamai Download Client, which in my case was used when downloading an Adobe trial product.

The Akamai client was never uninstalled properly, either because I trashed the folder in /Applications/Akamai or because the uninstaller didn’t work correctly.

I did a spotlight search and found I still had a copy of the Akamai installer disk image – AkamaiDownloadManagerInstaller.dmg (If you don’t have this, go back to Adobe’s site and choose a new trial product to install, the Akamai client will then be reinstalled).

I reinstalled this and then ran the following from the terminal to uninstall the package correctly.

/Applications/Akamai/admintool uninstall -force

After running this, no more entries in my logs!

SMS Send Issue on iPhone

If You’ve ever received the dreaded exclamation mark when trying to send an SMS on an iPhone (which is usually accompanied by an error such as “Error Sending Message” you should try checking your Message Center Number is correct for your mobile carrier.

I have a Dell Mini 9 Laptop with built in HSDPA modem using Vodafone (AU) but also an iPhone 3GS with Optus. While trying to diagnose an issue I switched sims, and somehow my iPhone kept the Message Centre Number for Vodafone – Even while my Optus sim was present in my iPhone.

I tried reseting the Network settings as suggested on some sites, and even resorted to Restoring my phone (effectively wiping it) however this didnt fix the issue.

The following shows how the issue was resolved.

Step 1 – Check the Message Centre Number

Go into the phone app, and choose the keypad. Enter the following:

*#5005*7672#

and hit call. You will receive a message such as:

Setting Interrogation Succeeded
Service Center Address
+61415011501

The message above indicates the MCN is for Vodafone when it should be Optus.

Step 2 – Change the MCN

To change the MCN you enter the following into your keypad as done previously:

**5005*7672*+xxxxxxxxxxxxx#

Replace the x ‘s with the MCN for your mobile provider (See resources below for a world wide list). You can enter the + symbol by holding down the 0 button.

In my case, I was changing from vodafone to optus. Optus advises on their support page that their MCN is +61411990001 , so I would key in the following:

**5005*7672*+61411990001#

Followed by the call key.

You should now receive a message such as:

Setting Succeeded Service
Center Address
No Address

You can now try send an SMS. If you continue to have issues, please repeat step 1 to confirm your MCN has been entered correctly. Failing this I’d advise you call your mobile provider to run through other options.

Further Resources:

SMS Message Server Worldwide List (MCN List)

Optus SMS Troubleshooting

Feedback:

Please leave a comment if this resolved your issue, or if you have any further solutions to this problem. If you are having similar issues and have found a solution, please post the solution you have found.

iPhone 3G wifi connection issue

Background:

There appears to be some issues connecting an iPhone 3G (possibly other Apple iPhones & iPod Touch products using the new 2.0 firmware) to certain Wifi access points.

So far these issues appear to be limited to those using Linksys WAG54G V3 routers.

When attempting to join a wireless network, you receive an error saying “Unable to join network” followed by the name of your access point (SSID).

Solution:

There are 2 known solutions to this problem.

1.     Update the firmware to the latest version

From my post on the Mactalk.com.au forums:

Okay, I’ve upgraded the firmware on my Linksys WAG54GV3 and can confirm this has resolved the issue

I logged onto my router’s admin page and confirmed I was running version 1.0.22. Went to this link and selected Version 3.0 from the drop down box.

I then downloaded the firmware listed on the page (Firmware Annex A, version 10.0.46 Date: 2/07/2008 Size: 4.51 mb)

The actual firmware filename is called: WAG54GV3-U2-AnnexA-ETSI-v1.00.46-code.bin

I then logged back into my router and went to the Administration tab, and selected Firmware Upgrade and selected the file and clicked upload.

Waited for about 3 – 5 minutes for the firmware upgrade to complete, the router rebooted. My SSID was labelled the default (linksys) and there was no encyrption on by default. So i changed the SSID and turned on WPA2 and everything is working now

2.   Change the Wireless mode to B only

A New Zealand user from the Apple Discussion forums (link) advises that you can also resolve this issue by changing the Wireless Network Mode on the router to 802.11B only. This can be achieved by going to the administration page on your wireless router and then clicking the following menu items: Wireless -> Basic Wireless Settings.

From there select B Mode. The draw back to this is that all devices are only able to connect to the network at B speeds.

The same user came back and confirmed they had gone to the Australian site and installed the firmware on their router and this also resolved the issue (even though the firmware wasn’t available in their country – New Zealand).

Reference:

Mactalk.com.au forum post

Apple Discussion forum post

Linksys Australia Website

Feedback:

Please leave a comment if this resolved your issue, or if you have any further solutions to this problem. If you are having similar issues with a different router and have found a solution, please post the brand and model and the solution you have found.