Mac GeekeryGet your geek on. |
|
blog advertising is good for you
recent popular content
User login
|
Tips and tricks either accessible only by the command line, or that enhance the use of the command line. There are a plethora of hacks to change the translucent menu bar in 10.5. While I doubt the sanity of the UI designers at Apple with this release of the operating system, it is relatively easy to change this behavior without installing third party hacks. There's more » As others have noted, there’s nothing all that new about Time Machine other than its UI. UNIX admins have been doing similar incremental backups for ages immemorial. Well, OS X is a UNIX, isn’t it? So it should follow that we can get the same bang-for-buck in Tiger (and possibly prior versions, too). For this, rsync and cpio are our friends today. Adam Knight did most of the footwork here; I just hacked it up into OS X-compatibility. There's more » I was having quite the problem with trying to install programs from the command line: Bash would complain I didn’t have libraries installed that I most certainly did, and pkg-config was no help, since it apparently wouldn’t talk to X11 or Bash at all. Nice. Those are hours of my life I’ll never get back. There's more » How can I completly disable the Finger Service? Instead of manually creating .nofinger files on each user Home folder. Thanks! It’s a question we get every now and again that simply doesn’t have an easy answer: “How do I add items to the Login Items from the Terminal?” Well, that’s hard, and mainly because the ==$ defaults write foo test -array-add -dict Hide 1 Path /Applications/TextEdit.app There's more » Is there a simple method to do a one button SIGSTOP/SIGCONT on an app? I tend to have tabs and tabs (and windows and windows) that I’m not ready to close, so I end up doing kill -SIGSTOP pid for Camino. Problem is, the pid is not always gonna be the same. Mac OS X stores the current marketing OS version (i.e. not the kernel revision number) in a property list in For those of you that didn’t know (and it’s an honest omission of knowledge) Apple’s Installer and Software Update tools have CLI tools that do their dirty work for them, and you can use them to remotely administer your machine (or do so more directly than the GUI lets you). The Installer’s CLI command is, shockingly, $ installer -pkg GoshIHopeItsNotATrojan.pkg -target / You can also have a little fun with it with its myriad options. Software Update is similarly called $ softwareupdate -l Or install all pending updates with: There's more » $ sudo softwareupdate -i -a In Linux, I can have xmatrix run in a terminal window using this command: sudo /usr/lib/xscreensaver/xmatrix -delay 20000 -small -density 40 -trace I want to use it in GeekTool but can’t get it to run in either a GeekTool shell or a terminal window. I know the path is different on OS X but the actual command won’t run. Ideas or thoughts will be greatly appreciated. I’m trying to automate Mac icon creation for folders and files headlessly via the commandline or AppleScript. I’m dynamically creating alpha masked PNG’s and wish to transfer those to Folder/File icons with no user intervention, all in the background. Also for the sake of when Leopard comes out, it would be great to have 512×512 icon support. Though ANY support would be welcomed. While I’d like to be using some Apple standard system for correctly applying icons, Folder icons are open to some hackery as they store the icon inside the folder itself as an ‘Icon’ file in the format of .icns, however I know of no way to automatically generate an icns file, and even if I could, you cant just rename your file to ‘Icon’ as the name is in fact ‘Icon^M’ or rather ‘Icon’ folowed by a carriage return, which is impossible to do as far as I know. Any help in this endevour would be greatly appreciated. |