[Editor's note: I can't believe I never published anything about this before, but it appears that it's only been mentioned in comments. So now it's a full-fledged hint, thanks to Dan M, who submitted the following.]
After reading over some hints on this site, I've noticed that many direct you to open the XML plists (property lists) in a text editor and work from there. I very recently discovered that this is not necessary in many cases.
If you install the Developer Tools, one application that is included is called "PropertyListEditor". If you simply double click on the property list you wish to edit, it should open in ProperyListEditor, and it provides a very simple means for editing your plists. (If it doesn't open, the editor is in /Developer/Applications)
One help article I read on this site described how to go through the complex (painful) process of removing the preview from the column view of the Finder windows. I managed to do the same thing, without all the complexities (i.e. I opened the Finder's plist, went down to the column view prefs, and changed the 'Preview' boolean from 'yes' to 'no'. Logged out then in, and VOILA! no preview), and I did it in UNDER 30 SECONDS.
I think that this will have a drastic impact on the way I customize my system, and I hope it makes your world a little easier, too.
I don't remember seeing this app mentioned here and I think many might find it really useful. It is a java based application for connecting to a Windows Terminal server. Make sure you download the "for unix" version without Java VM, it contains only one file install.bin, execute it from the shell as
./install.bin
This will bring up a java based installer and after that it is easy. I didn't test it very extensively but managed to connect to Win machine in a first attempt and it looked fine and relatively fast (faster than VNC) on my Lombard. For more info visit the HOB web site.
[Editor's note: I'm unable to test this app, as I have no access to a Win2K server. It's a commercial package with a try-before-you buy eval that has no functional (only time) limitations -- which I applaud. If you need this connectivity, HOBLink may be a solution for you.]
If you're annoyed with the Timbuktu floating-icon-menu thing (like i was), you can kill it with this command, in the terminal:
kill `cat /var/run/TimbuktuHost.pid`
(the apostrophes are done with the lower-case tilde (~) key). Note that this will also prevent your computer from being accessed through Timbuktu remotely.
The menu should come back next time you restart the Timbuktu application.
You can also create an Applescript application and put it in Timbuktu's "Startup Items" folder:
tell application "Terminal" run do script with command "kill `cat /var/run/TimbuktuHost.pid`" end tell
[Editor's note: I don't have Timbuktu, so I can't vouch for what this tip may or may not do...]
People with Titanium Powerbooks have been trying to figure out how to watch a DVD movie only on an external monitor, instead of in "mirrored" mode which runs both screens and leads to slow and jerky movie playback. Dave P. mailed the following to the Titanium G4 mailing list, hosted by www.themacintoshguy.com:
To watch a DVD on an external monitor only, you need to start the TiBook in "clamshell mode". The steps to do that are:
Shut down the PowerBook as well as the TV (or VCR if that's what you connect the video to).
Hook up the cord from the S-Video port to the TV (I use my VCR's VIDEO IN port). Use the adaptor from S-Video to RCA jack, if necessary (which is what I have to use). That adaptor came with my TiBook.
Turn on the TV and/or VCR
Start the TiBook
As soon as the screen lights up (before you get the Happy Mac face), close the lid entirely
Watch the Apple on the lid (which usually lights up)
When that light goes out, open the lid back up
Your video will be on the TV, but not on the Mac's screen
Enjoy your DVD!
I don't own a Ti, but readers on the list report that this process works. For more Ti news, subscribe to the list...
iDVD2 ships with a number of pre-made themes, many of which have impressive full-motion background video. If you elect to use the custom theme, you also get a pre-defined set of buttons and layout positions. Although you can change the look of the buttons, you cannot change their positions without switching to free-form placement. Free-form placement solves the problem (you can rearrange any of the preset themes to look like any of the others), but it's quite hard to make the movie clips align perfectly when using free-form placement.
I was trying to use the "Sky" theme, but with full-movie buttons instead of text-only (the theme's default). But if I simply used a new button shape which included the video, the buttons overlapped, since the theme was defined based on text-only buttons. And with six videos to place, I did not want to do them each by hand in free-form mode. With a bit of digging, I found an easy solution.
To use a custom theme movie as a background in any other theme, control-click on the iDVD2 application and select "Show Package Contents." Then browse to Contents/Resources and notice all the .theme files. Control-click on the one you're interested in, and again navigate to Contents/Resources. You should see two .mov files, one in NTSC format and one in PAL format. Simply drag the movie into the Image/Movie well in iDVD2 and you're done - a background movie from one theme used in another. One you're done, save the custom theme as a favorite to make it easy to re-use.
[Editor's note: This article has been updated with information about a newer version of SharePoints...]
Earlier this week, a published hint explained how to use NetInfo Manager to create shares that are visible via Apple's Filesharing. Tonight I received a submission from Michael Horn concerning a quick application he created to handle one piece of this process. The name of the new application is SharePoints, and it handles the creation of the required NetInfo entries.
It's a basic application, but it does greatly simplify the process of managing shares. Basically, you run SharePoints to add or remove the NetInfo entries, and then manually set the privileges on the folder and stop and restart filesharing. Given less than two days work and at a cost of $0, SharePoints is a great little application! If you're interested, click the above link and give it a look.
For the paranoid (myself included): If you're interested in the steps I took to protect my machine before running a program from an unknown source that requires the Admin password, read the rest of the article. My point in providing the information in the remainder of this article is not to make accusations about SharePoints, but rather to explain how I handle any program which could potentially damage my machine.
Yesterday, after the Aqua window server unexpectedly quit (due to some combinaton of Classihack, XDarwin 1.0.4.1, xchat, and the GIMP, I think) -- which drops you instantly back to the login screen (ouch!) -- I couldn't get Mail.app to run anymore. I'd start it up, the window would start displaying, and then it would quit. I've been using Mail for over a year, and this was the first real problem I'd had with it.
I tried all the 'usual' stuff. Trashed the prefs. Emptied my POP email via another program. Moved all my mailboxes out of the path. Booted in OS 9 and ran Disk First Aid. Booted single user and ran 'fsck -y'. Even copied a Mail.app from a known working system. Nothing worked. So I went looking for help, and found this thread on the MacFixIt forums. Turns out that three of us had the exact same problem yesterday!
On someone's suggestion, I tried logging in as another user, and was quite surprised to find that Mail.app ran perfectly. About the same time, I received a response from the X4U mailing list with the solution to the problem. Somehow, my ~/Library/Addresses folder had been damaged (probably by the Aqua crash). By moving this folder out to the desktop, I was able to run Mail as my normal user again. All three of us in the forum stumbled onto the solution at about the same time last night :-).
Now the only remaining question is if there's any way to recover some of the address book information. Probably not, but I'm going to investigate a bit more today.
[Editor's addition: I received two different 'iTunes command line' hint submissions at nearly the same time. In the interest of ease of use in the future, I'm combining them in this one posting.
The first 'iTunes terminal script' tip, submitted by Stu G., reads as follows:
"I come from a more unix background and have always controlled xmms (a mp3 player) from the command line, usually remotely. To my knowledge, iTunes alone does not do this. So using the new scriptability of version 2.01 and the 'osascript' command, I tossed together some quick aliases I use with my tcsh:
alias next osascript -e 'tell application "iTunes"'[space] -e "next track" -e "end tell" alias prev osascript -e 'tell application "iTunes"'[space] -e "previous track" -e "end tell" alias pause osascript -e 'tell application "iTunes"'[space] -e "pause" -e "end tell"
[NOTE: Enter as one line each, replace [space] with the actual space character]. Stop and play, etc are just as easy to create. What I think would be nice, is if some one takes the scripting of iTunes and smashes these controls into say the Services menu, then there would be semi-global keyboard control of iTunes."
The second tip, submitted by the author of this article, David S., is more of a full command line interface for iTunes. I've installed it on my machine, and it's very nicely done. The rest of this tip is his text... -rob.]
Now that iTunes has built-in AppleScript support, everyone is making AppleScripts to control it. I felt left out since I haven't found a script to control it from the command line. This little shell script I made should fill that void. I have put some of iTunes features I use most into it.
If you're interested in controlling iTunes from the Terminal, read the rest of the article...
i have had SlashDock running in my dock for a while telling me when MacSlash and Slashdot update and i havn't been visiting MacOS X Hints as quickly as it updates (unlike Slashdot and MacSlash!).
that all changes now! :) SlashDock has a config file that tells it where to get its headlines. the file is located at:
~/Library/Preferences/SlashDock.config.plist.
[Editor's note: This file was not installed by default when I loaded Slashdock the first time. I had to open the SlashDock package (control-click on the app and Show Package Contents), then navigate to Contents -> Resources, and then drag a copy of SlashDock.config.plist to the prefs folder.
And it turns out it's just as easy to add content from www.macosxapps.com for the latest Mac OS X Application releases -- just read the rest of this article for the instructions for both.]
If you work with batches of files in the Finder and often need to rename them, I'd recommend giving A Better Finder Rename (ABFR) a look. ABFR, a $15 shareware app, offers over 20 different ways of renaming things, including the small snippet shown at left from the "Remove anywhere" choice. Other options include "Replace anywhere within name", "Produce alphabetical list", and "Strip vowels". Each choice brings a different set of options forward. ABFR sits in your dock (or on your desktop) and you activate it by dragging and dropping onto it the files and folders you wish to rename.
I find ABFR ideal for dealing with my digital camera, which gives me lots of well-named files like "DSC0001.JPG", "DSC0002.JPG", etc. With ABFR, a fix is just a drag and drop away. Hopefully, future versions will load as true contextual menus (as in OS 9), but apparently Apple has not made the Finder's contextual menus available to developers (yet?).