Aug 05, '03 10:35:00AM • Contributed by: samsprograms
Read the rest of the hint for the how-to...
Instructions:
- Make the app's directory. I created a folder in ~/Library called "MyStartupItems". Choose any folder (but use that instead for the rest of the steps), and then make the app's folder in it:
% cd ~/Library % mkdir MyStartupItems % cd MyStartupItems % mkdir "Classic Starter.app" % mkdir Contents % cd Contents
- Make an Info.plist file to stop the app from displaying a dock icon:
% cd "Classic Starter.app" % defaults write "~/Library/MyStartupItems/ Classic Starter.app/Contents/Info" NSUIElement "1"
Note that the above "defaults" line is shown on two lines but should be entered as one with no spaces between the "/" and "Classic...".
- Make a folder for the executable called "MacOS"
% mkdir MacOS % cd MacOS
- Make an executable file called "Classic Starter"
% touch "Classic Starter" % chmod +x "Classic Starter"
-
Add some code to "Classic Starter". Use your favorite text editor and paste the following code into the "Classic Starter" file we just created (I use pico):
#!/bin/sh /System/Library/CoreServices/Classic\ Startup.app/ Contents/Resources/TruBlueEnvironment &
Note that the above "/System" line is shown on two lines but should be entered as one with no spaces between the ".app/" and "Contents...".
- Add your new app as a login item in the "Login Items" preference pane.
