I wrote a silly little Cocoa application that will optimize the system in the same fashion that installing the development tools optimizes the system.
When I installed OSX for the first time, I deselected the "Additional Printer Drivers" option to save drive space. However, when I purchased an Epson 777i last night, I didn't have the OSX drivers I needed, and you can't download them from Epson.
If you try to run the OSX installer from the CD-ROM, it prompts you to startup from the CD. If you start up from the CD and run the installer, it wants to reinstall ("update") the entire system. The solution is to double-click on the installer Package on the CD-ROM, located at:
Mac OS X Install CD/System/Installation/Packages/AdditionalPrinterDrivers.pkg
This launches an installer which just installs the additional printer drivers.
If you find the word 'Trash', which appears when you mouse over the trash can in the dock, to be not quite what you want, it's easy to change. Open a terminal and type:
% cd /System/Library/CoreServices/Dock.app/Contents/Resources/English.lproj(don't type the % signs; those are the command-line prompt symbols)
This one-line file contains the name for the trash can. Change the name, save the file (in vi, use 'w!' to override the read-only warning), quit the dock (see the comments for a clean way to do this!), it will restart, and you'll have a new name on your trash.
Scott Anguish of Stepwise has written a very good article that discusses some serious problems with Apple's package installer program. It's a bit technical at times, but a couple of key tidbits include:
This is a tricky situation, as some products (such as mySQL and PHP) seem to require an installer, based on their need to put pieces in a number of locations. In general, avoid the package installers if you can, but if you can't, make sure you (a) have a backup of important data before proceeding, and (b) know and trust the source of the package.
Post a comment • Comments (0)
If you navigate to /Library/Printers, you'll see folders for Canon, Espon, and HP printers. There's no real need to keep the printer drivers lying around for printers you don't have, so you can remove the extra folders to free up some drive space. Since these folders are owned by root, you'll need superuser status to delete them.
Once you cd /Library/Printers, you can just type sudo rm -r [directory_name], where [directory_name] is one of EPSON, Canon, or hp (do NOT type the square brackets). Note that if you do this, future use of any of the deleted printers will (obviously) require re-installation of the drivers. Use at your own risk, but my Canon and hp driver folders have been gone for weeks with no real problems.
If you boot into single user mode [Editor: command-S at startup; this is the mode from which you can run a file system check, fsck] you can boot into Aqua/Finder by typing:
This appears not to work if you've mounted the drive with write access. It also works if you've entered single user from Aqua by typing the following in the Terminal:
sudo shutdown now
Rob F. wrote in with an issue a few days ago:
I had been running in OS 9.1 for a couple of days. When I booted back into OSX tonight and started mail, I was asked for my keychain password. I have never opened Keychain but no problem, I thought, and typed my user password. No go. So how do I get around this issue?"Rob F. later wrote back with the solution ... so if you're locked out of an OS X application due to a keychain you haven't used, read the rest of the article for instructions on how to fix the problem.
Thanks to Rob for submitting the solution, and my apologies for the delays in getting it published!
This is really only relevant if you've followed the instructions from StepWise on how to configure and install Apache 1.3.19 and PHP 4.0.4pl1. What I discovered was that when you restart Apache, it will basically hang because of an error related to the apxs binary in /usr/sbin (take a look in the Console app for the exact error).
If you want to run your web server with WebDAV capabilities enabled on it, you will need to download the latest version of mod_dav, configure and install it, replacing the pre-installed module for Apache. The information for installing mod_dav can be found on the mod_dav site, but I will summarize it here.
Quick hide/show of toolbar customize panel
Apr 08, '01 07:25:18PM • Contributed by: Anonymous
Try shift-clicking the Finder toolbar show/hide widget (in the upper right-hand corner) - the toolbar customization pane will appear! Cool!
Shift-click again, and it disappears!
Daniel J. Wilson
Post a comment • Comments (0)
Fix for PHP bug reporting error
Apr 08, '01 07:10:44PM • Contributed by: Anonymous
If you create a PHP page in Dreamweaver or similar Macintosh application, any bugs will be reported as being on line 1, no matter where they are. This is because the PHP parser is expecting Unix style line breaks. Since it doesn't find them, it thinks the entire page is all one line. This doesn't hurt the running of the PHP code, but it does make it very hard to find any typos or other bugs in the code.
The easiest way to fix this is to open the PHP document in BBEdit and Save As. Click on the OPTIONS button, and select Unix line breaks.
Also, if you are looking for a good SQL tutorial, with a live SQL server, check the following URLS:
First | Previous | 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 | Next | Last
From our Sponsor...
Latest Lion Hints
Hints1 new Hints in the last 24 hours
Comments last 2 days
Links last 2 weeksNo recent new links
What's New in the Forums?
Hints by Topic
News from Macworld
From Our Sponsors
All trademarks and copyrights on this page are owned by their respective owners.
Visit other IDG sites:
Powered by Geeklog Created this page in 1.08 seconds