Check the PATH of your Mac with echo $PATH

Aug 31, 2010 - 1 Comment

terminal Anytime that you run a command through the Terminal directly by a command name like ls or dscacheutil, your Mac is looking through a series of directories for that command to exist. This list of directories is called the PATH, and it’s a carry over from the unix underpinnings of Mac OS X.

As you may have guessed, checking your PATH in Mac OS X is the same as it is in most other unix variants, so if you come from a linux or unix background you can use the same syntax to check the path and see what directories are included in the currently active path of the shell.

To check this, you just need to use the echo command at the terminal prompt like the following:

echo $PATH

Executing that command successfully will result in seeing something like the following:

$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

The directories listed are those that are searched for commands. So the next time someone asks you if a directory is in your path, now you know where to look and how to find out.

Terminal in OS X

This can also be helpful when troubleshooting commands not being found and other related error messages to command execution, because if a bin path is not listed then it may need to be added before the shell will know where to look to execute the command in question.

By Manish Patel - Command Line, Mac OS - 1 Comment

Use Hotmail on the iPhone

Aug 30, 2010 - 97 Comments

hotmail iphone If you use a Hotmail account, you’ll be happy to hear that you can now use your Hotmail account on your iPhone thanks to Microsoft enabling Exchange ActiveSync support. This allows Hotmail to push and sync email, calendar, and contacts to your iPhone.

Set up Hotmail on the iPhone

Here are the steps to setup Hotmail to sync and push to your iPhone (this works on the iPad too):

  • Launch Settings
  • Tap on “Mail, Contacts, Calendar”
  • Tap onto “Add Account”
  • Select “Microsoft Exchange”
  • Enter your full Hotmail email address into both the Email and Username fields
  • Leave Domain blank
  • Enter your password
  • Enter “Hotmail” as the Description
  • Tap onto “Next”
  • Now you must enter the server, use “m.hotmail.com” for the Server name then tap onto “Next”
  • The iPhone will now verify that your Hotmail information is entered correctly, the next screen you’ll be able to enable Mail, Contacts, and Calendars

Hotmail is the original web mail, so it’s not surprise there’s still millions of hotmail accounts still in use today despite the competing offers from Google, Yahoo, and others. It’s a bit surprising it took Microsoft this long to get Hotmail working with the iPhone, but better late than never.

By Manish Patel - How to, iPhone - 97 Comments

How to Repair MP3’s

Aug 30, 2010 - 3 Comments

repair mp3 If you have MP3’s that are skipping, sounding weird, or that a media player like iTunes won’t open, sometimes you just need to run them through an MP3 validator app to check and repair the files. A great free MP3 checker is called MP3 Scan+Repair, it’s got an easy drag and drop interface that will repair MP3’s quickly.

Read more »

By William Pearson - Tips & Tricks, Troubleshooting - 3 Comments

Change the Expose Highlight Glow Color on Mac

Aug 30, 2010 - 6 Comments

change expose outline glow

Expose is one of the most useful features of Mac OS X and it looks great too. Well, except for the window glow color, which a lot of people aren’t particularly thrilled with.

You can replace the bright neon blue hover glow with any other color simply by editing and replacing some PNG files.

Read more »

By Paul Horowitz - Customize, Mac OS - 6 Comments

How to publish an iBook to the Apple iBookstore

Aug 29, 2010 - 32 Comments

publish on apple ibooks store Apple and Amazon are rapidly changing the way books are consumed and read thanks to the iPhone & iPad and Kindle. The other effect of this is that it’s actually helping to ease the barriers to entry into the book publishing and sales market.

In the past an author would need to have an agent pitch books to publishers in the hopes it might get picked up, but not anymore. Now if you have a Mac and a word processor and a bit of patience, you can create your own book in the EPUB format and upload it directly to the iTunes iBookstore for sales.

OK well it’s not quite that simple (yet), but it’s not that difficult either. Just jump through a few hoops and you can get your book for sale on Apple’s online bookstore ready to be downloaded by anyone who owns an iPad or iPhone, here’s how:

Write and Publish a Book to the Apple iBook Store

First, some relatively simple requirements: you’ll need an Intel Mac running 10.5 or newer with adequate hard disk space and preferably a high speed internet connection.

  1. Write the book (obvious) and get it into the iBooks compatible EPUB format (see below, it is easy to take a file and convert to EPUB format)
  2. Get a unique ISBN number for each book title you plan to release. Cost is $25 per ISBN and you can fill out an ISBN application here
  3. Get the following ready: a US tax ID (social security number or EIN), valid iTunes account with credit card on file
  4. When all of the above is met, you can apply to be part of the iBookstore distribution network at Apple.com

How do I create an ebook in the EPUB format?

Almost any text containing document format can be converted into EPUB ebook format and there are multiple free software options available to do this. If you would like a walkthrough check out our guide on how to convert to EPUB. It covers most major source file types you’d want to convert including PDF, RTF, HTML, DOC, TXT, and more.

Thanks to a recent software update, you can also create an ePub with Pages if you already own the iWork office productivity suite from Apple.

If you’re looking for a free solution that doesn’t involve iWork/Pages and you don’t need help, just go ahead and download Calibre, it is a good choice because it will automatically create book structures like chapters, table of contents, and allow you to insert book metadata. Oh, and it’s free (open source is nice). The interface is a little strange but it gets the job done and for the wonderful price of free, we can’t complain too much.

Can I convert an existing text or word file to EPUB?

Yes, you will need to download a program that handles the ebook conversion for you. There are many free options, see above or refer to our article on how to convert to EPUB.

Can anyone help me sell my book on Apple’s iBookstore?

Yes, there are several companies that will handle many of the complexities of selling on the iBookstore for you, but you’ll still need your book ready in the EPUB format. The best way to do this is to use an Apple approved iBookstore aggregator, Apple conveniently provides a list of approved aggregators for the iBookStore. Most of these charge an upfront fee and then handle all the distribution services for you, in many cases you’ll then receive 100% of the revenue of book sales after Apple takes their iTunes Store cut. Prices vary widely so be sure to get a few quotes before agreeing to a single aggregator.

By Manish Patel - How to, iPad, iPhone - 32 Comments

Mac Setups: MacBook Pro with 24″ external monitor and a PC

Aug 28, 2010 - 1 Comment

pstam_desk_3

This is the old setup of Paul Stamatiou which includes a MacBook Pro 17″, and two 24″ monitors, one hooked up to the MacBook Pro and the other hooked up to a Windows 7 PC. I might be wrong but the speakers look a lot like the amazing sounding AudioEngine A5 series. Looking pretty sweet!

By William Pearson - Mac Setups - 1 Comment

Download Netflix for iPhone

Aug 27, 2010 - Leave a Comment

netflix iphone The long awaited Netflix app for iPhone is finally here. It’s a free download and you can sign up for a free trial membership to watch movies, but to really enjoy the perks of Netflix you’ll need to sign up for a membership which runs about $9/month.

As expected you can manager your queue and other essential Netflix tasks, but the app is especially cool because it will remember where you left a movie off, allowing you to resume watching it later from your TV, computer, or even iPad. I am a complete Netflix addict so it’s great to finally have it on the iPhone in addition to the iPad (the app also runs on the iPod touch).

You can grab Netflix for iPhone from the iTunes app store, no surprise but it is currently the #1 app on the App Store.

netflix for iphone

By William Pearson - iPhone, News - Leave a Comment

Download Android OS to run in a Virtual Machine

Aug 27, 2010 - 16 Comments

android virtual machine

If you want to check out Android OS, you can download and run a pre-configured Android OS Virtual Appliance installation within VirtualBox. You’ll need a torrent client to download the virtual machine itself, and of course Virtualbox to run it.

You can download Android OS VM here and get VirtualBox here, both are free downloads.

The Android VM was configured for an Eee-PC but runs fine inside of the VirtualBox environment. Running Android OS in a virtual machine is really helpful for anyone who wants to get their feet wet with Android development but doesn’t have an Android capable phone handy (and I’m not about to install Android on my iPhone), and it’s also nice to just play around with if you don’t have much experience with Android software.

By David Mendez - Development, Tips & Tricks - 16 Comments

Print a random tweet from the command line

Aug 27, 2010 - Leave a Comment

Twitter icon

By pasting the following small function into your .profile, you’ll be able to print random tweets from any Twitter feed:

Read more »

How to Set Photo Booth to Flip Images on Mac

Aug 27, 2010 - 6 Comments

Photo Booth on Mac

Photo Booth on the Mac defaults to flipping your images horizontally, this happens automatically without any user input and without it being noticed, it’s just how the camera within Photo Booth displays pictures, making it function more like a mirror rather than a traditional camera.

If you don’t images to flip like that, you can make an adjustment through the settings that will cause Photo Booth to show camera images on screen as if they were being seen from another person, rather than being flipped.

Read more »

By Paul Horowitz - Mac OS, Tips & Tricks - 6 Comments

Create an ePub on your Mac with iWork Pages

Aug 26, 2010 - 4 Comments

You can now create ePub ebook files directly within Apple software thanks to a recent iWork update to the Pages app for Mac. The iWork update brings Pages to a version which includes functionality to export documents as ePub format, it’s easy to do.

Read more »

By Manish Patel - Mac OS - 4 Comments

Download Audio Tracks from Web Video Easily with Evom for Mac

Aug 26, 2010 - 8 Comments

download web audio tracks and songs

Evom is a great free Mac app that converts video to audio tracks and lets you easily download the audio of flash movies from the web to your Mac. The interface is nice and simple, you can just drag a URL or file into the app and the video will download and convert for you, giving you local file system access to the audio of a source video. One common use for tools like this is turning interesting web videos into audio tracks and podcasts, like a conference talk for example, but you can imagine other use-cases as well. Now that’s exactly what I think is perhaps the best part about this app; you can easily download video and just save the audio track as an mp3 file, letting you play it in iTunes on a Mac or PC, or copy it over to an iPhone or iPad for listening in the Music app. This is great for the aforementioned conference talk example, an interesting video, or even something like an audio lesson that you enjoy but you can’t track it down otherwise.

Read more »

By William Pearson - Mac OS, Utilities - 8 Comments

Show Line Numbers in TextWrangler

Aug 26, 2010 - 2 Comments

line numbers textwrangler

Line numbers are so useful to have in a good text editor that I’m surprised they aren’t enabled by default in TextWrangler. Regardless, they’re easy to display so here are two different ways to show line numbers in a text file. The first is through the View menu:

  • In TextWrangler, open the View Menu
  • Navigate to the “Text Display” submenu
  • Select “Show Line Numbers

show line numbers textwrangler
Change take effect immediately and you can hide the line numbers by just selecting the option again. You can also set the line numbers within the TextWrangler preferences:
Read more »

By Manish Patel - How to, Mac OS, Tips & Tricks - 2 Comments

Apple special event on September 1

Aug 25, 2010 - 1 Comment

apple event

Apple has scheduled an event for next week at the Yerba Buena Center for the Arts Theater in San Francisco, California. What’s the occasion? Nobody knows for sure but given the image they provided with the press release (shown above) you can expect it to be about the iPod and iTunes. Recent hardware leaks suggest their will be a new iPod touch released at the event that will have features similar to the iPhone 4, including a higher resolution screen and dual cameras for FaceTime video chat.

The rumor mill also suggests that the upcoming Apple event will be used to unleash a revised AppleTV with access to the App Store and TV show rentals, at least according to a recent Bloomberg article:

[TV] Episodes will be available to Apple’s rental service within 24 hours of their air dates and will be commercial-free, one of the people said. Apple plans to hold a San Francisco event Sept. 1, the company said today in an e-mailed statement. The event, which comes three weeks ahead of the new prime-time TV season, is where Apple will unveil the service and an updated line of entertainment products…

September 1 certainly looks to be an interesting day.

By Manish Patel - News - 1 Comment

Mouse Acceleration on a Mac – What it is and How to Adjust or Disable it

Aug 25, 2010 - 24 Comments

mac mouse acceleration What is mouse acceleration?
Mouse acceleration is something most Mac users don’t think twice about, many aren’t aware it even exists. By default the mouse drivers count the movement of your mouse and depending on your sensitivity settings, the cursor will then move across the screen by a similar and consistent distance. Mouse acceleration is basically a threshold setting on top of this, so when the mouse is moved past a certain point or at a certain speed, the cursor itself moves more quickly and goes further, thus accelerating the movement speed and rate of the mouse cursor.

Read more »

By Manish Patel - Mac OS, Tips & Tricks - 24 Comments

The most elegant way to identify & analyze disk space usage in Mac OS X

Aug 25, 2010 - 9 Comments

daisydisk analyze disk space usage DaisyDisk is a beautiful application that gives you an excellent breakdown of disk space usage on your Mac’s hard drives. Using DaisyDisk is about as easy as it gets, you select the drive you want to scan, let it run, and wait a minute or two until a great looking interactive graphic is presented to you. The larger the blocks, the larger the contents combined file size. Hovering over the blocks lets you see live information on what exactly they are, and you can then right-click on the graphic to show the contents in the Finder.

With DaisyDisk I was able to identify 4.3GB of Podcasts that I haven’t listened to in about two years… that’s 4.3 precious gigabytes of my MacBook’s hard drive! Anytime I’ve cleaned up disk space on my Mac before I generally just leave the iTunes directory alone because I don’t want to delete any music, but what’s the point in keeping ancient podcasts about topics that are no longer even relevant? This is something I totally overlooked with just manual folder size inspections, but it stood out like a sore thumb in DaisyDisk. Honestly I’m a bit confused as to why Apple doesn’t integrate something like this directly into their own Disk Utility, it’s that useful, plus the interface and snappiness feels right at home in Mac OS X.

I am pleased to say that DaisyDisk has a nice comfortable home in my /Applications/Utilities/ folder and I’ll be using it again very soon for some much needed Spring Cleaning.

You can download a free demo of DaisyDisk, otherwise the retail version is $19.95 and available at DaisyDiskApp.com

Update: Check out the comments below for some similar but free suggestions from our users.

daisydisk screenshot

By David Mendez - Utilities - 9 Comments

Mac OS X Security Update released for download

Aug 24, 2010 - 1 Comment

mac os x security update Fire up Software Update, Apple has released a security update for Mac OS X. Several potential exploits are patched in the update, one of them looks similar to the PDF exploit that was used for the web based easy iPhone jailbreak that was patched with iOS 4.0.2. Who knew that Mac OS X and iOS shared some of the same vulnerabilities? Other security issues fixed involve PHP, Samba, libsecurity, CoreGraphics, ClamAV, CFNetwork, and ATS.

As usual, the security update requires a system reboot.

By Paul Horowitz - Mac OS, System Update - 1 Comment

MacBook Pro 13″ gets dropped at 195mph… but wait it still boots!

Aug 24, 2010 - 29 Comments

broken macbook pro

Here’s a Mac heartbreaker: a motorcycle enthusiast went for a ride carrying his MacBook Pro 13″ in a backpack, unfortunately the zipper holding the MacBook Pro in place failed going a reported 195mph (315km/h)!
Read more »

By Paul Horowitz - Fun, Mac - 29 Comments

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site