Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

View all volumes in the dock System
I'm pretty sure almost everyone has tried the trick of putting an alias of your hard drive(s) in the dock. However, this thread on the MacFixIt boards has a great tip from 'johnq' for putting one icon with all your drives (including removables) into just one dock icon. The process basically involves creating a symbolic link (from the terminal) to your /Volumes folder, and then making an alias of that symbolic link so that you can use a customized icon in the dock.

Head on over to MacFixIt and read all about it! Quite cool...
  Post a comment  •  Comments (3)  
  • Currently 2.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
[6,201 views]  View Printable Version
Detailed how-to on Tomcat and Apache Internet
I wrote a detailed account of how to set up Tomcat servlet container on MacOS X and how to integrate it with Apache. It includes instructions on building the elusive

I hope it is useful to folks!

[Editor: I haven't installed Tomcat on my machine, but just glancing at the page of instructions linked here shows them to be easy to follow and clearly written. Probably well worth the visit if you want to get Tomcat and Apache working happily in X.]
  Post a comment  •  Comments (5)  
  • Currently 3.00 / 5
  You rated: 3 / 5 (3 votes cast)
[4,611 views]  View Printable Version
Using a 'hosts' file Network
The /etc/hosts file by default is ignored by OS X. Though it is possible to import hosts into the "machines" directory (see tips here on macosxhints), there is also a way to configure lookupd so it consults /etc/hosts directly.

lookupd can use different agents to lookup hosts: e.g. DNSAgent which consults DNS, FFAgent which consults local files like /etc/hosts, and CacheAgent which will keep a local cache. The trick is to tell lookupd which agents to use in which order.

Read the rest of this article if you'd like the details on making OS X use your local hosts file before it uses the DNS servers.
read more (168 words)   Post a comment  •  Comments (7)  
  • Currently 3.67 / 5
  You rated: 2 / 5 (3 votes cast)
[26,076 views]  View Printable Version
Option-delete in Cocoa to erase previous word System
Dunno if this has been mentioned already but I just noticed that in Cocoa apps, hitting option+delete erases the word located to the left of the cursor.
  Post a comment  •  Comments (2)  
  • Currently 4.67 / 5
  You rated: 4 / 5 (3 votes cast)
[2,444 views]  View Printable Version
Saxon & Java Jars installation details System
Can anyone explain, please, how to install a java.jar on Mac OS X? I'd like to run the Saxon XML processor.
  Post a comment  •  Comments (4)  
  • Currently 2.33 / 5
  You rated: 2 / 5 (3 votes cast)
[7,284 views]  View Printable Version
Create a GUI Finder with root access Desktop
[Editor's note: I highly recommend that you do not use a root-enabled GUI Finder unless you really really know what you're doing. It's easy to do Very Bad Things to your system without truly intending to do so. With that warning, this is actually a fairly interesting trick. Use at your own risk, of course!]

I had to move around a bunch of files in the /usr directory and I really loathe using mv and cp in the CLI. It's so cumbersome! Of course, you can't drag-and-drop, because the user you're logged in as has no write privileges to /usr. There's a simple way around this, however.

Read the rest of this article if you're interested in creating a root-access Finder.
read more (270 words)   Post a comment  •  Comments (10)  
  • Currently 4.00 / 5
  You rated: 5 / 5 (5 votes cast)
[42,569 views]  View Printable Version
View nicely formatted 'man' pages UNIX
If you'd like to read the "man" pages (UNIX manual pages) in PDF mode, here's how to do it.

The following shell script displays high quality man pages using (or whichever PDF viewer the finder thinks to use):
set m=`man -w $1`
set c=`grog $m`
$c | ps2pdf - /tmp/$1.pdf
open /tmp/$1.pdf
Save the script in your personal bin directory, e.g. ~/bin/superman. Set execute permissions: chmod +x ~/bin/superman. And then superman ls will present nicely typeset man pages.

NOTE: In order for this to work, You'll need ghostscript installed for ps2pdf.
  Post a comment  •  Comments (7)  
  • Currently 2.33 / 5
  You rated: 1 / 5 (3 votes cast)
[6,019 views]  View Printable Version
Trashing prefs is still good advice System
OK, i know its been said in various ways on this site, but i'll say it again, as i found out today how similar OS9+ and OS X are. If something changes in your OS X enviroment, some configuration, the look of your desktop, your mailbox has suddenly added more boxes, folders are in the wrong place, or like me, all of your invisible files become visible, SCRAP THE PREFERENCES relative to the change.

if you're unsure if it's the preferences, then login as someone else and see if it stays the same, if it doesn't, its more than likely to be a prefence change, so dump it in the trash. you wont have to delete it, it wont work from the trash. after you RESTART, if the problem still hasn't changed, you can move it back (say yest to "replace new with old") no harm done. OS X isn't that different after all.

[Editor's note: I published a similar tip back in December, but it bears repeating. It's good advice, and you can find your user's preference files in your home directory, then in Library/Preferences]
  Post a comment  •  Comments (0)  
  • Currently 3.33 / 5
  You rated: 3 / 5 (3 votes cast)
[2,579 views]  View Printable Version
A hack to script system preferences System
Is there a way to script the system preferences? Specifically, I want to be able to have the monitor resolution change at login to suit each user's preference.
  Post a comment  •  Comments (2)  
  • Currently 2.25 / 5
  You rated: 1 / 5 (4 votes cast)
[6,411 views]  View Printable Version
Hotmal with IE 5.1 Preview release Apps
some people (including myself) have been having trouble with IE 5.1 and logging into hotmail. here is a workaround.

when you go to hotmail, go to the address bar and delete the part that says login, and type start/username that is whatever your username is. so if it was brodie then the whole address should look like this:
as long as it has cgi-bin/start/brodie at the end it doesnt really matter, this will give you a password/username prompt pop up. interestingly it remembers your username for the duration of your IE session.
  Post a comment  •  Comments (1)  
  • Currently 2.29 / 5
  You rated: 4 / 5 (7 votes cast)
[10,020 views]  View Printable Version