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

Hierarchical menus from a folder alias in the dock Desktop
A hierarchical menu will not work for an alias to a folder in a Dock folder if it is created by the contextual menu 'Make alias' command. This must be done [for now] from the command line:
ln -s [path/to/linked/directory] [name of Alias]
-- creating a seamless menu to that aliased folder within a pop-up menu from the dock:)

A related tip: Find the folder you wish to alias in the finder window and drag it onto the terminal window to copy the full path.

I've placed my Apps and Home on the Dock with symbolically linked folders to my Classic Documents and Apps folders (which is much tidier than intermingling and copying over to my OS X native partitions.) One could also create a "Favorites" pop-up in the same way ...

I know credit is due somewhere else, but I can't find the reference anywhere - so I felt compelled to share. Hope this makes your navigation that much better, easier.
  Post a comment  •  Comments (5)  
  • Currently 1.75 / 5
  You rated: 1 / 5 (4 votes cast)
 
[4,790 views]  View Printable Version
jEdit in v10.0 Apps
I tried to install jEdit on my shiny new OS X v10.0 the other day, and noticed that it failed to install properly. It simply created a folder. So I headed over to Krisko's web page to see what was up -- he did the jEdit port for OS X. There's a not-too-encouraging message on his homepage:

"Looks like Java is pretty much broken under the final version of MacOS X. Lets hope they do something about it soon so jEdit works they way it should."

However, from the comments posted to this original story, there is a solution! 'Mojo' created a package from the latest preview release, and it works perfectly! Download it from his iDisk, linked in the Favorite Apps box on the left edge of the page.
  Post a comment  •  Comments (4)  
  • Currently 3.00 / 5
  You rated: 5 / 5 (8 votes cast)
 
[2,281 views]  View Printable Version
Building mySQL for OS X v10.0 UNIX
mySQL is a free SQL database program that can work in conjunction with PHP (see PHP hint elsewhere here) to create dynamically generated web sites, such as this one. It's important to me, as I use mySQL and PHP locally to test new elements for this site, and it was getting to be a pain booting back to the Public Beta every time I had to work on something. I tried running the mySQL installer package from the PB, but it failed (not sure why). So I'd been waiting on a new installer package, to make things easy. Last night, I got tired of waiting :-).

I received an email stating that a new binary package was available on the iDisk of 'skribble', so I went and checked it out. Go to www.mac.com, click on the iDisk tab, sign on with your ID, and then enter 'skribble' in the box for "Open Public Folder" section to mount that folder. You'll see the binary for mySQL. I downloaded this and installed it, but couldn't quite get it running - but it may have been user error. It did not install the 'var' directory, where mySQL keeps the databases. You may have better luck than I, so it might be worth a shot.

After a few minutes of mucking around with it (without success), I "rm"ed the mysql directory, and decided to go straight to the source (literally), and grabbed the files from mysql.com to try and build it myself. I was successful, and now have a fully functional PHP 4.04 and mySQL 3.23.36 installation on my OS X machine! Read the rest of the article if you'd like instructions on how to build it yourself -- it's really not that hard!
read more (642 words)   Post a comment  •  Comments (15)  
  • Currently 2.25 / 5
  You rated: 2 / 5 (8 votes cast)
 
[5,453 views]  View Printable Version
Tweaking the Apple menu System
There's an interesting discussion in this MacNN forum about replacing the "Buy Mac OS X Software" menu item in the new Apple menu with something of your own design.

With some (relatively) simple editing, you can insert your own command to replace the one Apple has provided.

Personally, I haven't missed the Apple menu at all, but I know some people find it essential. Although this is far from the return of the OS 9 Apple Menu, it's interesting if you'd like to know more about customizing your system.
  Post a comment  •  Comments (0)  
  • Currently 2.20 / 5
  You rated: 4 / 5 (5 votes cast)
 
[2,155 views]  View Printable Version
Using NetInfo as replacement for /etc/hosts Network
I've been searching the net now since installing OSX Final for a way to use my hosts file in my /etc folder like I do under Linux for developing websites (i.e. in the hosts file I create "127.0.0.1 somesite.me" and then use apache and http headers so that somesite.me in a browser returns a locally created website).

Looking in the /etc/hosts file you are told that the file isn't consulted unless you change your lookupd configuration. Lookupd is handled by NetInfo. And hence my problem: I had no idea how to change the order in NetInfo to look at the flat file /etc/hosts before going to DNS.

Read the rest of this article if you'd like more info on using NetInfo as at hosts file...
read more (164 words)   Post a comment  •  Comments (10)  
  • Currently 3.00 / 5
  You rated: 3 / 5 (8 votes cast)
 
[33,586 views]  View Printable Version
DHCP and auto-login System
My computer is on DSL behind a router that uses DHCP. The connection was dropped this morning and Mac OS X's DHCP did not log back and in and get the new information from the router. I had to change the Network preferences to BootP, close the panel, and then return and select DHCP again. OS X logged back in to the router.

Is there any way to make DHCP log back in automatically?
  Post a comment  •  Comments (9)  
  • Currently 2.86 / 5
  You rated: 5 / 5 (7 votes cast)
 
[5,617 views]  View Printable Version
Running terminal commands from the GUI UNIX
[Editor's note: See the comments for a discussion on a number of alternative methods to making this work]

I have a number of apps/scripts that I've built that can only be launched from the command line. Is there any way to either:

A) Make these double-clickable for launching

-or-

B) Create a simple app that basically executes the same commands I would type in the terminal window

For example, I have a bulletin-board client that I run locally. At present, the only way to run it is to either type the full path to it, put a link to it in a bin folder, or be in the same folder and type ./bbs . What I really want is an icon that I can double click which will open a terminal window and execute a file in a given path.
  Post a comment  •  Comments (5)  
  • Currently 5.00 / 5
  You rated: 5 / 5 (3 votes cast)
 
[7,485 views]  View Printable Version
iBook crash from sleep System
If I plug in my mouse while the iBook is sleeping (lid closed) when I wake it my screen comes up for a few seconds and then goes dead. Nothing will wake it, except a complete cold reboot. Also my freshly charged battery went totally flat. This happened twice with 2 different batteries before I realized what was happening. The same crash occurs with the power plugged in except the battery appears unaffected (as expected). I am posting this to Apple but thought I should warn everyone as it can stop you dead if power isn't handy.

Mike
  Post a comment  •  Comments (4)  
  • Currently 2.33 / 5
  You rated: 1 / 5 (6 votes cast)
 
[4,914 views]  View Printable Version
Getting information on disk usage System
User 'pata' writes: "Hello, does anyone know of a way to find the hard disk size and available space short of doing a df -k from the command prompt? Apple, in their infinite wisdom, removed this from the Get Info dialog of a Drive on the Desktop?"

It certainly appears that way. If you do Get Info on a desktop drive icon, you get fairly basic information on kind, where, created, modified, and format, but not on size or usage.

However, if you simply click on that same disk icon, but in a Finder window, the Get Info window changes (on the fly, I love that!) to add Capacity, Available, and Used. So it's still there, but not for drives on the desktop, just for drives in Finder windows.
  Post a comment  •  Comments (2)  
  • Currently 2.40 / 5
  You rated: 3 / 5 (5 votes cast)
 
[3,349 views]  View Printable Version
Make the Finder remember your window prefs Desktop
Saw this one somewhere today, and it's a good one. The Finder doesn't seem to remember that I prefer column view with about seven columns showing. I set my window that way, navigate around, close it, open a new one, and I get icon view again ... a little frustrating! Turns out there is a way to get it to remember the settings.

Close all your finder windows, open a new window, set it the way you like it (column view, icon view, width, height, whatever). Now close that window before you do anything in it. From now on, all your new Finder windows will open with those characteristics. I'm not sure whether this is a bug or a feature, as it sometimes seems inconsistent about remembering.
  Post a comment  •  Comments (3)  
  • Currently 3.25 / 5
  You rated: 5 / 5 (4 votes cast)
 
[4,515 views]  View Printable Version