Archive for October, 2007

Leopard Roundup

October 29th, 2007 by admin

Ok, so I’ve obviously been doing a lot of Leopard posts. I’ll try to round things up here.

I should say that if you’re upgrading, uninstall unsanity’s “application enhancer” and be advised that it may be installed by some other utility you use – I think it appears as a preference pane if it’s installed. Old versions seem to cause some problems with Leopard. I stay away from things like Application Enhancer for this reason. Oh, the Logitech Control Center foolishly installs APE and so you may have it without knowing it. I have never installed any 3rd party mouse drivers – I just plug in their mice and it works so I never knew what the drivers would do.

Personally, I think Leopard is a great upgrade. As John Gruber pointed out, it’s almost a death by 1000 cuts approach. Yeah, there are big new features like Time Machine and Spaces but there are lots of small improvements in a lot of ways. The new Network system preference pane, the new Software Update (with a “not now” option for restarts). The most comprehensive review (which still doesn’t touch on everything new) is of course John Siracusa’s at Ars Technica, which also talks about the additional abilities added for developers.

Time Machine makes it absurdly easy for backing up, even with a laptop. Every time I plug in the firewire drive Time Machine immediately starts churning and does a backup and it usually is over in a few minutes. I thought Synk was easy but this is even easier. I like the data detectors ability in Mail for adding events to iCal. Spotlight is much faster. I’m starting to miss features from Leopard when I come to work to my Mac Pro so … that’s usually a good sign. However, stacks are annoying (especially since the icon for a folder in the dock now can be especially meaningless and indistinguishable).

The biggest problem to astronomers is that all this X11 business is annoying for those of us who use X11 a lot. I think in the long term this move to a new codebase, etc. will be positive but for now, for me, the problem with no full screen X11 is a deal breaker. I’m going to try the revert-to-Tiger X11 tonight and see how that works. Hopefully, we’ll see improvements to X11.app shortly in Leopard itself. If you don’t use Leopard full screen, there are still some things are still buggy in Leopard. Namely, there seem to problem with the “Application” menu, an xterm always launches, and some programs (like ds9) don’t like the DISPLAY variable trickery that X11.app now uses. And, X11 doesn’t seem to play nicely with Spaces.

However, the upside is that you can use the Terminal.app to launch x11 programs now without weird crashes about DISPLAY not found or whatever. I think eventually this will go well, but for now Leopard’s X11 has some problem. I wish they had just held back on the changes until everything was up and running.

So, if you’re in the middle of some X11-intensive project, I wouldn’t go buy Leopard and install it today, as you may encounter some unexpected bumps. I put Leopard on my Macbook which pretty much does no IRAF or IDL these days so my astronomical productivity is unaffected.

Tags: , , — .

X11 Full Screen Support broken in Leopard, other changes, using Tiger's X11…

October 29th, 2007 by admin

Updated at the bottom | Second Update

So, here’s the quasi-official word from Ben Byer, one of Apple’s x11 developers on Apple’s x11-users list.

Biggest architectural change in Leopard for X11: Switched from XFree86 codebase (based on, IIRC, X11R6.8) to X.org codebase (X11R7.2)

Biggest user-visible change: launchd support for X11. The only situation where you should need to manually start X11.app is if you are only running remote X11 applications.

The way that this is accomplished is by some slight-of-hand with the $DISPLAY variable — if you look, it should be something like “/tmp/ launch-vbXRyu/:0″. If an X client connects to this, it will actually connect to launchd, which will start Xquartz if needed and pass the client’s socket to the server.

All of that should be invisible to you; the X client library (libX11.dylib) was modified to support this, and all X11 applications link against this library. “DISPLAY=:0″ would still work if X11.app is already running, but it will not trigger X11 to launch.

Two biggest bugs:

  • Fullscreen support is broken. I know many of you will hate me for this — it stopped working when we switched codebases, and I was unable to get it working again. I’m hoping that some of you developers may be able to help me us fix this. Until then, those of you who need this functionality should be able to use the X11 package from Tiger instead. (Yes, I know you can’t officially download that from www.apple.com — I would like to see that change and am working on making that happen; no ETA. You may be able to find a copy of it lying around somewhere.)

  • Do not start X11.app from the Dock. It will do strange things — you’ll get two icons. This is due to the aforementioned “launcher” in /Applications/Utilities/X11.app not being the same as the real server, which is now located at /usr/X11/X11.app.

I should also note that the DISPLAY variable mojo doesn’t seem to play nice with darwin ds9, since it looks like the ds9 launch script is checking the DISPLAY variable for something it likes.

You can use Tiger’s X11 on Leopard, and instructions for that have been written up here. Not too complicated but you’ll need a Tiger DVD of some kind.

  • Update Here is more on the history of Apple’s distribution of X11 Update II A pretty good summary of what’s going on with X11 is found at this post on the Macosxhints forum.

  • Tags: , , — .

    X11 "Toggle Full Screen" in Leopard?

    October 27th, 2007 by admin

    So, if anyone out there has installed Leopard and X11, could you leave a comment if you can enable full screen mode and then successfully “Toggle Full Screen?” The menu item becomes active when I enable the option in preferences and restart X11, but when I choose it simply does nothing when I try it. So, I’m stuck in non-full-screen mode. I don’t know if this is a bug in Leopard or just a problem I’m having.

    It’s happening in both my user accounts though.

    Update – More on X11 So, Apple has apparently changed more than a few things about X11. For example, if you know type “xterm” in the regular Apple terminal it won’t crap out and give a “can’t get to display error” but it launches X11 and runs the xterm. That’s cool. But, the full screen thing problem persists.

    Update II They’re also doing some weird mojo on the DISPLAY variable, it’s set to something like /tmp/launch-onrFOA/:0 and that confused the heck of out ds9. I was able to fix it by setting to display to :0.0 like … well, it normally would be.

    .

    Leopard Notes

    October 26th, 2007 by admin

    So, I installed Leopard about 5 hours ago or so, and here are just random initial reactions on my white Macbook (Core 2 Duo).

    Updated at the bottom

    • Installation took about an hour but I had no foreign language installations (thanks to Monolingual) so it didn’t update them – I think that saves a lot of time.
    • Quicklook only works with iWork ’08 docs.
    • New screensavers are kind of neat (Mosaic option on photo album based screensavers)
    • Spotlight reindexes upon install (~1 hour for me)
    • AFP disconnect problem at long last solved (only took 6 years! No more spinning arrow for 10 minutes when an Appleshare volume is mounted and you accidentally leave the network.)
    • Emptying trash from dock shows warning – this never used to happen even when the option to warn was set it Finder preferences.
    • The new preview is nice – group search results by page (no more 10 results all on the same page) and some more annotation features.
    • Lame – No netinfo manager. This means I no longer know how to change the a) shell, b) home directory location for a user. I did an upgrade and it still knows I use tcsh so … there must be some way but not with Netinfo manager. Updated You can now do this in the account preference pane.
    • X11 Toggle Full Screen not working. This is troubling, I assume it’s a bug or a bad config file but I can’t get X11 to enter full screen mode, though it’s enabled. The command simply does nothing.
    • Where’s the new applescript language guide? This still says updated 1999. That’s rubbish.
    • Automator seems better but … could just be I never looked at it thoroughly. I made a nice iPhoto->Zip archive workflow that works nicely.
    • It appears to install iTunes 7.4.2
    • I’m just now testing out Time Machine. I wish it had a “only back up home folder or this folder or that folder” option rather than a “back up everything but exclude this or that” option.
    • Dashcode could be cool. Xcode is on the disc – I’m not sure how new the compilers and such are.
    • I like the new print preview in print dialogs. Macworld has a nice hidden features

    That’s all for now. I wonder how long until Fink releases a new point release and the headache that usually is.

    I haven’t actually installed IRAF on this machine… I’ll do that over the weekend. I’d be very surprised if anything broke though. Except the X11 full screen thing I already mentioned but most of you probably use the Quartz-wm anyway.

    Update Juan Cabanela reports that you can change shell and home directory location, etc. in the accounts preference pane which you can read about at Macworld.

    Tags: , — .

    Time Machine and Secure Empty Trash

    October 25th, 2007 by admin

    This Leopard review points out something that has troubled me since I first heard of Time Machine:

    Unfortunately, Time Machine has a serious problem: there is no way (that I can find) to remove a file from a Time Machine backup. This is a pretty glaring omission. After all, Leopard has a “secure empty trash” feature that lets you throw away files so that they can’t be recovered with forensic tools. What’s the point of erasing a file on the hard drive and then overwriting the disk sectors seven times if Leopard is going to keep a copy of the file in the Time Machine backup?

    Agreed. It seems like while handy to have backups, sometimes you just want a file totally gone. Though, I store anything sensitive (like financial items, etc.) on an encrypted disk image. However, if Time Machine is backing things up every hour – it could grab such a file before one has time to copy to a secure disk image. So, while you can turn Time Machine off for specific folders, etc – it’d still be nice to have some way to obliterate all copies of a file from the past, as well as the future.

    You can delete all backups though I doubt they’re done “securely” with overwrites. See below.

    Time Machine Delete All Backups

    Tags: , , — .

    Leopard is coming

    October 24th, 2007 by admin

    I’ll be trying out Leopard on my Macbook and seeing how nice it plays with IRAF, IDL etc this weekend.

    You can buy Leopard from Amazon using my affiliate links and, to borrow a term from Daring Fireball’s John Gruber, make me rich. Amazon’s price is actually better than the higher educational price (which is only discounted to $116, lame – it used to be reduced to like $79 or thereabouts.)

    Leopard Single License – $109

    Leopard Family Pack – $189

    Tags: , , — .

    iraf.net – Coming Soon: V2.14 and More

    October 2nd, 2007 by admin

    iraf.net – Coming Soon: V2.14 and More

    Looks like NOAO is back on board with supporting/updating IRAF, after all the hooplah a few years ago. The next version of IRAF will be “official” from NOAO, not from iraf.net and will be supported by NOAO, it looks like. So, this is good news!

    Tags: , , , , — .


    Bad Behavior has blocked 190 access attempts in the last 7 days.