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

OS X GNU software packages UNIX
If you're looking for some of the more common GNU software programs pre-compiled in easy-to-use package installers, check out osxgnu.org for things such as Pine, Bash, Lynx, etc. If you don't have the developer tools installed, or simply want an easier way to get at some of the more common GNU packages, osxgnu.org seems like a good source.

Thanks to Beckie Pack of OnlyMacintosh for contributing this tip.
  Post a comment  •  Comments (0)  
  • Currently 4.00 / 5
  You rated: 4 / 5 (1 vote cast)
 
[2,831 views]  View Printable Version
OS X Server - Error with POST and CGIs? OS X Server
An contributor pointed me to a discussion on the Apple Discussion boards concering POST and CGI's on OS X Server. It appears that when the POST method is used on a web page, the contents of the variables that are "posted" are not sent to the CGI. Since the CGI is expecting input and receives none, it will not work correclty.

Check out the discussion if you're having trouble with POST functions and OS X Server...as of now, there are no solutions listed, but there is active conversation on the topic.
  Post a comment  •  Comments (0)  
  • Currently 1.75 / 5
  You rated: 4 / 5 (8 votes cast)
 
[2,348 views]  View Printable Version
Changing shortuct keys in 'Services' Apps
I was reading a thread in hear talking about a problem with Services ( Mail, Grab, OmniDictionary, etc. -- Oh yeah, don't forget Quake 3 Arena [1.29f] ), namely that you can't know which Service is going to get a key if they both have it defined for a shortcut.

I ran into this problem myself today. I downloaded OmniDictionary and InstantLinks, and they both define the same two keys for the same two options ( "Lookup in Dictionary" and "Open URL" ). I prefer OminDictionary's much more featured lookup ( InstantLinks just jumps to m-w.com ), but Instant had taken over the 'Command-=' key. I tried a number of experiments to see if I could control which Service got the key. I thought perhaps the "Install" order might have something to do with it, but no cigar ...

[Editor: If you're interested in changing the keys assigned to various system services (available under the "Program menu" in the menubar), read the rest of this article for the how-to ... it's fairly easy, and definitely a handy tip!]
read more (274 words)   Post a comment  •  Comments (5)  
  • Currently 3.50 / 5
  You rated: 4 / 5 (4 votes cast)
 
[5,665 views]  View Printable Version
Run shell scripts from GUI Apps
[Editor: Please see the comments; this is probably NOT the best way to do this!! Kill is fairly abrupt, and will end ALL terminal sessions. The comments have some alternative.]

This is one I've been trying to figure out for quite some time and finally managed to figure out so I thought that I'd share it with you.

I wanted to run a shell script from the GUI and have the Terminal close itself down at the end of the script. The only way I knew to do this was to use a modified version of the Dock Restart script from elsewhere on this site. i.e.

TERM=`ps aucx| grep Terminal | cut -d ' ' -f 4-5`
kill $TERM

but this would result in a "Application unexpectedly quit" error message. If you change the line "kill $TERM" to "kill -9 $TERM" the error message no longer appears. Simply add those lines at the end of your script to make the Terminal vanish when the script is complete.

So now to make a script executable from the GUI.
1) Type the script in your favourite plaintext editor, include the above script at the end.
2) from the terminal run "chmod +x Text.file" (Where Text.file is your files name)
3) In the Finder do a 'get info' on your text file and change the Application to Terminal.
4) Double click the file and voila a script that runs itself and then quits the terminal with no error.

I hope this helps a few people.
  Post a comment  •  Comments (8)  
  • Currently 3.00 / 5
  You rated: 1 / 5 (4 votes cast)
 
[7,079 views]  View Printable Version
Hide any program's dock icon Desktop
Thanks to the recent version of Launch Bar (IMHO the finest App Switcher+ I've ever had the pleasure to use), their instructions for hiding the icon in the Dock appears to work for any application:
In order to get rid of the dock icon, you must modify the file named 'Info.plist' inside the Application's package (i.e. Sherlock.app/Contents/Info.plist). Open this file in your favorite text editor and add the following section (if it's already present simply change the 0 to a 1 in the string tag:
[KEY]NSUIElement[/KEY]
[STRING]1[/STRING]
NOTE: I substituted the standard square brackets for the purposes of posting here; you must substitute the angle brackets when editing. So far I've hidden my Sherlock and System Preferences icons. With the System Prefs you will have to write-enable the 'Info.plist' file by changing the permissions in a Terminal window:
sudo chmod 464 /Applications/System Preferences.app/Contents/Info.plist
Enjoy!


Panther broken!
  Post a comment  •  Comments (29)  
  • Currently 3.17 / 5
  You rated: 2 / 5 (12 votes cast)
 
[158,206 views]  View Printable Version
Restore your dock pinning and orientation Apps
If you have enabled your dock to be moved to corners and sides (see Move and corner your dock), one of the small annoyances is that the pinning and orientation revert to bottom middle after a logout or restart.

I noticed this morning that Frank Vercruesse has released DockLock 1.0, which exists solely to restore your preferred dock pinning and orientation settings automatically.

Until Apple decides whether to officially support pinning and orientation, this seems like the best solution for those that prefer their dock in positions other than bottom middle. I tested it, and it does exactly what it claims to do.
  Post a comment  •  Comments (2)  
  • Currently 3.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[5,589 views]  View Printable Version
Partial control of apps in the background Desktop
I just noticed that it is not only possible to move background windows by pressing the Command (Apple) key and move it with the mouse, but you also can partially control them. For instance, it is possible to disconnect your dial-up internet connection without bringing the InternetConnect app to the foreground, by command clicking the disconnect button.

I don't really know the use for this, but thought I share it anyway...I also noticed that it doesn't work in all apps, it seems to work only in Cocoa apps

Marcelv
  Post a comment  •  Comments (5)  
  • Currently 3.00 / 5
  You rated: 3 / 5 (3 votes cast)
 
[3,022 views]  View Printable Version
Install the latest Analog web tracking program UNIX
[Editor: If you run a webserver on your OS X box, you might want to take a look at Analog, one of the better and more widely used weblog analyzers. Read the rest of this article if you'd like the detailed step-by-step instructions needed to get it running on OS X. You'll need to have the developer tools installed, and should be comfortable working in the terminal window before you try this install (it's not overly complicated, but it does involve editing and compiling UNIX source files).

Thanks to Commet for contributing this how-to. -rob.]
read more (378 words)   Post a comment  •  Comments (1)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[4,881 views]  View Printable Version
Move items from one drive to another Desktop
Most everyone knows that if you option-drag an object in the Finder, you'll make a copy of it. And if you command-option drag an object, you'll create an alias. Both of those actions work the same way in OS 9 as they do in OS X.

However, in OS 9, there's no easy way to move an item from one volume to another. You first copy it, then remove it from the source. In OS X, however, if you hold down the command key while dragging from one drive to the other, you'll actually move the object in question. The progress bar (if it shows up - move something BIG) actually says "Moving" instead of "Copying", even though the window title still says "Copying".

Thanks to 'dcipjr' on the MacWorld Operating Systems forum for discovering this very cool tip!
  Post a comment  •  Comments (0)  
  • Currently 3.67 / 5
  You rated: 4 / 5 (3 votes cast)
 
[2,984 views]  View Printable Version
Scott Adams' Adventures Apps
Another trip down nostalagia lane! If you enjoyed the article on playing Zork on OS X, you may also be interested in playing the Scott Adams' Adventures on your OS X box.

These were text-based adventure games written for a number of early computing platforms, including the Apple ][. You can read more about Scott Adams and his adventures on his home page. As I recall, there were about a dozen or so, all using the same basic two-word parser and featuring some good puzzles.

Over on the MacFixit boards, CapVideo has posted an explanation on how to run Scott's adventure programs under Mac OS X. If you're interested, check out the Scott Adams' Adventures thread for the details. You'll need the Developer Tools installed, and should be relatively comfortable with the command line.

I wasted a number of hours on Scott's adventures in my Apple ][ days; I can't wait to try these out this weekend!
  Post a comment  •  Comments (0)  
  • Currently 3.75 / 5
  You rated: 5 / 5 (4 votes cast)
 
[5,535 views]  View Printable Version