Create a personal ringtone for iPhone

March 9, 2012

There is not too much involved to create your own ringtone for use on your iPhone.

Probably the trickiest bit is converting from an unusual audio format, but if you have the sound clip you want to use in an m4a, mp3 or wav audio file already – and maybe others – your going to be fine.

Once you have the audio file you want to use as your iPhone ringtone, open it in iTunes. If its longer than 30 seconds you might want to trim it down to that length.

You can use the stop and start times on the iTunes options tab for the audio file info ( right click and select Get Info) to trim to a portion of the audio file.

Next create an AAC version of the audio file via the Create AAC Version option in iTunes. (again on the right click context menu for the file or use the Advanced menu on the toolbar)

Note this will only be an option if you haven’t changed your settings previously for importing audio. I had mine set to import as mp3. To revert to AAC ensure import using=AAC on the import settings section of the general tab in iTunes general preferences.

This file is what will soon be your own custom iPhone ringtone.

Next, copy it out of iTunes and remove it from iTunes to avoid confusion later.

Change/Rename the file extension from .m4a to .m4r.

Now just drag it to the Tones library in iTunes, and after you sync your iPhone with iTunes your own homemade ringtone is ready to be used on your iPhone :)


Reset Administrator Password on a Mac / Apple Mac

October 7, 2010

Have tried this on a Tiger OS X

  • Reboot
  • Hold down Apple+S when you hear the chime
  • When you see the Aplle on screen, hit the power button once

You should see the text prompt now

Type:

  • mount -uw /
  • passwd
  • reboot

That’s it.
You should be able to log into the administrator user account with the new password you set now.

You keychain will probably be useless no unless you remember the password for that. I had connectivity issues, the airport would not connect to my wireless networks.

Once I deleted the login keychain, the network issues went away.

To delete the login keychain:

  • Open Applications/Utilities/Keychain Access
  • Click the Login keychain
  • Choose Edit -> Delete

iSync and Nokia 5310 XpressMusic

September 23, 2009

Just got one of these syncing for a colleague. Found nothing on the nokia site, tried their plugin for the 5320 – which didn’t work.
Then I tried this third party plugin, http://pyxx.org/nokia-5310-xpressmusic-isync-plugin/

Worked first time (had to close and restart iSync). Great job folks!


Dos2Unix type conversion on Mac OS

August 23, 2009

Converting the line ending of a file on your Mac from dos or windows format to Mac format is as simple as entering the following command in an iTerm terminal window.

tr '\r' '\n' file-with-mac-newline.txt

I spent quite a while looking for a dos2mac type program, expecting to find dos2unix for the mac, when I came across the tr command that does just what I wanted.


Mac : Open Terminal/iTerm here

August 19, 2009

Using Mac OS X and browsing the file system with ‘Finder’, I often want to open Terminal or iTerm and have the default path set to the current Finder folder.

Firstly Terminal. I found a script called ‘Open Terminal Here’ at http://jo.irisson.free.fr/?p=59

This seems to suffer from an issue where two windows are opened if Terminal was not already running.

Then I started using iTerm, it has a few more/different options than Terminal. For it I found a script ‘Open iTerm Here’ at http://snippets.dzone.com/posts/show/961

This seems to suffer from a similiar issue to above, where two tabs in a new iTerm window are opened if iTerm was not already running. I tried to modify it (my first apple script attempt) but managed only to get two windows open instead of a single window with two tabs.

Then I found an update to the Open iTerm Here script at http://www.danns.co.uk/node/226

This version successfully solves the issue of the two tabs. If you are a Terminal user, I imagine it should be easy to apply the patch to the Terminal Here script, or just use this script and have it invoke Terminal instead of iTerm.

Finally, to use the script  you then need to save it as an executable app. This is fairly straightforward:

  1. Open the Script Editor application
  2. Past in the source
  3. Save it
  4. Then chose save as
  5. Selected File Format of “Application”
  6. Save it again

You can now use QuickSilver or Silverlight to invoke the script.

However, I wanted to find out if I could add a button to Finder that could be clicked to run it. I eventually found out how to do this and here is how. You can simply drag the script .app file onto the top of the Finder application, and a button is created for it there.

So, when looking at a folder, just click the new button you created and a new iTerm is opened at the current path.

Lastly, I wanted to change the icon from the default. I wanted to use the iTerm icon. To do this, follow these steps to copy and paste the icon from the iTerm application:

  1. Go to Applications
  2. Navigate to iTerm
  3. Select the More Info… button
  4. Find your iTermHere.app and do the same
  5. Click the small icon at the top of the iTerm more info window and click cmd-c (apple-c, the shortcut to copy text)
  6. Click the small icon at the top of the iTermHere.app more info window and paste! (apple-v)

That’s it, you now have the script as an app, with a button in the Finder windows, and a nice iTerm icon.

Many thanks to all the folks involved in creating and refining these scripts I found, as linked to above.

Enjoy.


Follow

Get every new post delivered to your Inbox.