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

Click here to return to the 'Work around some bugs with managed printers' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Work around some bugs with managed printers
Authored by: ocdinsomniac on Sep 29, '06 09:57:58AM

I've had this problem too, and it's annoying as hell. Thanks for this hint!

One question: Why are you using a separate Apple Script to clean out the home folders? You could just use a shell script as a login hook, or add it to your existing login hook, and that would simplify things a lot (no Dockless hack necessary, one less script). My guess for your reasoning is that you need this script to be user-specific in order to clean out files in the user's home account. Wanted to let you know, though, that you can specify the current user in login scripts by indicating them as $1. So, in your login script, anywhere you want to specify the current user, you just put $1, like so:

rm -drf ~$1/Library/Preferences/ByHost/*

Don't know if you already knew this and there's some other reason for the Apple Script that I'm missing. But if you didn't, now you do. Hope that's helpful for you, 'cause I think this hint will be helpful for me.

Thanks a lot!


[ Reply to This | # ]