Finally, XMetaL on Linux!

Wine (Wine Is Not an Emulator, the open-source Windows environment available for Linux) is nearing 1.0, after some 12 years (or is it 13?) of development. The current Debian version is 0.9.7, and it’s actually pretty darn good. So good, in fact, that I decided to try installing XMetaL again. The avid reader of this blog might remember my last tirade about the sorry state of XML editors available for Linux, when all my attempts at installing XMetaL had been unsuccessful and I was losing hope.

But I tried again today, optimistic as ever, and here’s the result:

Pretty cool, huh? It’s XMetaL 3.1, running peacefully on my Debian box. It’s not perfect yet, not by a long shot, but it runs!

Here’s what to do (and mind you, I’m not going to list the trivialities of installing Wine or its helper apps, you’ll have to do that part yourself):

  1. Set Wine to Win98 mode. It’s the easiest mode, by far.
  2. Install Internet Explorer 6 SP1 by following the instructions at Frank’s Corner. The DLL overrides are important; don’t forget them!
  3. Install Microsoft Active X Control Pad. It’s available as a download from Microsoft, but it’s also on the XMetaL CD.
  4. Install Windows Scripting Host 5.6 from the XMetaL CD. This went like a charm, BTW, in stark contrast to my attempts using earlier versions of Wine. I don’t know why it’s that difficult; others have installed WSH before on older Wine versions…
  5. Then install MDAC from the XMetaL CD. Use a version no newer than 2.1, if you use another source.
  6. Install XMetaL using Custom options. Do not forget Templates and Samples. The XMetaL installation might complain about WSH missing; in that case, reinstall it after completing the XMetaL installation.

This should be all. In other words, it worked for me. There are some weird bugs, though (if you try this, and figure out why the weirdness is happening, contact me):

  • If you choose Tools->Options, you mess up your KDE taskbar, for some strange reason. Change any settings using the configuration file in the XM directory instead.
  • Customized toolbars do not always work. I suspect there are things in WSH not recognized by Wine, as of yet.
  • In a similar manner, some Insert Elements events will not work, probably because WSH is doing something weird.

Obviously, I’m not going to offer any support on this, even though I will most likely respond to a polite query. And I’m not, repeat, not, responsible for any damage you might cause to your computer when following the above instructions.

It certainly looks like I finally have a decent XML editor for Linux, though. I’m going to tinker with Wine/XMetaL for a while, and post any success stories here.

Look Ma, No Bugs!

I recently delivered a bunch of XSLT templates to a (very) large client. They replied today, after a day or two of testing, stating that there are no bugs! Almost automatically, I was reminded of Lars Wirzenius’ priceless list of programming truths. For example, If it runs, it doesn’t have any bugs. But especially A 1% crash rate is actually pretty darn good.

Footnote: Lars Wirzenius is less well-known than Linus Torvalds, but probably fairly important to the overall development of linux. They are friends, and have been so for a long time.

Get Rid of That Rain Man Image!

I’ve been reading www.WrongPlanet.net a lot lately. For those who don’t know, it’s a site for those afflicted with autism or Asperger Syndrome, and for their families and loved ones. There are articles and various resources available, as well as some high-traffic forums devoted to every aspect of autism and Asperger.

The forums, of course, are what makes Wrong Planet fun to read. If Dustin Hoffman is what pops up in your brain whenever somebody says “autism”, do yourself a favor and go read Wrong Planet. These people are opinionated, intelligent, and articulate, and just about as far from Rain Man as you can get.

It’s Over!

The film festival, that is. I screened 55 feature films in 11 days, some good, many bad, and some just boring. I would like to see the Canadian film C.R.A.Z.Y., though, instead of just screening it and watching bits and pieces. Great music and some very funny moments.

Anniversaries…

Next year’s supposed to be the 30th anniversary of Göteborg Film Festival. Only, it isn’t. I was present in the projection booth when what was to be the 13th festival was relabeled 14. Superstition was quoted as the primary reason by the then-festival-general Mr Gunnar Bergdahl, who could make a career at certain airlines with similar ideas.

Just a friendly reminder; I dislike history rewrites.

Black-and-White, Again

This B&W thing really bothers me. I screened George Clooney’s movie about the McCarthy era, Good Night, and good Luck earlier tonight, and of course it had to be in black and white. It looked pretty good, admittedly, but still… Wasn’t the world in colour then?

Moviemakers

Moviemakers are a lot like children. They are constantly bothering projectionists with questions about the wrong things or just plain repeating themselves, put way too much value in their toys, and are only rarely self-reliant. There’s nothing like a film festival to make these traits obvious.

Kids have an excuse, though; they’re kids and there’s still time to learn.