/* ----------------------------------------------- Blogger Template Style Name: Minima Designer: Douglas Bowman URL: www.stopdesign.com Date: 26 Feb 2004 ----------------------------------------------- */ body { background:#fff; margin:0; padding:40px 20px; font:x-small Georgia,Serif; text-align:center; color:#333; font-size/* */:/**/small; font-size: /**/small; } a:link { color:#58a; text-decoration:none; } a:visited { color:#969; text-decoration:none; } a:hover { color:#c60; text-decoration:underline; } a img { border-width:0; } /* Header ----------------------------------------------- */ #header { width:660px; margin:0 auto 10px; border:1px solid #ccc; } #blog-title { margin:5px 5px 0; padding:20px 20px .25em; border:1px solid #eee; border-width:1px 1px 0; font-size:200%; line-height:1.2em; font-weight:normal; color:#666; text-transform:uppercase; letter-spacing:.2em; } #blog-title a { color:#666; text-decoration:none; } #blog-title a:hover { color:#c60; } #description { margin:0 5px 5px; padding:0 20px 20px; border:1px solid #eee; border-width:0 1px 1px; max-width:700px; font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif; text-transform:uppercase; letter-spacing:.2em; color:#999; } /* Content ----------------------------------------------- */ #content { width:660px; margin:0 auto; padding:0; text-align:left; } #main { width:410px; float:left; } #sidebar { width:220px; float:right; } /* Headings ----------------------------------------------- */ h2 { margin:1.5em 0 .75em; font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif; text-transform:uppercase; letter-spacing:.2em; color:#999; } /* Posts ----------------------------------------------- */ .date-header { margin:1.5em 0 .5em; } .post { margin:.5em 0 1.5em; border-bottom:1px dotted #ccc; padding-bottom:1.5em; } .post-title { margin:.25em 0 0; padding:0 0 4px; font-size:140%; font-weight:normal; line-height:1.4em; color:#c60; } .post-title a, .post-title a:visited, .post-title strong { display:block; text-decoration:none; color:#c60; font-weight:normal; } .post-title strong, .post-title a:hover { color:#333; } .post div { margin:0 0 .75em; line-height:1.6em; } p.post-footer { margin:-.25em 0 0; color:#ccc; } .post-footer em, .comment-link { font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif; text-transform:uppercase; letter-spacing:.1em; } .post-footer em { font-style:normal; color:#999; margin-right:.6em; } .comment-link { margin-left:.6em; } .post img { padding:4px; border:1px solid #ddd; } .post blockquote { margin:1em 20px; } .post blockquote p { margin:.75em 0; } /* Comments ----------------------------------------------- */ #comments h4 { margin:1em 0; font:bold 78%/1.6em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif; text-transform:uppercase; letter-spacing:.2em; color:#999; } #comments h4 strong { font-size:130%; } #comments-block { margin:1em 0 1.5em; line-height:1.6em; } #comments-block dt { margin:.5em 0; } #comments-block dd { margin:.25em 0 0; } #comments-block dd.comment-timestamp { margin:-.25em 0 2em; font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif; text-transform:uppercase; letter-spacing:.1em; } #comments-block dd p { margin:0 0 .75em; } .deleted-comment { font-style:italic; color:gray; } /* Sidebar Content ----------------------------------------------- */ #sidebar ul { margin:0 0 1.5em; padding:0 0 1.5em; border-bottom:1px dotted #ccc; list-style:none; } #sidebar li { margin:0; padding:0 0 .25em 15px; text-indent:-15px; line-height:1.5em; } #sidebar p { color:#666; line-height:1.5em; } /* Profile ----------------------------------------------- */ #profile-container { margin:0 0 1.5em; border-bottom:1px dotted #ccc; padding-bottom:1.5em; } .profile-datablock { margin:.5em 0 .5em; } .profile-img { display:inline; } .profile-img img { float:left; padding:4px; border:1px solid #ddd; margin:0 8px 3px 0; } .profile-data { margin:0; font:bold 78%/1.6em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif; text-transform:uppercase; letter-spacing:.1em; } .profile-data strong { display:none; } .profile-textblock { margin:0 0 .5em; } .profile-link { margin:0; font:78%/1.4em "Trebuchet MS",Trebuchet,Arial,Verdana,Sans-serif; text-transform:uppercase; letter-spacing:.1em; } /* Footer ----------------------------------------------- */ #footer { width:660px; clear:both; margin:0 auto; } #footer hr { display:none; } #footer p { margin:0; padding-top:15px; font:78%/1.6em "Trebuchet MS",Trebuchet,Verdana,Sans-serif; text-transform:uppercase; letter-spacing:.1em; }

Thursday, February 23, 2006

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.

0 Comments:

Post a Comment

<< Home