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

Show rulers in TextEdit Apps
I just discovered this. Command-R shows a MacWrite like ruler in TextEdit. I looked for help on this topic but found nothing. Don't know how to make the different tab types work but the added functionality is a welcome discovery.

[Editor's note: I'd overlooked this one myself, as I usually use TextEdit in plain text mode. To enable the rulers, you must first make sure you're in Rich Text mode (Edit -> Make Rich Text). Once you've done that, you can, indeed, show the rulers.]
  Post a comment  •  Comments (3)  
  • Currently 1.75 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[4,541 views] Email Article To a Friend View Printable Version
SETI script and the Console app UNIX
I run the SETI@home command line program on both cpus in my OSX box. After doing this for many months I finally got sick of seeing their terminal icons in the dock, so decided to run SETI in the background and not tie up a terminal (or two) to monitor SETI output.

Read the rest of this article for an excellent tutorial on how to set up Seti to run without requiring a terminal window...
read more (169 words)   Post a comment  •  Comments (3)  
  • Currently 4.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[3,819 views] Email Article To a Friend View Printable Version
Use an unsupported burner in iTunes Apps
(this trick has been around for OS 9.1 before, but I adapted it for OS X)

If you have a CD burner similar to one supported by Apple (for instance a MATSHITA CD-RW CW-7585 which is the same as the CD-RW CW-7586, apart from the maximum cache RAM), it's very easy to have it seen by iTunes 1.1.1.

First log in as root. Then go to:
/System/Library/PrivateFrameworks/DiscRecording.framework/
Versions/A/Resources/DevicePlugIns


[Editor: Broken onto two lines for narrower width; enter as one path]

and find the plugin for you CD burner maker (here "MatshitaCDR.device-plugin"). Make a copy of the file for safety. Then open the file with an hex editor and locate the string with the supported CD burner ID (here "CD-RW CW-7586"). Change it for your CD burner ID ("CD-RW CW-7585"). Save the file. Reboot and you're done!

Cram
  Post a comment  •  Comments (13)  
  • Currently 2.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[19,171 views] Email Article To a Friend View Printable Version
Reveal document path with command click Desktop
I haven't seen this mentioned anywhere, but document title bars in OS X apps (at least the few I've tested like TextEdit and Graphic Converter) behave like the title bars for OS 9 folders when you command-click on them.

Namely, if you command-click on the title of the document, it turns into a menu showing the location of the file (parent folder, then its parent, etc. all the way to the drive it's on). Selecting a folder or drive from the menu opens that folder in the Finder. Note, you have to click on the center of the title bar where the text of the title is.

Similarly, clicking and holding the document icon in the title bar let's you do things like move the file (by dragging it to folder), or open it with another application (by dragging it over an application in the dock or Finder). It doesn't appear that you can use this to move a document to the trash however (moving an active document to the trash would be an odd thing to do usually).

[Editor: Note that this is default behavior for Cocoa apps such as TextEdit. In OS 9 (and hence, Carbon apps), it's my understanding that it was possible to have this behavior, but it was not enabled by default. So you may or may not see it in Classic and Carbon apps.]

Kirke Lawton

(Love this site, BTW. Hope this tip helps someone. To me it's one of those "little things" that is so cool about the Mac way.)
  Post a comment  •  Comments (1)  
  • Currently 3.40 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (5 votes cast)
 
[5,965 views] Email Article To a Friend View Printable Version
Use the terminal to login as another user System
This may seem basic and stupid but it sure helped me out... I have too keep several of my X boxes logged in as a normal user because they are public machines. However I found that whenever I needed to do anything that calls for admin access (ie prebinding), I had to log out and log back in, which is not very convinient.

So I tried typing login in a terminal window and it let me login to terminal as an admin so that I could run the prebinding comand. Handy or not it is cool to know!

[Editor's note: Definitely handy if you login as a non-admin user at times, and want quick access to the admin account!]
  Post a comment  •  Comments (6)  
  • Currently 2.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[22,063 views] Email Article To a Friend View Printable Version
macosxhints turns 0.5! Site News
It only seems fitting with the 500th posting to the site to mark the passing of the six-month anniversary (as of today!) of macosxhints. In that time, the response has been tremendous - we now have nearly 2,000 registered users, roughly 100,000 page views per month, and somewhere around 20gb of monthly data transfer! Wow.

A big thank-you to everyone who has contributed their tips and comments to the system, and a very heartfelt THANKS! to all those who have donated to the ongoing costs of the site.

I'm still looking for a new hosting provider, and have one or two potentials with whom I'm trying to finalize the arrangements. Once the move is done, I'm going to add a true tech support forum board to the site - that's the number one project on my to-do list.

Again, thanks to everyone for reading and contributing their knowledge over the last six months. I've learned more about OS X, UNIX, and Macs than I ever would have guessed possible in that short time frame, thanks to the macosxhints community. I can't wait to see what the next six months brings!

-rob griffiths
  Post a comment  •  Comments (3)  
  • Currently 1.80 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (5 votes cast)
 
[2,412 views] Email Article To a Friend View Printable Version
Get your IP number from the terminal Internet
[Editor: Revised completely to reflect the tips added to the comments - thanks everyone!]

If you have a dynamic IP address (one that changes every time you connect to the net), there are a number of GUI tools that will display it for you. However, if you want to be able to get your IP number from a terminal session, the following appears to be the easiest way. The command uses 'wget' to read the contents of a web page that returns your IP address as seen by the external web server, and then processes the web page to extract the IP. The command to type is:

wget -q -O /dev/stdout http://tools.lyceum.net/network/showmyip |[space]
  grep '<H1>' | sed 's|</*H1>||g'


NOTE: Shown on two lines for a narrower window; enter on one line and replace [space] with an actual "space" character.

You'll get a single line containing your external IP address. Note that this will only continue to work as long as tools.lyceum.net doesn't change the format of their web page! Thanks to everyone (see the comments) who contributed to the development of this tip.

Read the rest of this article for an explanation of how it works, and a way to make an easy to use "alias" that will make it as simple as typing "showmyip" or whatever you'd like to call it.
read more (273 words)   Post a comment  •  Comments (20)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[18,149 views] Email Article To a Friend View Printable Version
Ejecting a 'busy' disk image System
While playing around with some of the latest OS X releases tonight, I managed to mount a disk image (for an image viewer called "Outlaw", which is pretty cool, BTW, for its instant infinite scaling) which simply would not eject. When I tried, I got a message stating that the image couldn't be ejected because it was in use. I knew this wasn't the case, as I had quit Outlaw and pretty much everything else except OmniWeb. To debug and solve the problem, I opened a new terminal window and typed:

fstat | grep "Outlaw"

fstat is a file status program which identifies open files, and then the pipe (vertical bar) passes the output of fstat to grep, the UNIX search program. I asked grep to find the word "Outlaw", which was part of the disk image name. The output of the command was:

robg TruBlueEnv 804 11 19 drwxrwxrwx 264 r /Volumes/Outlaw-0.1b1

TruBlueEnv is Classic, which somehow had the image file open -- even though I had no Classic apps running! At that point, I returned to the GUI, opened System Prefs and stopped Classic. I could then eject the disk as usual from the contextual menu.

So if you've got a stuck image file, take a look at fstat with a search on part of the volume name (to shorten the returned list!) to find what's making your volume busy. NOTE: There may be easier ways to do this (UNIX wizards, any thoughts?) but this was the first one that came to mind when I was faced with the problem.
  Post a comment  •  Comments (10)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[18,755 views] Email Article To a Friend View Printable Version
Column view keyboard navigation Desktop
An interesting thing I found: let's say you're about at the 4th level of your hard drive -- /users/you/documents/stuff/.

If you use the tab (and shift-tab) key when the Finder window is active, it will go through each active folder in your filepath forward (and backward) and essentially flip through all the columns you have. NOTE: It takes one extra "tab" to get back to the top level of the drive, as the tab prior to the last one seems to take you to the column containing the preview.

This is different than using the left/right arrow keys, which actively move your selection; the tab key simply changes the highlight column.

Once the column of your choosing is highlighted (the highlight is on the folder that contains your furtherest-right window), you can use the up and down arrow keys to move down into other folders within that column.

[Editor - Tip from Gorgonzola; modified by yours truly as I experimented with it. Pretty nifty way to navigate the finder, actually!]
  Post a comment  •  Comments (3)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[2,649 views] Email Article To a Friend View Printable Version
Remove zoom rects in the Finder Desktop
When you open a program you usually see zoom rectangles zoom out to the edge of the screen. This Mac OS feature is old and outdated. If you want to get rid of these open your "preferences" folder from "library" (the path is /Users/your_username/Library/Preferences).

Open "com.apple.finder.plist" with TextEdit and scroll down until you see ZoomRects with true below it (or something like that). Change "true" to "false" and save your changes. No more zoom rects!

[Editor's note: Good tip, and I believe TinkerTool and a couple of the other GUI tools let you do this without an edit...]


Panther proven!
  Post a comment  •  Comments (4)  
  • Currently 2.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[4,236 views] Email Article To a Friend View Printable Version