Saturday, July 25, 2009

Wine, Lunascape, and IE in Ubuntu Jaunty

My most recent explorations in Ubuntu have involved Wine (a translation layer that allows you run Windows applications on Linux and other *nix platforms) and a couple of Windows browsers.

I had thought Wine was installed by default in Ubuntu but found I was incorrect. Downloading and installing it was quick and painless, thanks to Applications->Add/Remove.

Now for some Windows applications to try it out on.

I recently read about Lunascape, "the world's first and only triple engine browser," which uses the rendering engines underlying Internet Explorer (Trident), Firefox (Gecko), and Safari and Chrome (WebKit); Opera's Presto was not included, nor were a handful of other lesser-known engines. Intriguing, eh?

I downloaded and ran the set-up .exe file with no problem by right-clicking and selecting "Open with 'Wine Windows Program Loader'," but unfortunately several attempts to run it resulted in at best a browser window that darkened after about 10 seconds, after which a warning box opened notifying me that the application was not responding; and at worst, nothing. Further attempts to uninstall and reinstall didn't help and it's unclear how I can remove Lunascape from my Wine programs menu (except possibly by un- and reinstalling Wine itself?) but a bit of research turned up instructions here to remove it entirely after uninstalling it from the Wine menu. I had to use ls to get the official name of the Lunascape folder and rm -r to get rid of it, but I'm getting better at that than I was.

Internet Explorer was more of a mixed bag. By following these instructions I was able to get IE 6 installed and running, but neither the XP nor Vista versions of IE 8, downloaded directly from Microsoft, would open with Wine. The interesting thing about the IE 6 installation is that it requires using the command line to start it: /home/john/bin/ie6, although reinstalling ies4linux created a desktop shortcut to it. I think I'll get rid of the shortcut and just try to remember ~/bin/ie6. That shouldn't be too hard, should it?

At some point when I feel very brave I might try VirtualBox with some of these Windows apps.

Monday, July 13, 2009

Two Ubuntu Challenges Faced and Conquered

I've been enjoying my experiments with Ubuntu and so far I've been able to do most of what I want to without much trouble. I've been particularly pleased with the similarity of some helpful little touches to Mac OS X, but the most recently discovered trick I would have preferred not to have had to use.

When the new 3.5 version of Firefox was released I downloaded it later that same day on my OS X machine by using the "Check for Updates" menu command. I was distressed to see that option grayed out in my Ubuntu Firefox, and even more so when I did some research and found that it was not expected that the new FF would be available in an officially sanctioned form until October's release of Karmic Koala. Almost immediately there were workarounds posted but most were quite intimidating. Fortunately, there are apparently a number of ways to go about it and I ended up using the instructions here, following the easy (fairly easy, anyway) instructions provided by Pritam P. Hans. They worked flawlessly and now the default browser is Firefox 3.5.

The other challenge was more esoteric. Although I'm the only person using this computer, I was curious to see if I could install a new font at the system level, as I do with my OS X computer. Junicode has just come out in a new version and since that's the font I'm using in my on-again off-again Hyginus Fabulae book and I'm hoping to be able to work on it on this computer too, keeping the file synchronized across machines thanks to Dropbox, I need to have the font here locally for XeTeX (actually XeLaTeX) to use. With OS X it's a simple matter of dropping the unzipped fonts into /Library/Fonts, but when I tried that with Ubuntu I was informed I didn't have permission. I ended up using Terminal and sudo mv, and it was here I made my happy discovery of an OS X trick: it's possible to drag an icon into Terminal and have it turn into a path. In fact, I was able to drag all 4 fonts into Terminal and making their destination (as I discovered) /usr/share/fonts/truetype. I was amused with myself because the first time I tried I used mov, which understandably puzzled Terminal since the command doesn't exist, and the second time I forgot sudo and so permission was denied. sudo is the computer's "Simon says," I realized.

In retrospect I realize that it's actually A Good Thing that the system is trying to protect itself by requiring a password before putting anything above the User level and I wonder why OS X doesn't, even for fonts? But I still don't understand why something as basic and desirable as Firefox 3.5 wasn't available to Ubuntu systems via the FF "Check for Updates" feature.

Sunday, June 28, 2009

Trying Out Ubuntu

For the last year or so I've been interested in trying out Linux, and last Christmas asked for and received a copy of VMWare's Fusion for Mac OS X. Although it worked adequately to get a sense of the OS, it was slow and laggy and I suspected that running Linux as a guest wasn't giving it a fair shake. However, as a combined wedding anniversary and Father's Day present, at my suggestion my wife got me a refurbished IBM ThinkPad T43 that Buy.com had on special. It's by no means a powerhouse, but for about 1/5 the price of the lowest-end 15-inch MacBook Pro it's quite a good machine, with adequate RAM and hard drive space for my purposes, wireless, and an optical drive. It came with Windows XP Professional pre-installed (no discs for it included), but as soon as I set up and registered Windows — which warned me of the dire danger of not installing protection from malware — I pulled out the CD I'd burned with an ISO of 32-bit Ubuntu and installed it, and found the procedure easier than getting started with Windows (although admittedly a little more time-consuming because of having to tranfer the OS from the CD to the hard drive.

One of the things I was curious about was how close Ubuntu has come to becoming as user-friendly as Mac OS X. I found out pretty quickly that for a beginning user it's as easy or possibly even easier that OS X to use the basic installed applications, but once past basic uses there are ... not pitfalls exactly, but procedures which although not particularly difficult are not as just-works-ish as in OS X.

One good example is producing accented characters. A friend of mine who's moving to Mississippi gave my wife and me a stack of CDs which included the wonderful recording of the Irish accordionist James Keane With Friends Like These. For some reason Banshee — the installation of which was another example I'll write about next — wasn't able to find the album's metadata and I decided to enter it manually and came to a track with the tune "Paidín Ó Raifeartaigh" on it. Acute accents are a breeze in Mac OS X once you know the dead-key combinations (Option-e puts an acute over the next letter, for example).

It turns out that in order to get accented letters it's necessary to specify a Compose key in System->Preferences->Keyboard->Layouts->Layout Options; I still don't know what key or keys can serve to substitute for the AltGr key discussed in this article on accents in Linux. I discovered the Character Map (Applications->Accessories) and it's very similar to OS X's Character Palette, but it's not the easiest way to insert characters. What I find puzzling is that searching the on-line help (i.e., the big blue question mark at the top of the screen) for "accents" leads only to a link to the GIMP manual, and only to the entire work, not even to a particular page of it. This seems like a basic enough question that it shouldn't require as much time to figure out as I've put into it.

Now, for Banshee, I refer the curious to these instructions. I had no trouble following them — in fact, I used apt-get as an experiment and had no trouble at all with it — and I'm very happy with the application, but compared to simply clicking a download link and then double-clicking a .pkg file or a .dmg file and dragging the resulting application to the Applications folder is a lot less scary for the inexperienced.

On checking further I see that it's possible to get Banshee via Applications->Add/Remove Applications, and that's a lot simpler process. I've learned a lesson from this: check that option before downloading it from the website of the developer.

Heaven knows even Macs are not entirely intuitive, but Linux, even a Linux as comparatively easy to use as Ubuntu, is more opaque. That said, for people who aren't going to be installing applications not included with the distribution or who are prepared for a varied experience in ease for ones they do download, I think it's a good potential fit.

Sunday, February 8, 2009

Yiddish Literature On-Line

Although I don't know any Yiddish, I was happy to see this morning in Friday's New York Times (courtesy David Meadows' Explorator):

More than 10,000 works in Yiddish — perhaps more than half of all that was ever published in the language — are now accessible online as part of a joint project between the National Yiddish Book Center, based in Amherst, Mass., and the Internet Archive in San Francisco, the two institutions announced on Friday. The scanning began more than 10 years ago as part of a $5 million effort to create the Steven Spielberg Digital Library, said Aaron Lansky, founder and president of the book center.

I was interested to see that those responsible recognize that some people prefer print, because the page linked above adds:

In addition, we can provide you with used copies and reprints of most Yiddish titles at nominal cost. To check availability, please email us at orders@bikher.org, or phone us at 413-256-4900, x196.

I probably would have seen notice of this on Friday except that due to AT&T's poor service my Internet access had been out for most of the last two weeks until Friday afternoon and I had a great deal of catching up to do. I'm in the process of switching all my announcement and discussion list addresses to my Gmail address in the expectation I'll switch providers if it happens again.

Sunday, December 14, 2008

Digitized Medieval Manuscripts

Matthew Fisher of UCLA recently posted to the Digital Medievalist list this excellent news of a new site which indexes and links to complete digitized medieval manuscripts in many different collections.


It is with great pleasure that we would like to draw your attention to the Catalogue of Digitized Medieval Manuscripts. Hosted by UCLA's Center for Medieval and Renaissance Studies, the Catalogue seeks to provide a technological solution to a simple and rather delightful "problem": the breathtaking increase in the number of medieval manuscripts available on the web in their entirety, but in a bewildering range of venues and formats.

Currently, almost one thousand manuscripts, digitized and available in their entirety on the web, have been entered into the Catalogue. Users can search the Catalogue on basic information about manuscripts, such as the location, language, or date of a codex, or browse through the complete Catalogue.

We welcome feedback on your experience using the website, and particularly welcome suggestions for sites not currently represented in the Catalogue.

The Catalogue can be accessed at: http://manuscripts.cmrs.ucla.edu. More information about the project: http://manuscripts.cmrs.ucla.edu/about.php, or by contacting Matthew Fisher at fisher[at]humnet[dot]ucla[dot]edu.


The site currently links to 37 institutions hosting digitized manuscripts. Although most of the full records include at least a brief note of the contents in the manuscript attributes section, in a random check of about 30 I found three in the St. Gallen collection (Mss. 18, 902, and 722) that do not, and although all the other links I tried worked, the one to the manuscript images for St. Gallen 902 redirected to a 404 message. Fortunately the URL for the error page was specific to that manuscript and simply going up the directory to http://www.e-codices.unifr.ch/en/csg/0902/ worked.

I noticed one minor oddity of the interface related to navigation of multipage search results. Page numbers at the bottom of the page link as one would expect, but "Next" takes you to the next span of 10 pages rather than to the page after the one you're at.

Some collections I know of that are not among those indexed are the Codices Electronici Ecclesiae Coloniensis in Cologne, the Royal Library in Copenhagen, the St. Laurentius Digital Manuscript Library at Lund University, the Olomouc Research Library, and the Irnerio Project at Bologna (although the images there are too small to be of much practical use, I suspect).

A good page of resources on medieval manuscripts can be found at Georgetown's Labyrinth site.

Monday, July 28, 2008

More on Codex Sinaiticus

Back in May I posted about some of the pages of Codex Sinaiticus held by the University of Leipzig being made available on-line. Recently, a cooperative project by the four institutions that own parts of the codex has put up a larger number of leaves from Leipzig and the British Library, including parts of I Chronicles, 2 Esdras and Lamentations, and all of Esther, Tobit, Jeremiah, Psalms (including Ps. 151), and the Gospel of Mark.

The pages are nicely photographed in color, with choices of views with standard light and "raking light," in which illumination is nearly parallel to the page. Even at the highest resolution the images are clear; a transcription is provided, and there's a frame for translations into your choice of English, German, Greek, and Russian, although in spot-checking the only passages for which I found translations were Psalms 1-35, and those only into English.

The first phase will end in November, 2008, and the implication is that after that more leaves will be made available.

Sunday, June 1, 2008

The Internet Archive and Microsoft Live Book Search

A recent episode of Leo Laporte's TWiT podcast, number 144 from May 25th, has Internet Archive founder and director Brewster Kahle as the featured guest for the first 50 minutes. He talks about a number of issues, including Microsoft's decision to cease scanning and pull out of the Open Content Alliance, the victory over the FBI in the National Security Letter request and its associated gag order, and other matters related to book digitization.