Archive for the ‘Linux in the real world’ Category

News Flash — Linux spotted in the wilds of Montreal — again!

Thursday, June 17th, 2010

Back in January I mentioned a chance meeting with someone on a commuter train using Fedora on their laptop. Well this afternoon, I had another such chance meeting in a pub.

At a 5 à 7 (Quebec speak for “Happy Hour”) at Hurley’s Irish Pub on Crescent Street this afternoon, I walked by someone with a laptop listening to the Irish musicians, and almost walked by, the Ubuntu icon in the corner of the screen was so familiar (despite being a die-hard Fedora user). I realized my error and exclained “Wow Ubuntu in the wild!

I got a quick look at Ubuntu Netbook Remix using Chrome. Dan, the user, said that though he uses Firefox at home on his desktop, he finds that Chrome is way faster at least on his netbook. He said that the machine came with another Linux distro when he bought it, which he didn’t much like, so he reformatted.

Well, Dan, you made my day!

Ubuntu and Fedora LiveCDs — Ubuntu a clear winner!

Sunday, March 21st, 2010

I’m trying to convince a certain group to wipe their virus infected (and no doubt with trojan horses, key loggers, and spyware) computer over to linux, and so I’ve burned the Fedora 12 Live CD and the Ubuntu 9.10 Live CD.

I don’t want to bother giving them the Fedora Live CD. The Ubuntu CD is far too slick. And, the Fedora Live CD is far too vanilla. And that’s despite my usual rivalry with Ubuntu; at first glance, the killer is the inclusion of OpenOffice.org on the Ubuntu CD, while Fedora has the lightweight (albeit otherwise capable) AbiWord. Even the brown looks bright and welcoming, as opposed to Fedora’s more conservative, dull greyish-blue.

Add to that the directory of various files introducing Ubuntu, what it’s about, and even a sample mortgage calculator, and it’s little wonder that Ubuntu gets a whole lot of first timers straight out of the gate, or that first timers settle on Ubuntu after trying a bunch of other distros. As a marketing tool (at least for the desktop), the Ubuntu CD wins hands down; I’m not even sure that fully set up via traditional means from the DVD or full set of CD’s Fedora is this flashy.

I’ve been telling people for a while that “I use Fedora, but you’ll find Ubuntu easier”. I’ve just seen the proof. Seeing the CD, I would want to start afresh with it. I won’t of course, but I was impressed.

I’m wondering, though, which is the real killer — the inclusion of OpenOffice.org, or the directory introducing Ubuntu? I bet that were Fedora to mount a similar directory, including how to expand upon the base supplied on the CD, that people might take it up a bit more. I’m thinking of things like “Accustomed to OpenOffice.org? Go here and this is what you do.” or a “top five” “what to do once you install the Fedora base (or even just the Live-CD)” based on “Common desktop tasks”, “Setting up a home file and media server”, or the usual choices found in the standard anaconda setup.

I’m even thinking that the Ubuntu Live CD is productive — and “complete” — right away with its little directory, forget having little tutorials.

I guess that I should find out about whether or not Fedora does something like this, though … :)

It’s tax time, and the Government of Canada supports linux!

Saturday, March 13th, 2010

Doing a bit of research for tax-time, I went to Service Canada’s website to get some extra information needed. I finally figured out how to navigate through some pages, and whaddya know, they support two linux distributions: Fedora (they added, incorrectly, “Core”) 8 — which of course now is out of date — and Ubuntu 7.1, which I suppose was really 7.10. I suppose to some government person who doesn’t quite understand Ubuntu’s version numbering system, 7.1 and 7.10 are “about the same” — of course, were there any validity at all, it would represent the January 2007 release of Ubuntu, which never existed, as opposed to the October 2007 release. :)

I was pleased to see them finally picking up the slack, even if this was put in place about 2 years ago. :)

And of course, here’s the screenshot, with the appropriate areas highlighted.

Service Canada Supports Linux!

Cool (or mundane) computer trick impresses co-worker

Thursday, March 4th, 2010

I managed to impress someone at the office this week with a cool (read mundane) computer trick.

I got a call from the secretary, who is a few seconds’ walk from my desk, asking for a scanned version of my hand-written signature. I replied that on my computer at home I have it, and I could easily get it within a few minutes; she replies that it would be faster for her to just walk over with a piece of paper for me to sign, which she would then scan and play around with.

And this is where I began to impress her: By the time she got to my desk with said sheet of paper, I had already VNC’d into my home server’s desktop and was in the process of doing the same from the server to my main computer’s desktop (gotta finish the process of giving it a static IP and setting it up so that I don’t have to go through my home server. :) ) I finished logging into my desktop, and looked in the likely directory, and voilà! I fired up my home email client, and within a couple of minutes, she’d received my scanned signature.

Beyond the fact that the Gnome desktop is set up standard to do VNC — and the fact that I installed TigerVNC instead of using the standard Gnome Remote Desktop Viewer — too bad that I can’t really claim that this is a cool Linux trick, since my computer at work is Windows, and you can set up Windows boxes to “pick up the phone” too ….

She was still impressed, though. And it took about as much time as the whole process of signing a piece of paper, scanning it, cropping it, etc.

News Flash — Linux spotted in the wilds of Montreal!

Wednesday, January 20th, 2010

This morning I did something very unusual, for me. I took the commuter train into work instead of driving my car, and I saw a Gnome desktop on someone’s laptop computer! Doing a double take, I checked, and whaddya know, it’s definitely a Gnome desktop, it’s very familiar, it isn’t brown, and yup, it was Fedora 12.

A few weeks ago my brother had posted on SlashDot asking if anyone had seen Linux in use in the wild — not data centres, of course, nor at LUG meetings or other such gatherings of Linux types where of course Linux is expected to be seen, but random, innocent spottings in places like at restaurants, café’s, university or college student halls, on the streets, on the train, etc. The responses were an underwhelming (or disappointingly overwhelming) “no”. In fact, my brother said that I was the only person he knew who used a Linux desktop besides himself, and that I’m far more pure about it than he. (In fact, he uses Windows as regularly as Linux on his personal systems, while I “only” use Windows at work, and don’t particularly care for it.) Besides seeing Linux desktops at LUGS and Linux Meetups, offhand I can only think of two people I know who say they use Linux at home as their desktops.

I started chatting with this person, and they apparently develop software for a particular industry (no, not that industry), to be used on Red Hat 5.x servers; they use Fedora because CentOS is hopelessly out of date for things like wireless support on his computer; however, unfortunately, they have been finding Fedora 12 unstable … not my experience so far.

Suffice it to say that even put aside the Fedora part, this chance meeting made my day!

XFCE

Wednesday, August 12th, 2009

Well last week I was in a bit of an experimentation mood. Now that I have a new laptop, my old laptop, a PIII 450 with 320megs of RAM, can be used for experimentation.

In the meantime, it has slowed down and over the past year video has been anywhere from just fine to sketchy, depending on the complexity of the video.

So I removed the Gnome desktop, figuring that the memory footprint had probably been at the cusp of affecting other processes. Curiously, this didn’t cause the computer to explode and it seemed as though as long as I didn’t turn off the computer, I would have been able to continue indefinitely with Gnome.

And of course, I turned off the computer.

This was not a good thing, the boot up sequence appeared to freeze. Fortunately the single user mode was available — hey, they changed the key sequence in F11 from control-alt-F1 to control-alt-F3, and even the exit sequence changed from control-alt-F7 to control-alt-F1! However, getting my wireless to work was not obvious, and I learned just how much of wireless seems to be controlled by the desktop. So connecting to the repos to install XFCE was not possible.

I wonder for about a week when my brother suggests “well just plug in your network card and use a wired connection.” Duh, this works. :) Yum install group XFCE works, and things are humming. (In between he suggests “don’t worry about getting the wireless up until the desktop is installed” … until he suggests using a wired connection, this was like telling someone stranded with an empty gas tank on the side of a desert road to drive to a gas station to get more gas!)

The installation went like a breeze, and while there are differences, the whole experience seems very similar to the Gnome desktop experience.

My brother was impressed that it seemed so easy and seamless, he said that a years ago this easiness factor would have been unheard of.

A quick test of video while I was doing a yum update — an unfair test on this machine in this day and age — showed a slight amount of choppiness. I expect that things will go well when I test again and nothing else is going on.

ASP and Windows centric web pages slow

Friday, July 10th, 2009

I am at another hotel on business. (Ho-hum, they have a password, I don’t care at this point to find out how long it’s been in place, I’m sure it’s good odds that it’s been a while. Shall we say that it’s named after a good ship. I suppose I could be wrong.)

Surfing is, often enough, slow. A good number of pages hang and time out. At first, I don’t notice much because the main one I visit is always slow, always hangs and occasionally times out.

At first I was wondering if it’s because I’m in a hotel using their internet — you know, bottlenecks due to lots of people using the internet hookup at the same time (what, at 6AM?), people setting up repeaters in the bushes stealing signal because there is an insecure password that at worst would cost them a night’s stay to figure out, etc.

I also have the company laptop with me, to do company work (of course, I have my own laptop to do personal stuff, the company policy on personal usage of the computers is getting to be much like closed source licences that make you wonder whether you may use the software at all, even for its apparently intended purpose.) It uses windows on a Centrino Core 2 with something like 2.8GHz or more. For the fun of it I type in le web page du jour. It loads quite speedily, while the page load on the same web page on my F11 ACER Aspire One is still hanging.

And I notice something interesting: le web page du jour is in ASP. So is the historically slow site. Last night the site that was impossible to properly log into using my laptop, the work email server — such that I logged into my own web email to send the message to the home office — is, you got it, on a windows server. A fourth site this morning timed out in the middle of a survey I agreed to take; I hope it’s a linux server, it’s for a magazine I subscribe to on a little topic called linux (the publishing house also has a PC magazine, so go figure.)

I’m wondering: Am I having difficulties with these pages because I’m using Firefox? Linux? A slower machine? Is it Fedora’s implementation of Firefox 3.5 Beta 4 or whatever? Some combination of the above? Is this an ASP compatibility problem? Or an ASP discrimination problem? Or are the pages in question themselves biased against non-windows computers? Or non-IE browsers? (Never heard that one before!)

À suivre …

Linux, the mainstream, and market penetration

Thursday, April 16th, 2009

Back in January, I related a story of a billboard I’d seen in October and how the software being advertised happened to be available for Windows, Mac, AND Linux.

Everyone who cares (that’s about, what, five of us) knows about “MovieOS” or “Hollywod OS” — computer sceenshots that are obviously custom shots that are in-house artwork. You know, either the animated PlaySkool shots showing people to click on the “GO” button regarding going to their store to spend lots of money on their wares, or, it’s a screenshot that “looks” like it’s a functional computer screen but doesn’t look like any computer desktop people are familiar with or any other computer desktop on the next show or movie you watch.

I’ve been noticing things on occasion in the mainstream media for a couple of years regarding computer screenshots: Not only is it not Windows or Mac, it’s not “MovieOS” either. What you see is a variant of the Gnome desktop, usually on Ubuntu (for those of you who have no clue what to look for, watch for two white lines on the screen, one on the top of the screen, and one on the bottom, and a light brown background to the rest of the screen.)

Listen up folks, here’s one of the moments that I think Mr. Shuttleworth’s little darling is doing some good.

In late 2007, there was a CBC Marketplace report on the various download speeds of the various high-speed internet suppliers across Canada. A closeup of the download progress window made it clear that each participant was downloading the Ubuntu CD of the day.

Just today on CNN I noticed in an ad for AT&T 3G USB key for highspeed mobile internet — this is the one with Bill Curtis in a boxing ring bragging about how fast he is — and the laptops appear to be running Ubuntu.

These are the two that come to mind. However, every couple of months, what do I see? An Ubuntu screen. I rather suspect that the reason for this trend as well as most instances of “MovieOS” is that it’s cheaper — including the cost of paying the computer technician in the back the time to reformat a computer, assuming that they didn’t just ask the guys in back to lend them their laptop, or of course asking the art department to make up something that looks nice — than paying any licensing fees to MS, Apple, or anyone else. Or, they didn’t get a sweet enough product placement deal from MS or Apple or whatever computer manufacturer in the advertising department’s rolodex.

I’d say that Linux — be it Linux in general, Ubuntu, any other distro, or the fact that there is a wide choice out there, in this case I don’t care — seems to be making some headway. Here’s one of the examples where I’ll concede the point that if people think Linux, they think Ubuntu, and that that’s OK.

Printing PDFs

Friday, March 27th, 2009

I’ve just had an interesting object lesson in the differences between two different pieces of software that have more than essentially the same function.

Today I had an important PDF document to print out at home instead of at the office. For the purposes of practical convenience, it was far better to print it out at home and just deliver it to the office than spend the extra time at the office (5-10 minutes) turning on my office computer and printing it out there on a printer I knew would have no difficulty dealing with it, having printed out a few dozen identically-generated documents on it.

On my pretty much stock Fedora 10 box, I use the Evince Document Viewer 2.24.2 using poppler 0.8.7 (cairo) for the Gnome desktop to display and print PDF documents. So far, I’ve been satisfied.

The PDF’s layout had margins beyond my printer’s abilities. And of course the most important parts of the document, being right at the edges of the margins in this document, were being cut off in the process of printing out the document. A reduction in the print size was not useful since the vital information was on the end of the document being cut off in the margins. I suppose I could have tried rotating the document to try to see if the cut off part would not contain crucial information, which I didn’t think of at the time. Both these strategies, however, miss the point: If the original document has very narrow margins, something is going to get cut off no matter what; not exactly desireable.

I did try something that happened to involve a Windows box (ughh) mostly because it had a different printer, and you never know how things behave differently with different equipment.

Not surprisingly, the windows box happens to have an Adobe viewer installed (I avoid that box as much as possible; I don’t even maintain it, that’s my brother’s job. :) ). I click to print the document and whaddya know, in the print dialog there’s an option to fit the document within the printable area. Document printed, convenience secured.

Now what I would like to know is how much of the print window in my desktop is governed by HPLIP, how much by Gnome, how much by CUPS, and how much by the application invoking it at the moment. So I did a little experiment: Always selecting my printer, I opened a print dialogue in Evince Document Viewer, OpenOffice.org (3.0.1), Firefox (3.0.7), The Gimp (2.6.5), Xpdf (3.02) which I intentionally installed for the purpose of this experiment, and gedit (2.24.3) (on which I’m composing this blog). Besides Xpdf, each appears to have the same base, and except for Evince Document Viewer, each also adds a function tab of its own. Xpdf, on the other hand, has its own stripped-down interface — either invoke the lpr command or print to a file.

Here’s a quick table listing the tabs listed in the print dialogs available in five, off-the-shelf standard installs of Fedora 10 software, with my printer selected, plus Xpdf, which was installed directly from the Fedora repositories without any modification of settings or whatever on my part:

OpenOffice.org*: General; Page Setup; Job; Advanced; Properties
Firefox: General: Page Setup; Job; Advanced; Options; Properties
Document Viewer: General; Page Setup; Job; Advanced
The Gimp**: General; Page Setup; Job; Advanced; Image Settings***
Xpdf: Xpdf has its own stripped-down interface
gedit : General; Page Setup; Job; Advanced; Text Editor

* There is an Options button in the “Page Setup” tab for OpenOffice.org.
** The Gimp treats my “special” PDF as an image much like any other, and automatically sizes it to the current settings, much like it would handle a .png or .jpg image
*** The Gimp has an option to ignore the margins; see above note

Not one, besides The Gimp, has an option to fit the document within the printable range, and The Gimp only indirectly, because of the way it seems to handle PDFs by default as an image to be manipulated. And of the others, to be fair, only Document Viewer and Xpdf deal with PDFs — even FireFox delegates PDFs to the Evince Document Viewer by default.

Then I did another little experiment: I installed Adobe Reader 9.1 (that license is interesting, pretty convoluted, and makes me wonder whether I may use the installation at all; in any case, I’ll be getting rid of it since I really only installed it for the purpose of this experiment, and decided a while ago that having 2 PDF viewers above and beyond that which is available in the basic distro installation is superfluous unless ther’s a particular reason for it.) And what do I see? A new print dialog that reminds me of the one I saw earlier on the windows box. Interestingly, it has “fit to printable area” and “shrink to printable area” options.

So my little experiment has led me to the following conclusions:

- many pieces of software, presumably not wanting to reinvent the wheel, rely either on the OS or I suspect, at least in this case, the desktop environment for its print dialogs;
- some software authors do want to reinvent the wheel, such as to “do it their own way”, or to be completely platform and environment independent, and therefore make their own dialogs;
- some software authors want to do extra things but don’t want to reinvent the wheel, so they have a wrapper for to add extra functionality to an existing base;
- in my documents, I shouldn’t try to stuff as much content as possible into each page too far, at least not by playing around with the margins.

Looks like something for the Evince authors to toss in. Assuming, of course, that — without fundamentally changing a document — resizing a PDF and/or its content to the local printer’s printing range is a really useful feature, such as to deal with awry margins, or PDFs sized for A4 instead of letter sized or vice-versa. :) And that such non-conformities and/or their prevalence make it worth my using the Adobe Reader, licensing issues aside. Or that another PDF reader out there that has that functionality.

Linux *is* breaking into the mainstream

Sunday, January 11th, 2009

Back in October I saw a billboard along the highway where (probably) hundreds of thousands of people see it every day. It advertised a French-language spell-checker that I’d never heard of, despite living in a French city — in fact, the second-largest French-speaking city after Paris — and being fluent in French; I’m a native-English speaker. Go figure, chalk it up to the two solitudes.

There was a marketing pic, and four words. In large, bold type, “ANTIDOTE” (the name of the spell checker.)

And, in smaller, grey type, “Windows Mac Linux”

I’m impressed. And it made all the more an impression since I’d never heard of the product and had to look it up.

It’s a small step, of course, but to me it underlines that there is appears to be enough desktop penetration for them to not only make Linux version, but to actually bother to mention that they have a linux version in their marketing as an apparent equal alongside Windows and Mac.