Download - TUX Issue8 Nov2005

Transcript
Page 1: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 1/54

ISSUE 8 • NOVEMBER 2005The First and Only Magazine for the New LINUX User

SUITED UP: EIOffice is a miraculous but little known office suite “Glue Linuxto Hardware”

“Not Calling forCivil Disobedience”

THIS MONTH’SMANGO PARFAIT:Our Druish JapanesePrincess explains how toplay Windows Mediasong files, how to installKDE on Ubuntu, one way

to use fancy keyboards inKDE and more....

Inkscape DesignEssentials Part Deux

xfce Makes a PowerfulLightweight Desktop

Put All Your UnorganizedThoughts in a BasKet

Gadget Guy Keyboards and Mice

Reviewed Evince, Evolution and NVU

Two Most OftenAsked Technical

Questions AnsweredNow you can learn one technique tomulti-boot many Linux distributions

and how to set up one of the networkcards Linux does not normally support

all thanks to TUX .

Two Most OftenAsked Technical

Questions Answered

Page 2: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 2/54

39 Inkscape

CONTENTSP2P

3 L i n u x o n H a r d w a r ePH IL H U G H ES

5 C i v i l D i s o b e d i e n c e a n d L i n u xN I C H O L A S P E T R E L E Y

7 L e t t e r s

14 Q & A w i t h M a n g o P a r f a i tM A N G O PA R FA IT

TUX EXPLAINS

19 L i g h tw e i gh t D e s k to p s : X f c eJ O H N K N I G H T

23 B a s K e t Tu t o r i a lRYAN PAUL

27 Wi r e l e s s N e t w o r k i n g w i t h n d i s w r a p p e rJ E S H A L L

31 G i v e M u l t i p l e D i s t r o s t h e B o o tN I C H O L A S P E T R E L E Y

39 I n k sc a p e: T h e E l e m e n t s o f D e si g n , P a rt I IJ O N P H I L L I P S

ISSUE 8

NOVEMBER 2005

REVIEWS

45 E v e r m o r e I n t e g r a t e d O f f i c e K i c k s K e i s t e r R I C K Y F R E E D L A N D E R

50 G a d g e t G u y :U r g e n t a n d K e y• M i c r o s o f t N a t u r a l

E r g o n o m i c K e y b o a r d 4 0 0 0

• L o g i t e c h M X 3 0 0 0 L a s e rS E A N C A R R U T H E R S

52 C a p s u l e R e v i e w s• E v i n c e• N V U• N o v e l l E v o l u t i o n X AV IER SPR IET

19 Xfce

23 BasKet

50

52

2www.tuxmagazine.com

NEXT MONTH• Last in our series of tutorials

on Inkscape• Use Klik to download and

install software• TUX talks with a leading KDE

developer about KDE 3.5

Page 3: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 3/54

A few months ago, I talked a bit about MicrosoftWindows vs. Linux in the context of which is easier.Well, TUX is here to help you use Linux, not to bashor even promote the other guys. There are, however,some valid comparisons that need to be made.

This month, I want to talk about what Applehas to offer vs. Linux. Although the Mac andLinux have close to the same market share, thereare some very significant differences. Thosedifferences may help answer some questionsthat you are asking.

If you look way back in computer history, peo-ple got their operating systems from the samevendor as they got their computer hardware. Thiswas mostly because operating systems were notportable between different types of hardware, so

it was only the hardware vendor that had aninterest. That is, the hardware vendors had todevelop the operating system in order to sell (orlease) their computers.

UNIX, the stepfather of Linux, initially carried onthis tradition as it was written specifically for a PDP-11 computer. UNIX, however, far outlived the practi-cality of the PDP-11 hardware, and UNIX proved

itself as a portable operating system.Linux carried on this tradition initially by being

written specifically for the Intel 386 processor. Therereally never was a lot of 386-specific design in Linux,and thus, it was easy for Linux to evolve as CPU

technology evolved. Because of this general design,it also was easy to make Linux run on virtually any-thing, including mainframes.

While this evolution was happening, Microsoftwas going the other way. That is, the Windows portsto the Alpha and MIPS chips faded away withoutmuch notice—probably because of the combinationof Intel’s huge market share of commodity hardwareand the unsuitability of the Windows platform forlarge-scale computer systems.

During all this excitement, Apple quietly ported

Mac OS from the Motorola 68000 processor familyto the PowerPC. Next, Apple announced that thecore of Mac OS would move from a unique Applecreation to a UNIX base. Now, Apple has announcedthat they are moving from the PowerPC to the Intelx86 chipset.

What makes this story particularly interesting isthat while other operating systems have changed

P2P

FROM THE PUBLISHER

Linux on HardwareIf more companies glue Linux to their hardware, Linux will conquer the desktop faster than ever.

PHIL HUGHES

3www.tuxmagazine.com

PUBLISHERPhil Hughes,[email protected]

EDITORIALEDITOR IN CHIEFNicholas PetreleyEXECUTIVEEDITORJill Franklin,[email protected] Antikajian,[email protected]

For Editorial inquiries, please write [email protected]

VP OF SALES AND MARKETINGCarlie Fairchild,[email protected]

MARKETINGDIRECTOR OF MARKETINGRebecca Cassity,[email protected] MARKET ANALYSTJames Gray, [email protected]

SALESADVERTISING COORDINATORLana Newlander,206-782-7733 ext. 2,[email protected]

For immediate information about advertising in thisdigital edition ofTUX or for information about bannerand text advertising on theTUX Web site, please visithttp://www.tuxmagazine.com/xstatic/advertising

CIRCULATIONCIRCULATION MANAGERKhris Goldberg,[email protected]

For immediate information about subscribing,renewing, or changing your method of deliveryor delivery address forTUX , please visithttp://www.tuxmagazine.com/xstatic/subscribe.

SSC PUBLISHING, LTD.http://www.ssc.com

A privately held company, SSC Publishing is the leadingLinux and Open Source authority, publishing referencematerials in these fields since 1983. Properties includeLinuxGazette.com, DocSearls.com, TUXMagazine.com,LinuxJournal.com,and the monthly international printmagazineLinux Journal .

Additional information can be found atwww.ssc.com.All product and company names featured in thispublication may be trademarks or registeredtrademarks of their respective holders.

Page 4: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 4/54

significantly at the user end, Mac OS hasmostly just grown as hardware capabilities

permitted that growth. That is, a Mac OSuser who was stranded on an island forten years would not have to start over touse today’s Mac. This certainly wouldn’tbe true of a Windows or Linux user.

Why the difference? First, Applestarted with the ideas of Xerox’s PaloAlto Research Center (PARC). Thisoffered a lot more of a plan than youcould expect from a software companystarting from scratch. But, all the more

important, Apple has controlled thehardware. That is, Mac OS runs onhardware that Apple builds and onlyon hardware that Apple builds.

Being able to have hardware designand software design happen in parallel isa big win. It means you can plan for anorganized progression in your productline. Customer feedback and requests canshape all aspects of future products ratherthan just one piece.

Now it is time for me to predict thefuture. Linux is reaching critical mass onthe desktop. Linux will be easy to getrunning on new computer hardware.And, today, hardware vendors tend toship an operating system with theirhardware. What will happen is that ahardware vendor will seriously embrace

Linux on desktop systems and that willstart the flood.

Linux isn’t new to hardware vendors.More than ten years ago, AMD startedusing Linux as part of its test suite fornew processor chips. IBM shipped Linuxon ThinkPad laptops. HP seems to be offand on with shipping Linux on somesystems. For IBM and HP, these clearlyhave been experiments. That is, Linuxfor servers has been taken seriously, butdesktops and laptops have been muchmore of an experiment.

There have been many reasons for thisbut the most obvious is that Linux wasnot ready for prime time on the desktop.Even today, we can debate whether it isready, but I think we can all agree that ifa large hardware vendor such as IBM, HPor Dell decided to take desktop Linuxseriously, any problems would be rectifiedvery quickly.

See the parallel? What I am saying isthat if the same company is responsible

for the hardware and the software, itgets so much easier to make Linux doeverything right and, in particular,everything the vendor’s customers areasking for.

Why would a vendor want to dothis? Profit and market share are twoconsiderations. First, hardware margins

are very low these days because the PChas become a commodity. Although

brand loyalty helps the big players (andthis loyalty is legitimate as companiessuch as IBM do a great job of support-ing their hardware), the premium youcan charge is finite. Market share is alot more interesting.

I am not suggesting a proprietaryversion of Linux here. The issue is justmaking Linux really support specifichardware. Today, when new hardware isreleased, the Linux community and com-

mercial Linux software vendors writesoftware to support these new features.The process works, but it would work somuch better if the hardware vendor wasdoing its Linux homework early in thedevelopment cycle.

What if a hardware giant startedoffering Linux-based hardware/software-integrated desktops for specific busi-ness markets? That could be lawyers,doctors, accountants or just about

any other well-defined office. Is thereanything holding this back? Today, Ifeel the only thing needed is for ahardware vendor to jump into theLinux desktop market seriously. I

Phil Hughes is Group Publisher for SSC Publishing, Ltd.

P2P

4www.tuxmagazine.com

Page 5: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 5/54

In this issue, Mango Parfait explains to areader how to play wma (Windows Mediaaudio files) on Linux. The process involvesdownloading a set of Microsoft codec filesand installing them on your Linux distribu-

tion. I don’t know of any Linux distribu-tions that include these proprietary fileswith their software. None of them wantto risk being sued for providing files thatmight be construed as encouraging cus-tomers to violate patents or end-userlicense agreements. Fewer and fewerLinux distributions are making these filesavailable from their package repositories,for the same reasons. Instead, they giveyou instructions on how to get these files

from another source, usually based inanother country where it is harder to pros-ecute the person(s) providing these files.

In this case, the problem is at leasttwo-fold, if not more complex. First, itrevolves around the fact that you needfiles that ship with Windows in order todecode music files in wma format. Whensomeone makes these files availableapart from Windows, it is possible thatsomeone who doesn’t own Windows will

download them and use them. This isillegal, and I also believe it is unethical.

Let me put it this way. If I buy books, Idon’t see how it harms anyone if I makea copy of one or more chapters of these

books for my own use. Heck, I don’t seehow it could harm anyone if I rewrite thechapters for my own pleasure.

I do not believe I have the right to makethose chapters publicly available, however.One could argue that to do so could helpor hurt the original publishers or authors.But it is up to them to decide whether ornot to publish sample chapters. It is not myplace to make these chapters publicly avail-able without their explicit permission.

Likewise, I don’t think it is right tomake parts of Windows publicly available.So, for the record (Microsoft lawyers,please read this carefully), I suggest thatyou do not follow the instructions inMango’s column if you do not own acopy of Windows. Do not download thew32codecs package and use it on Linux.

Now, what if you own a copy ofWindows? In that case, I do not see any-thing unethical about downloading and

using the w32codecs package. Youalready own these files, so what differencedoes it make if you download them? I’mnot encouraging you to download them,but I don’t see what harm there is in

doing so. Neither would it harm anyone ifI downloaded chapters of a book I alreadyown. So why shouldn’t I be able to do so?

The problem is that those who makethe w32codes package available make itavailable to anyone, not only those whoown a copy of Windows.

Now, suppose that someone created asystem where it was impossible to down-load this package unless you alreadyowned a copy of Windows? Would you

have a right to download the w32codecspackage? Not according to Microsoft.This is the second part of the problem.

Notice that I said I do not see any-thing unethical about downloading thew32codecs package. I did not say I seenothing illegal about it. In fact, it violatesthe end-user license agreement to usethese files on Linux, whether you down-load them or get them directly from yourown copy of Windows.

P2P

FROM THE EDITOR IN CHIEF

Civil Disobedience and LinuxThe editor in chief does not suggest that you violate license agreements and patent restrictions.

NICHOLAS PETRELEY

5www.tuxmagazine.com

Page 6: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 6/54

Microsoft defines Windows as some-thing you license, not something you buy,hence the company reasons that it cancontinue to control how you use the files

after you thought you purchased them.Of course, this doesn’t really make senseto any sane person (which, of course,excludes most lawyers). If I purchaseWindows at a software store, I get a salesreceipt. I don’t get a license or rentalreceipt. I bought a copy of the software justlike I would buy a book. Logically speaking,it’s mine, now, to do with as I please.

Microsoft, on the other hand, says youdon’t own it. Microsoft says it still owns the

software. You bought only the privilege touse it in the ways they have determinedyou can or cannot use it. Granted, you hadto agree to some outrageous terms whenyou installed Windows in order to finish theinstallation process. But I’d love to seemany of the terms in the end-user licenseagreement tried in a justice system whereoutcomes are never determined by whocan afford the best lawyers, or who canafford to stay in the game long enough to

bankrupt the defendant before the courtcan reach a just verdict.To reiterate the point, logically speaking,

I say you own your copy of the Windows“book”, and if you want to make copies ofa few chapters (or in the case of Windows,system files) and even modify them for yourown pleasure, you are not harming anyone.Microsoft says it owns your copy ofWindows and Microsoft alone has ultimatecontrol over how you use Windows files.

Given that you agree with me, here’s away one could solve the ethical side of thewma codecs problem without makingWindows files publicly available. Don’t

publish a package with Windows files, likethe w32codecs package. Publish a programthat copies the files from your Windowsinstallation (or the Windows installationCD) to the right location on your Linuxdistribution so that Linux can use them. Ifyou approach the problem this way, then(ethically speaking, not necessarily legallyspeaking) it exonerates the people whoown a legitimate copy of Windows. Ofcourse, if someone uses the program to

copy files from an illegitimate copy ofWindows, that’s a whole ’nother problem,and not worth addressing here, becausethat person is a law-breaker to begin with.

I’m sure you’re familiar with the expres-sion “void where prohibited by law”. Insome cases, this expression exists becausesomeone recognizes that an agreement isunfair and prohibits the agreement frombeing legally binding. Personally, I believethe Microsoft end-user license agreement

should be prohibited by law everywhere. IfI were encouraging civil disobedience, itwould be in the hope that Microsoftwould litigate against someone who violat-ed the end-user license agreement, losethe case and once and for all make theircurrent license agreement prohibited bylaw. That is, if I were encouraging civil dis-obedience, which I’m not.

Here’s what I am encouraging you todo. If you do not have songs in wma for-

mat, don’t create or download any songsin that format. If you have legally obtainedsongs in wma format and you want to useLinux to listen to these songs, here’s what

to do. Find a program that does not relyon Windows files to convert wma songsinto a nonproprietary format. Convert thesongs to a nonproprietary format and thenlisten to the songs on Linux.

What if there is no such thing as a pro-gram that converts these files without theuse of codecs found only in Windows? Ifyou have songs in wma format, it’s a no-brainer that you already have a copy ofWindows. But if you don’t, buy one. Use a

program on Windows to convert these filesto a nonproprietary format. I’m telling youto use the program on Windows because itprevents Microsoft from claiming you brokean end-user license agreement. Copy theseconverted files to media (such as a CD-ROM or DVD), delete Windows and thenlisten to the songs on Linux.

In principle, I would like to seeMicrosoft sue someone over the use ofWindows files on Linux, lose the case and

have its end-user license agreement tornto shreds. But it makes so much moresense to abandon proprietary formats ifyou’re using them or, better still, avoidproprietary formats to begin with.

Okay, I did the CYA thing as best Icould. Now do what you think is right. I

TUX Editor in Chief Nicholas Petreley is an author,consultant, programmer, award-winning columnistand Linux analyst for Evans Data Corp.

P2P

6www.tuxmagazine.com

Page 7: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 7/54

P2P

7www.tuxmagazine.com

Quicken Replacement?What has prevented me from fully switching over to Linux on the desktop isa financial program to replace Quicken. Can you please do a review of finan-cial programs for Linux in a future issue?--Andy

See the October 2005 issue’s article on GnuCash.—Ed.

GnuCash

I really like your magazine. I do not consider myself a newbie to Linux, but asfor the graphical interface program, you have taught me a lot. Anyway, Iwish to say, I read your article on GnuCash, and thought this is great. I am aKDE user, but for a program like this with a guide so well written, I am will-ing to switch to GNOME to activate it.

I am a Slackware user, and hence I needed to compile the source code. Iimmediately ran into a lot of compatibility issues and missing files/programsof GNOME (like gnome-config).

As a Linux user, I thought, well, if I am missing a program, I will upgrade my

GNOME program and have all the missing software. Imagine my surprisewhen after the upgrade, it is still not working and still missing files/programs.

I went and searched the Web for help, and found out that you should nottry to install GnuCash for any version above Slackware 9.0 and downgradesome GNOME features to what can be found on Slackware 8.1, and all thisis because GnuCash works only with GNOME 1 and not 2.

I believe that as a great magazine as you are, you should not writeon an absolute program, or a program that is known to be troublesome(mainly because of all the GNOME inconsistency in the software

upgrades). I would appreciate an article on a finance program thatworks. GNOME or KDE, but a tested program—or at least a warningthat this program will work only if you have GNOME version 1 andbelow or even a KDE version.--Adi

You do not need to switch to GNOME as your desktop to run GnuCash. The support files for older versions of GNOME coexist fine with recent versions of GNOME, so there is no reason why you can’t run older GNOME programs on

the latest version of GNOME.I believe the problems you are having stem from the fact that you are tryingto compile the program yourself. The foundation for GNOME is composed of a patchwork of many different projects, not a cohesive development effort by a single team. The projects aren’t always synchronized, especially after anew version comes out. That’s why it is hard to go back and find a set of older support libraries that work together properly for the GNOME program

you are trying to build. I know. I’ve tried it. Sometimes I’ve succeeded, other times I failed and gave up because it wasn’t worth the effort. It is much easi-er to use a Linux distribution with precompiled packages, because they’ve

worked out all these problems for you.—Ed.

More GnuCashI was pleased to see the GnuCash article published in TUX magazine[October 2005]. I wonder if the author might revisit it. My wife, you see,handles the accounts. I showed her GnuCash, and she reckons it needs away of importing the bank details that my wife downloads over the Internet.She reckons it’s worth buying MS Money for that capability, so she must bepretty serious about it! Help me, Obi Wan, you are my only hope.--Vik

LETTERS

Page 8: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 8/54

XandrosIn regards to Mr Danforth’s letter and the editor’s somewhat unwarranted

comments about Xandros [October 2005, Letters], I have to respectfully dis-agree. I am a “Windows Crossover Linux newb”. Being sick of the MSmonopoly and the malware games being played, I tried the Knoppix live CD.Impressed at what I saw, I went for the real thing. I installed SUSE, Mandriva,Ubuntu and Mepis, before settling in with Xandros 3.02 OCE. “It justworked.” I have installed it on five machines to date with no problems: twoeMachines with AMD chips, two Wintergreen Celeron boxes and a CompaqPII. It detected all the hardware and hooks up with the Windows machineson my home network just fine. The biggest problem I had was my lackof knowledge.

The install was simple, and I felt comfortable with the interface. The userforum is one of its strongest points. Lots of people in there are willing tohelp. Maybe Mr Danforth should have given it a try. Maybe he should havetried the OCE release first before making a purchase. It’s possible he mightbe singing a different tune.

Hardware issues face all distros. Xandros is not immune, but it worked forme. I had issues or just didn’t like the other distros I mentioned above, but Ididn’t go out and seek to discredit them. I tried another. I would think amagazine that boasts being for “the new user” would try to promote everydistro. There are a lot of satisfied Xandros users.

I feel the editor’s reply would have been in better taste if it were stated as“Sorry that didn’t work out for you, hopefully you’ll find a distro that does.”

(We can all wonder what would have happened if MS wouldn’t have paidCorel to drop this distro.)

This distro may not be what an old-school Linux user wants, but to all younewbs out there that are not satisfied with your current distro, take a closer

look at Xandros. It might just be “the one” for you. If not, keep trying. Youhave a choice. Hopefully there will be a Live CD with the next release. The

goal we are all seeking is the same.--Scott

I still don’t like Xandros. That’s my personal opinion, and nobody has toagree with it. I’ll glady say, retroactively, “I’m sorry Xandros didn’t work out for you. Hopefully you’ll find a distro that does.”—Ed.

More XandrosI’m writing to share my experience with Xandros Deluxe 3.0 and XandrosBusiness 3.0. I’ve had tremendous success with the Xandros distribution,

completely abandoning the Microsoft experience. Using Xandros 3.0Deluxe, we’re able to provide real-time support to Windows 98SE,Windows 2000 Professional, and Windows XP clients from our system.We use CrossOver Office Professional, DOSEMU, Win4Lin, Thunderbird,Firefox, Microsoft Word, Kword, etranscript from RealLegal.com (ourpersonal RealCAT real-time reporting software), and ALL our applicationsrun flawlessly, for which we’re eternally grateful to the Xandros peoplefor their distribution.

As for Mango Parfait, I personally look forward each month to her wonderfulcolumn from which I find inspiration, regardless of how others may feel. You

folks do a wonderful job, and for that please take the A+. As someone whocame from a Windows platform, Xandros was the right fit, making the tran-sition effortless. I’m not the only real-time reporter using Xandros in a court-room setting to provide real-time output to Windows clients, and eachreporter here doing so is thrilled with the total application solution packagewe’ve combined to meet our needs. Our advice to anyone unfamiliar with aLinux distro is seriously consider the Xandros distro to ease your migration.We can hardly wait for the Xandros Server to hit the market. I’m foreverthankful to be able to say “good-bye” to Windows.

P2P

8www.tuxmagazine.com

Page 9: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 9/54

If those who believe W indows is the be-all and end-all of softwarewould open their minds and take a close, long, hard look at Linux,

nobody in their right mind would ever use Windows again, IMO. Thanksfor a wonderful magazine.--Joseph A. Millikan

And, More on XandrosI read with horror of David Danforth’s experience of Xandros (and your not-so-helpful comment) in the Letters section of the October 2005 Issue. It wasvery unfair and unjust of you to give space to one person’s bad experience ofXandros and then have the audacity to add a negative comment yourself.This is journalism at its worst, since you haven’t backed it up with any facts.

You have tarnished the reputation of Xandros, because one person has had aproblem and you’ve labeled it a “Linspire wanna-be”! How biased canreporting get!

Perhaps you would like to include my letter so as to give a more balancedview. I am a newbie to Linux and bought Xandros in March, and my experi-ence is that of a great product. The file manager system has worked a treatfor me and has the benefit of integrated ripping, burning and copying ofCDs. Initially, I had a problem, but this disappeared after I replaced a faultymemory module. Yes, I have had a few other problems too, but these haveall been due to operator error (i.e., me!), or hardware that is specifically

designed for Windows (for example, onboard sound and a Canon scanner).The e-mail support was excellent, and there is a very helpful community onthe Xandros forum to help you out after the support period has expired. Thisis my personal experience—if you don’t like it don’t print it!--David Wrigley

I like it. We printed it. Diverse opinions are good.—Ed.

A RequestPlease consider publishing an article on how to use Windows software under

Linux. I am particularly interested in using my Shorter Oxford EnglishDictionary (SOED) on my Linux-only notebook.

A tutorial on how to set up and use WINE would be nice—and an exampleof installing and using the SOED would be even better.

Thank you for your time and efforts in producing a great resource for newLinux users.--Ed Paski

A how-to for different ways to run Windows programs on Linux is on our to-do list!—Ed.

InkscapeI’m one of the Inkscape developers and noticed a question on Inkscape inyour October 2005 issue that I can help address.

First, let me thank Nicholas Petreley for correctly pointing out that Inkscape isnot specific to GNOME or KDE. (The Inkscape Project works most closelywith Scribus, a Qt app.) It often seems like the KDE/GNOME division dilutesenergies; what we need are open-source applications that just work well

anywhere and can stand on their merits alone.C. Dempsey asked about the differences between the Windows and Linuxversions of Inkscape. We use exactly the same code base for both our Linuxand Windows releases, so in theory, the functionality should be identical onboth. In practice, we find that the Linux version works better for the simplereason that we have more developers on Linux than we do on Windows cur-rently. Thus, issues on Linux get fixed faster than on Windows.

P2P

9www.tuxmagazine.com

Page 10: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 10/54

Judging from our download stats, it looks like there’s a LOT more Inkscapeusers on Windows than on Linux, so it’s strange that we don’t have nearly as

much development participation from them. Maybe it’s just a cultural thing.Anyway, beyond just plain-old bugs, there may be differences in theimport/export functionality of Inkscape between Linux and Windows.Many of the conversion programs we use for import/export are themselvesopen-source applications, which may not have Windows versions. On theother hand, there are MANY very powerful conversion programs availableon Windows commercially, and Inkscape can be configured to detect anduse them.

Why should Linux developers and users care about Windows ports of one of

their applications? Simple: it removes one more hindrance for users who willwant to convert to Linux later.

On the topic of conversion support, it may be interesting to TUX ’s readershipto learn that Xara is sponsoring an open-source project to create a tool toconvert between their program’s XAR format and SVG. See the Sep-22 itemat http://xara.com/press . I hope the approach being taken here inspires simi-lar efforts to improve document-level interoperability elsewhere.--Bryce Harrington

I Hated, I Read, I Learned, I Installed, I LovedA bit of a strange subject line I know, But then again, we are Linux users—we have to be strange....Right!? Your magazine is great, and I read everyissue at least four times. I’m a bit slow I guess. Either that or I just enjoyreading it. Either way I finally decided after seven issues it was time for me toput my two cents in, okay maybe a buck fifty.

First off, I hate seeing people complain about TUX and what it writes about.Don’t like it? Write your own e-zine.

Second, I love Mango. She’s just the type of smart-**s woman that theworld needs. I mean, just because somewhere in history someone said men

have two brains, most of them think that men for some reason must besmarter. “And yes I am a guy.” I just think those “men” are jealous ofMango’s cool avatar in TUX magazine.

Lastly, I’d like to add some of the stuff I use here at home to help me out. Iuse MPlayer a lot, and I also love my modded Xbox. So I created some scriptsto help me out with both.

First MPlayer or rather mencoder/mplayer. I rent and watch a lot of movies, andmost times I don’t have time to watch them all before they are due back. So I liketo copy my rented DVDs to my laptop for future watching. (No I don’t condone

the illegal copy and distribution of DVDs.) I’m a watch once and that’s prettymuch it type of person. I have a handful of movies I can watch more than once.Dark Crystal , Labrynth, anything with Angelina Jolie and a few older movies.

This script copies the DVD to my hard drive:

#!/bin/bashecho "Enter movie title"read moviemencoder -oac copy -ovc copy dvd://1 --dvd-device /dev/hdc -o $movie.avi

Then, chmod 711 the script file and cp it to your /usr/bin folder. Now you cantype cpdvd , or whatever you named it, from any directory as any user andcopy the movie in the DVD drive.

For some distros like Slackware you may have to mount the CD first anduse the /mnt/cdrom instead of /dev/hdc or /dev/dvd. Great e-zine, anddon’t let Mango quit.--Jeff L. Richtman

P2P

10www.tuxmagazine.com

Page 11: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 11/54

Opera TipIn the June 2005 issue, I read the letter from Valerie Higgins about the missing“eye” in Opera for adjusting viewing size. The best thing is too use the short-cut Opera provides. It’s easy and a lot faster than using the mouse. Increasingthe viewing size is done with the Numeric + key or the 0 key. Decreasing theviewing size is done with the Numeric - key or the 9 key. If you press Ctrl-B inOpera, you will get a overview of all the keyboard shortcuts.--Kai Stian Olstad

Polling ProblemsI don’t know what your opinion regarding actively encouraging one’s usersto participate in a poll is, but I suppose that your recent Readers’ Choice

Awards [September 2005] has been faulted without your knowledge.When DesktopLinux received lots of incoming votes for Yoper, the editors discov-ered that Yoper was actively pushing its users toward voting for it, thereby flawingthe results: http://www.desktoplinux.com/articles/AT2127420238.html .

As a reaction, DesktopLinux decided to exclude Yoper from that competition:“our readers were quick to report a fishy smell, and a trip over to Yoper’s homepage today turned up evidence of a well-intended but survey-busting tendencyto encourage Yoper users to boost Yoper’s standing in online polls.”

I was recently surprised by PCLinuxOS’s excellent result in your user’sawards, but reading through their forums I discovered an unpleasantexplanation. You will understand what I mean after skimmingthrough this thread: http://www.pclinuxonline.com/modules.php?mop=modload&name=Splatt_Forums&file=viewtopic&topic=7277&forum=50

To make my point clear, I provide a few quotes:

“If you haven’t already please go to http://www.tuxmagazine.com/ TUX_Readers_Choice and vote for PCLinuxOS.”

“Done—twice ;-)”

“Bump. Sorry guys but I want to keep this thread visible for the next week oruntil the voting closes.”

“No problem. I’ve set the thread to Sticky.”

“Thanks yama, but that doesn’t keep it on visible on the index page inRecent Posts. I’ll unset the sticky when the voting ends.”

Now I wonder whether this is fair to the other distributions. Posting a news storyto tell the users that there’s a poll going on is one thing, but spamming themwith constant voting incentives surely distorts the results. Ubuntu and SUSE

haven’t done anything like this, and neither have lower-ranked distributions doneit (I suspect, although I obviously haven’t been able to check them all).

Seeing this, one gathers the conclusion that the poll has been partly sabotaged.Maybe TUX magazine can publish a disclaimer, or something even better, to makethe situation clear to the audience (whilst mentioning that PCLOS is indeed a niceeffort, just probably not the third of them all)? This would surely raise the overalllevel of respect the readers have toward the magazine and the data it provides.--Juergen

Thanks for pointing this out. We will be discussing various ways to minimizethe possibility of this sort of thing happening again.—Ed.

Lightweight DesktopsI really enjoyed that you included an article on lightweight desktops in yourSeptember 2005 issue. I have been using Linux on my desktop computers forabout five years now, and while I started with KDE, I have found that thelightweight alternatives accomplish pretty much the same end results, justwithout the eye-candy and occasional handy desktop tool. I think it ought tobe mentioned that distributions like Vector Linux are absolutely wonderful

P2P

11www.tuxmagazine.com

Page 12: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 12/54

for lower-end and older hardware.

Although Mepis and Ubuntu are great for machines that can handle KDE orGNOME, respectively, the default window manager in Vector Linux is IceWM,which makes my lowly 400MHz laptop scream with speed (well, compared tohow it used to perform with Win98). And as with Mepis and Ubuntu, VectorLinux is available for free and is geared for the nontechnical user, although thegurus can appreciate it as well. If you are using something like Fedora, Mandrivaor SUSE, you owe it to yourself to check out one of these lightweight distributions(live CDs are nice) and see how fast your machine can become!

PS: I am not affiliated with Vector Linux and do not work for them, and I normallyrun Arch Linux, which I love, on my main P4 desktop. I just find that Vector is agreat distribution, and I feel your readers should know about it.--Marko Vidberg

NeroLINUXI know it’s been said before, but your magazine is like a breath of spring to usnewbies (I wish there was another way of describing us, as it’s a bit of a putdown to someone who has been using computers since the days of the ZX81).

Anyway, to the point—you have renewed my interest in Linux, and so I won-der if you could let your readers know about NeroLINUX for copying and

burning CDs and DVDs. And like Nero for Windows, it does everything; it istruly amazing. I downloaded it from http://www.nero.com , it compiled andworked on my distro (Mandrake...sorry Mandriva 2005 LE) the first time, andI was able to burn an iso of over 650MB in just under 2 min. 30 secs.

NeroLINUX is free to download till the 30th of November 2005, and then onoffer at $19.99 US. I would advise people to have a look, download, try itand see what it can do, and then make up their own minds whether theywant to buy. Thank you again for the light at the end of the Linux tunnel.--Chris Porter

MetadotYour September 2005 article on Metadot is the worst piece of article I readso far from your fine magazine. The whole article reads like an ad copy. Bythe end of the article, I still haven’t learned anything that’s unique aboutMetadot. All the article said was how it helped so and so, and provides easychanges to Web sites and low costs. How is that different from what anyother open-source portal system offers?

Why is Metadot good? The article didn’t mention anything about the softwareor hardware requirements. Nor did it detail its architecture, or the technologybehind it. And it didn’t offer anything useful, like a sample installation ofMetadot or a run-through of its features. It totally breaks from TUX ’s usualhands-on approach to articles. And worst of all, the article is a bore to read. Ifelt like it totally wasted my time. Please keep up the good work with the restof the magazine, and refrain from accepting any more articles like Metadot.--Yi

I’m sorry you didn’t like the Metadot article. I installed it and tested it tomake sure it was a good piece of software before I allowed the article to be

published. I can’t write a review for you in response to your letter, but as I said in my column in the same issue, it was not easy to install, but I thought it was terrific once you have it running.—Ed.

TUX and MangoI have read TUX since it first came out and like it very much. My distro is

Linspire, and I really liked the review in the August 2005 issue of TUX . I wasable to install Linspire (then Lindows) and was delighted that it recognizedeverything on my no-name, homemade PC. I have installed and used variousLinux distros, but Linspire was by far the favorite just because of the CNRwarehouse. Linspire is not as configurable as distros like SUSE 9.2 (I really likeYAST), but CNR is the wave of the future.

I would also like to voice my support of Mango Parfait. I like her suggestions(like the quick browser) and even like her seasoning of humor. Being a KDE

P2P

12www.tuxmagazine.com

Page 13: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 13/54

fan myself, I don’t mind the friendly pokes at GNOME. I am sure there aremore KDE people who like her columns than the noise of the GNOMEaddicts would lead you to believe. Thanks for producing TUX and keep upthe good work.--Paul Pratt

Greetings from Costa RicaI would like to let you know that TUX magazine rocks! It’s now my first refer-ence source for Linux and open-source information. Every word in the maga-zine is worth the download from your site (especially if you use a dial-up). Icannot figure out how I lived without it in the past.

I remember those old days when I first came to the Linux world, and using a333 Celeron machine, tried to install Red Hat 5.0—how difficult it was.

Your magazine makes it easier for me. In fact, I am willing to share it withsome folks here so they can learn the TRUTH, and that is that Linux rocksand Windows su***.

It is a pleasure to to read your articles. What else can I say? KUDOS to every-body at TUX magazine. I also enjoy reading Mango Parfait...we have a lot ofmangos (fruit) here in my country. Pura Vida amigos , Feel the Force and usethe real Linux power.

--NAVEGADOR

Mango Is a GoddessI just wanted to say I’m like SOOOO into TUX magazine and especiallyMango Parfait, who is like a goddess to me. I’ve been using Mandrake (oh,’scuze me, Mandriva now) for like three years and have been totally wantinga magazine like PC World , which is what got me started on Windows thesemany years ago. And now I have TUX , with all kinds of great articles an awe-some wannabe Linux high priestess like me can use. I LMAO at those guyswho say they don’t like Mango or her humour, I mean it’s just SOOOO totally

obvious they’re just mad because they haven’t had a date with a cuteLinuxchick since like, wel l, ever, and anyway, most techie magazines are toostuffy and self-important anyway, so I’m like psyched that TUX doesn’t havea giant USB stick up its butt or anything. If I ever meet Mango, I’m going tototally treat her to like a HUUUUGE mocha cappuccino latte espresso venti orsomething. She rocks!--Frenchy

SuggestionsAs an experienced Linux user, I still find some useful information in TUX magazine, and I also enjoy the full-screen PDF display, which unlike othere-documents, is very easy to read. However, I have a couple of suggestionsto make TUX even better:

1) Build an article index on the Web site, so that a reader can easily find arti-cles on the various topics. While direct links to articles would be great, even

just listing the issue of TUX and a page number would be a help.

2) Lose Mango Parfait. Her style is really not appropriate for a tech-supportcolumn. If I’m looking for a solution to a problem, I don’t want to be talkedto as though I were a child. I’m also really not interested in the stupid com-ments she sometimes makes.--James Knott

Shiznit?Apparently your magazine is read by a bunch of humorless saps. MangoParfait’s column is the shiznit. Imagine that, someone is actually writing abouttechnology with a sense of humor and good-hearted name-calling. She makesme laugh, and that’s a good thing. Those dissenters that have spammed youwith hate mail need to, hmmm, I don’t know, get out into the sunlight andhave fun sometimes. Maybe then their lives wouldn’t be so miserable.--P3RR1N

P2P

13www.tuxmagazine.com

Page 14: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 14/54

Otaku finally quit playing Everquest II . He says the companychanged the game, and it is more like work than play. Does hepay more attention to me because he does not play Everquest II ? No. Now he plays World of Warcraft . He made me try it. Ido not want to admit it, but it is very fun. Now we fight overwho gets to use his Windows PC to play. I play a druid. Mydruid is very pretty. She is an elf with bright blue hair like minebefore I dyed it yellow. A druid can change into a bear. Thebear is not pretty, but it is fun to fight as a bear. Now Otakucalls me his Druish Japanese Princess. I think this is romantic.

Otaku took me to lunch. I eat Otaku’s french fries. I likefrench fries with vinegar and extra salt. Otaku says he will noteat french fries because they are fried in Greece. I think he iswrong. Why do they call them French fries if they are fried inGreece? Otaku tells me a story while I eat them. He says a mangoes to the doctor. The doctor says the man has only sixmonths to live. The man asks, “Is there anything I can do?”The doctor says, “You can marry a Druish Japanese Princessand move to Iowa.” The man says, “Will that help?” The doc-tor says, “No, but it will be the longest six months you everlived.” Otaku asked me if I know what that means. I am notsure. Maybe he is telling me he wants to get married, but I donot know why he wants to live in Iowa.

I know what your questions mean. I always like your ques-tions. Please send me more.

Q Dear Mango, I have a music collection that I collected foryears, and it would be difficult, if possible at all, to collect

it again. And the major part of that collection is made in wma[Windows Media Player] format. Is there any player to play orother software to make a different format of these files? I foundseveral scripts that make MP3s of them, but transition of onesong takes half an hour—I really do not have patience like this.

The next question I have is how to make my machine useGNOME and KDE on one platform—is it possible to [do thiswith] Ubuntu?

Thank you in advance, and I wish the best luck for TUX andyou personally. —Gytis, Lithuania

A Dear Lithuania Gytis, I like your name. Lithuania soundslike a girl’s name so I think you are a girl. May I call you

Ms Lithy? Maybe not. Maybe people think your name is Lizzyand I have a lithp.

Okay, Lithuania, let me answer your questions. First, I seepeople say IANAL and I think they say “I anal”. I look up analin the dictionary and I see that it can mean meticulous andcareful. I am meticulous and careful, so I say, “Hi, I anal too.”Now I learn IANAL means I Am Not A Lawyer. It is true. I amnot a lawyer. So I still say “Hi, I anal too.”

I tell you this because I do not know if you break the law byplaying wma files on Linux. I do not think it is breaking the law,

P2P

Q&Awith Mango ParfaitUbuntu and Kubuntu dominate Mango’s attention this month as she explains how to install KDE on Ubuntu,how to make these distributions play Windows media files and more. MANGO PARFAIT

14www.tuxmagazine.com

P2P

Page 15: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 15/54

but I anal. Many Linux distributions do not want to take thechance, so they do not include the packages you need to playwma files or DVDs. This does not mean you can never play wmafiles on Linux. But you have to be responsible for making it workso that Ubuntu is not arrested by the patent police. We printedyour name, so I suggest that you change your name if you areafraid of being arrested by the patent police. Abyssinia is a nicename. I could call you Abby.

The Ubuntu Web site gives instructions on how to play wmafiles. Do not follow those instructions. They do not work any-more. I copied those instructions and made some changes to theinstructions to make them work. Here is how to make the HoaryHedgehog version of Ubuntu (Ubuntu 5.04) play wma files.

Open a terminal and run this command:

$ sudo gedit /etc/apt/sources.list

If you like a different editor more than gedit, use your favoriteeditor instead. Add the following line at the bottom of the file:

deb ftp://ftp.nerim.net/debian-marillat/ etch main

Then save the file. Now run these commands (each time yourun a command with sudo, you have to type in your password):

$ sudo apt-get update$ sudo apt-get install w32codecs

Now you want to remove the line you added because it canmake trouble for you later. Open the file again with this com-mand (or use your favorite editor instead of gedit):

$ sudo gedit /etc/apt/sources.list

Delete the deb ftp://ftp.nerim.net ... line that youadded. Now add this line instead:

deb http://us.archive.ubuntu.com/ubuntu hoary universe multiverse

If you are running the latest version of Ubuntu or Kubuntu,add this line instead of the one you see above:

deb http://us.archive.ubuntu.com/ubuntu breezy universe multiverse

Save the file and exit the editor.Now you need to run these commands:

$ sudo apt-get update$ sudo apt-get install totem-xine gstreamer0.8-misc gstreamer0.8-plugins$ sudo apt-get install gstreamer0.8-mad gstreamer0.8-ffmpeg libmad0$ sudo apt-get install msttcorefonts libdvdread3$ sudo /usr/share/doc/libdvdread3/examples/install-css.sh$ gst-register-0.8

Some of these commands make it possible to play wma files.Some of these commands are for making it possible to watch aDVD too.

Now you can play your wma files with the Totem player orthe GNOME music player (Rhythmbox). You cannot play wmafiles if they are encrypted to use digital rights management. I donot know any way to do that in Linux. You can play only wmafiles that are not encrypted.

It is very easy to run KDE on Ubuntu 5.04 (this works for Ubuntu5.10 too). Here is how to install KDE on Ubuntu. Run the Synapticpackage manager by clicking on System → Administration → SynapticPackage Manager from the GNOME main menu. Type in your pass-word. Click the Reload button in the toolbar. Select KDE DesktopEnvironment in the list on the left, and select kde-core in the list onthe right (see Figure 1).

Click on the check box and tell Synaptic that you want toinstall kde-core. Synaptic will want to install many more pack-ages. This is okay. This installs everything you need to run thebasic KDE programs. I am certain you will want to run manymore KDE programs. Browse through the list and pick other

P2P

15www.tuxmagazine.com

P2P

Page 16: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 16/54

packages to install, like kdegraphics, kdemultimedia, kdenetworkand more. You can even install packages to make your systemlook like Kubuntu instead of Ubuntu, but this is not necessary.

If you run KDE, you can use the instructions above to playwma files with KDE music players like amaroK. The totem-xineprogram uses many GNOME packages. If you are adding KDE toUbuntu this is okay. If you are running Kubuntu, you do nothave to install totem-xine. You can install xine-ui instead.

Q Hello dear Mango, I’m a new TUX reader and I like your col-umn. As I managed to run my Canon IP4000 printer without

having to buy Turbo Linux, you’ve become my favourite Linuxexpert. Unfortunately, I’m a clumsy (almost) new Linux user....I’mrunning Kubuntu, and I’m using KDE (who would have guessed!).I do have some challenging questions to ask, so, here we go.

Question 1: I own a multimedia keyboard, namely a LogitechCordless Desktop LX700, which seems to be unsupported underLinux....When I go to the KDE Control Center, a lot of Logitech

keyboards are listed, but when I select a “Cordless Desktop”entry, only a few multimedia keys are supported. I just wonderedif you had a tip or two to have my nice multimedia keys running,without having to do weird stuff like recompiling the kernel orsummoning a coder’s good will.

Question 2: My computer is equipped with a SoundBlasterLive! card and a set of four speakers. It’s running perfectly wellwith ALSA, but, when I lower or raise the volume, using KMix orwhatever sound manager, the volume changes only on my frontspeakers, leaving my rear speaker yelling....Is there a way to linkthe global volume of the sound card to PCM & Surround? (Justlike its Win****’s behavior?)

Question 3: I have a Webcam, like many other people, butmine is an old one: it’s a Philips Vesta Pro. It runs on USB 1.1. Iwould like to try video conferencing, but I’m facing two prob-lems: 1) when I plug the Webcam in to the computer, the systemuses it as the default sound card. On top of that, it’s leaking USBbandwidth and I’m not able to connect even a simple pen drive. I

just think a driver for this device would help, but I can’t find one!2) What video-conferencing software would you recommend?

Thank you for reading this very long mail, and I hope myquestions were desktop-related enough for you to answer.

Oh, by the way, I’m a Cowboy Bebop and Ghost in the Shell fan, and a FLCLand One Piece addict (I hope these aren’tflaws). —Yours, Etienne

AYay for Cowboy Bebop , Ghost in the Shell , FLCL(Fooly Cooly ) and One Piece ! I like other anime more but I like

Cowboy Bebop and One Piece a lot. Especially One Piece . Otakulikes Ghost in the Shell . He is always talking about how Matrix isa cheap copy of Ghost in the Shell . I do not care. I like Matrix ,too, but only the first movie.

These are not flaws. These things tell me that you are sophisti-cated. To readers who are not sophisticated and do not knowwhat we are talking about, these are all anime (Japanese car-toons). One Piece is about pirates and magic fruit that makes onepirate stretchy like Mr Fantastic in Fantastic Four . Did you know

P2P

16www.tuxmagazine.com

Figure 1. Install KDE with Synaptic

P2P

Page 17: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 17/54

that you can watch Naruto and Bobobo-bo Bo-bobo in Englishnow too? Naruto is fun and Bo-bobo is even more crazy thanCromartie High , one of my favorite mangas (Japanese comics). TheCromartie High TV cartoon is funny too, but the manga is funnier.

Thank you for your kind response about my instructions onhow to set up a Canon printer in the August 2005 issue of TUX .

Okay, let me try to answer your questions.Answer 1: You can turn off KDE keyboard layouts and use a

program called lineak. Install these programs from the packagemanager or command line:

I lineakd

I lineak-defaultplugin

I lineak-kdeplugins

I lineak-xosdplugin

lineak supports many keyboards, and I think it supportsyours. It is not easy to configure lineak. You have to create aconfiguration file and edit it to make it work the way you want.The KDE plugins make this easy if you do not mind creating andediting configuration files. The complete instructions are toocomplicated to explain in detail, but here are some commandsto help you get started. Type this command to look at the list ofkeyboards that lineakd supports:

$ lineakd -l

You will see many, many Logitech keyboards. Most of thekeyboard names do not match the product names exactly. Forexample, the Microsoft Natural Multimedia Keyboard 1.0A islisted as Microsoft Multimedia Keyboard 1.0A. The lineakd pro-gram leaves out the word Natural, but it is the same keyboard.You may have to pick a Logitech keyboard definition that doesnot match yours exactly, even though it is the same keyboard.

Just for example, maybe your keyboard is the same as theLogitech Cordless Desktop Deluxe Optical. You will find thisentry in the list of keyboards:

LTCDDO Logitech Cordless Desktop Deluxe Optical

Now, you create the lineakd configuration file. Use the fol-lowing command (it uses the abbreviation in the list to create aconfiguration file):

$ lineakd -c LTCDDO

Here is the hard part. Now you have to edit the configuration fileto make it do what you want. The file is called ~/.lineak/lineakd.conf.Open this file with your favorite editor, and you will see entrieslike these (here are just a few examples):

AudioLowerVolume =AudioMute =

See how the definitions are blank? You have to fill these inyourself. Do not worry, it is not as bad as it seems. Type thiscommand:

$ lineakd -L

This lists all the built-in commands you can use. Here aresome example definitions matching the example keys above:

KMIX_VOLUPKMIX_VOLDOWNKMIX_MUTE

If you are using KMix as your mixer, edit the file to look like this:

AudioLowerVolume = KMIX_VOLDOWNAudioMute = KMIX_MUTE

P2P

17www.tuxmagazine.com

Page 18: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 18/54

TUX EXPLAINS

Page 19: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 19/54

In the second installment of this series, weexplore the increasingly popular Xfce desktop[see John Knight’s “The World Beyond KDE andGNOME” in the September 2005 issue of TUX for more on lightweight desktops]. In the wordsof the user manual, “It aims to be fast andlightweight, while still being visually appealingand easy to use.” If you’re tired of the bulk ofKDE and GNOME, but still want eye-candy, thisis the desktop for you. With the ability tochange the desktop background and windowmanager easily, Xfce is pretty and trim withoutmaking you feel l ike you’re compromising.

LOOKING AROUNDXfce started out as a CDE clone, the CommonDesktop Environment based on Motif. Althoughit has evolved into a much more powerful win-dow manager, it still will be familiar to anyonewho has used HP-UX or other flavors of UNIX orUNIX-like systems that adopted CDE as thedefault window manager.

At the bottom center of the screen is theXfce4 Panel (from here on referred to simply aspanel). This panel contains a number of icons, allsorted into different tasks, like a file manager,music player, settings manager and so on. In themiddle of the panel is a desktop pager thatallows you to switch between all four desktops,KDE- and GNOME-style.

At the top of thescreen is the taskbar.Not only does it allowyou to switch betweenwindows, but clickingon a window’s buttonallows you to minimizeit as well. At the farright of the taskbar, is asmall icon: this is calledSession control, and itlets you browsethrough all of youropen windows andkill any windows thathave crashed.

At the bottom rightis something called theLil’ Star - Iconbox (oriconbox for short). Thisdisplays the icons of allyour minimized win-dows on all desktops,although it can be customized so that it displaysthe icons of all windows, sits somewhere else andso forth. If you hover the mouse pointer over oneof the icons, a small dialog box appears that tellsyou the name of the application it represents.

If you click your middle mouse button on thedesktop, a list of all your desktops and their win-

dows appears (press down on the scroll wheel ifyou have a wheel mouse, or click both the leftand right mouse buttons at the same time if youhave a basic two-button mouse). If you click yourright-mouse button, the Desktop Menu appears.This menu should contain a fairly comprehensivelisting of all the applications you have installed,

Lightweight Desktops: XfceXfce takes the Common Desktop Environment to new heights as an alternative desktop environment.

JOHN KNIGHT

19www.tuxmagazine.com

TUX EXPLAINS

Figure 1. The Default Xfce Desktop

Page 20: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 20/54

TUX EXPLAINS

Page 21: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 21/54

and make your way to /usr/share/icons. Thereare hundreds of icons to choose from, butright down at the bottom, there should beone called xine.xpm, which will suit ourneeds perfectly.

5. Click the close button, and Xine is readyto play! Feel free to try it out, and thenwe’ll add on a submenu with RealPlayerand VideoLAN.

ADDING A SUBMENU

1. Right-click on the Xine icon and chooseProperties again.

2. If it’s not already checked, check the box thatsays Attach menu to launcher.

3. Left-click on the new side menu and chooseAdd launcher.

4. Add in the command and choose anothericon. It will be basically the same as withXine, but this time, enter realplayer inthe command section and RealPlayer in thecaption section.

5. For VideoLAN, repeat the steps for RealPlayer,but use vlc for the command, and VideoLANas the caption.

If any of these buttons don’t work, you probablydon’t have the program installed in the firstplace. To remove an entry, simply right-click onthe item and choose Remove. Now that you’vestarted to change the environment to suit your

needs, let’s add a realpersonal touch withthe way windows feel.

WINDOW MANAGERWe’re about to delveinto the SettingsManager; open itfrom the panel andchoose the WindowManager option. Youare now presentedwith a plethora ofDecoration styles, andthese will define howyour windows willlook. My favorite isagua, but feel free tochoose whatever youlike. On the right isan option for chang-ing the Title font. Thislets you play aroundwith the text at the top of your windows,allowing you to change the size and feel. If youlook around, you’ll see some more advancedoptions too; feel free to play with them ifyou’re interested.

USER INTERFACEThe Window Manager utility changed your win-dows’ border, and this utility will change theinside parts of a window: font, sliders, tabs andso on. Under the Theme section, there are a vastselection of choices; I like SphereCrystal. If youwant to change the font, there is a button forthat on the right. For my own environment, I

use agua for my window manager,SphereCrystal for the user interface theme andthe Sans font at size 10 (Figure 3). There arehundreds of combinations when it comes tolooks, and it’s well worth experimenting.

ADDING DESKTOP ICONSAdding desktop icons is fairly easy, but beware,as Xfce wasn’t designed around having them,you will lose your right- and middle-clickmenus. First, in the Desktop folder in yourhome directory, make a new folder calledAutostart (keep the correct capitalization). Withyour favourite text editor, make a new file in

21www.tuxmagazine.com

Figure 3. My own taste in aesthetics—notice the cool Button Layout section?

TUX EXPLAINS

Page 22: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 22/54

the Autostart directory (we’ll call it icons forthis, but call it whatever you like). Enter yourdesktop icon choice in the file and save it.

Desktop icon choices:

I KDE users: kdesktop

I GNOME users: nautilus -n

I DFM users: dfm

The icons file now has to be made executable.If you’re using Konqueror, right-click and choose

Properties. Click on thePermissions tab, andcheck the Is executablebox. Under Nautilusand Xffm (Xfce’sdefault file manager),do the same, but inthe Permissions tab,check the Execute boxin the Owner section.

COOL FEATURESXfce acts not only as areplacement for biggerdesktops, but it hasplenty of unique touchesof its own. See thatprinter button on thepanel? Simply drag afile onto it, and itprints! (Note, this worksonly with Nautilus andXffm, not Konqueror.)For users who frequentlyuse multidesktops,

switching between them is easy. Aside from clickingon each space, you also can use the keyboard or themouse wheel. Hover your mouse over the desktoppager, roll your mouse wheel in either direction andyou will flit between them. If you want to use yourkeyboard for this, press Ctrl-Alt-left/right arrow.

If you click on the icons in the pager, you canactually drag them to other desktops from withinthe pager itself. For the ultimate control freak, youcan even change around the buttons on your win-dows’ title bar. As you may have noticed in theWindow Manager utility, here you can choosewhich buttons are visible and invisible, and even

what order they’re in.As you can see, Xfce isn’t only a lightweight

window manager, it i s becoming a full-blown rivalfor GNOME and KDE. Xfce contains innovationsunique to itself and doesn’t suffer from the samelegacies that GNOME and KDE have, allowing fora fresh new environment. The speed increase isquite noticeable for users of 3-D games and videoapplications; rendering was much faster thanunder KDE, especially with 3-D screensavers. Itmay be a put-off if you’re desperate for desktopicons, and losing the desktop menu if you do, butthis desktop is gaining seriously popularity and forgood reasons. We’ve barely touched the featuresin this desktop, and ultimately the best way tolearn your way around is to explore and have fun.

FINAL NOTEA package called Rox is now becoming the standardfor desktop file managers with lightweight desktops,and usually gets around the pesky right-click prob-lem. Unfortunately, it has problems with Xfce, due toRox conflicting with another program, xfdesktop. Ifyou still want to use Rox with Xfce or another light-weight window manager, try this command:

$ rox --pinboard=Default &

Keep your eyes open for Rox in futureinstallments of this series. I

John Knight is a 21-year-old, rock-climbing, Japan-loving megalomaniac,trying to take over the world fromhis bedroom via his keyboard. Hespends most of his time tinkeringwith MPlayer and headbanging tohis MP3s.

22www.tuxmagazine.com

Figure 4. Making the icons file executable, using the lightweight Xffmfile manager.

TUX EXPLAINS

Page 23: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 23/54

23www.tuxmagazine.com

Organization is no trivial task. How does one keeptrack of the myriad figures, facts and files thatseem to fill our digital lives? As a journalist, I tendto accumulate information. With more than a thou-sand Web pages in my browser bookmarks, I canalmost never find what I need. I often drop quota-tions and URLs in temporary files so I have them forfuture articles. Over time, the number of temporaryfiles has become obscene, and I can no longerscrounge up the data I require in a timely manner.

A number of excellent, open-source data man-agement utilities are available for Linux. Many ofyou are probably familiar with Tomboy, a handynote-taking application for GNOME. Tomboy sim-plifies information control, but its GNOME biasand awkward spatial interface make it a poorchoice for KDE users. When I use KDE, I rely uponBasKet, a versatile data management tool with agreat interface and lots of nifty features. If youneed a better way to keep track of notes, images,URLs, files, folders and applications on your KDEdesktop, BasKet is the tool for you.

ADDING CONTENTBasKet enables users to deposit data snippets inindividual containers, aptly called baskets. Theapplication displays the contents of each basket inan associated tab within the interface. Users candrag or paste existing objects into the baskets orcreate new objects for direct insertion.

The first time you start BasKet, you will seea default, empty basket tab for clips and notes.Let’s add an object and see what happens. Fireup Firefox and navigate to your favorite Website. Click the icon that appears to the left ofthe URL, and drag it into the white space ofthe BasKet window. When you let go of themouse, a link to the URL appears in the list.When you click that link, the page launches inyour default browser.

Now, let’s try to add some text from the page.Highlight a paragraph of text, then drag the high-lighted content to the BasKet window. As youhover over the drop space, you will notice that aline appears inside the window. That line indicateswhere the object will appear in the list when themouse button is released. You can use this featureto ensure that the new item is placed in theappropriate position within your list. Drag downand make sure that the line appears below theURL, and then let go of the mouse button to addthe text to the bottom your list.

Now, let’s use the KDE file manager to add afew extra items to our list. Launch Konqueror andnavigate to an image file. Drag the file fromKonqueror into the BasKet list. When you releasethe mouse button, BasKet presents you with a con-text menu that asks whether you want to Copy,Link or Move the file. If you select Copy or Move,BasKet copies or moves the file to its own internal

data storage location and displays the image in thelist. If you select Link, BasKet adds a link to the file’sURI to the list, but it does not display the actualimage. In this case, select Copy. You also can usethe BasKet system tray icon to add items to the list.Drop a directory from Konqueror onto the BasKettray icon, and select Link from the drop-down con-text menu. You should now see a link to the direc-tory in your basket.

It is also possible to create new list items withthe Insert menu. Select Import KMenu Launcherfrom the Insert menu to launch the applicationselection dialog. Use the dialog to select an

BasKet TutorialHow to use a nifty tool called BasKet to organize all the data you normally find impossible to track down.

RYAN PAUL

Figure 1. A Basket That Contains a URL and SomePage Text

TUX EXPLAINS

Page 24: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 24/54

application that you use regularly, and then clickOK to add an application launcher to your basket.You can experiment with other types of itemsavailable on the Insert menu to learn more aboutwhat they are and how they work.

EDITING AND ANNOTATIONBasKet also facilitates editing and annotation. Let’schange the text snippet we grabbed from theWeb site. Right-click the text snippet and selectEdit from the context menu. The formatting tool-bar appears above the basket tab, and the textbecomes editable. Change some of the font colorsand add some extra text to the end of the snip-pet. When you are done, click outside of the textsnippet to leave Edit mode. The Edit behavior isslightly different for other kinds of content. If youright-click the URL link and select Edit from thecontext menu, BasKet launches the Link ItemProperties dialog, which allows you to specify theURL, title and icon of the link.

Now we will add an annotation. Right-click thetext snippet and select Edit Meta-data from thecontext menu to launch the Meta-data dialog.Type a sentence or two into the Annotations text

24www.tuxmagazine.com

Figure 2. Adding an Image and a Directory Link tothe Basket

Figure 3. Using the BasKet Tray Icon to Add aDirectory Link

Figure 4. The Insert Menu Figure 5. Editing a Text Snippet

Figure 6. The Link Item Properties Dialog

TUX EXPLAINS

Page 25: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 25/54

box and click OK. Now when you hover the cursorover that list item, the annotation appears as atooltip. You can use annotations to associate noteswith various snippets to help you remember thesignificance of the content. Some list items comewith annotations by default. The image that you

copied from Konqueror, for instance, contains theURI of the original file in its annotation.

CREATING A NEW BASKETWith only one tab, it won’t be long before our liststarts to look cluttered. Perhaps we should add extrabaskets. Select New from the Basket menu to initiatethe New Basket Wizard. The first step of the wizardrequires that you indicate the type of basket youwant to create. Your current default basket uses theNotes and Clips model, which is ideal for genericdata storage. The Check List basket model associatesa check box with each item in the list. The Stackmodel is just like the Notes and Clips model, butwhen a stack basket is active, the BasKet tray iconcan be used to access the item most recently addedto the list. The Clipboard Manager basket model islike a stack basket, but it intercepts and duplicatescontent sent to the clipboard via copy operations, sowhenever you copy content in any KDE application,that content is also automatically added to your clip-board baskets. In the New Basket Wizard dialog,select the a basket model, and click Next. The sec-ond page of the wizard asks you specify a name forthe new basket. Enter a name and then click theFinish button to complete the construction of a newbasket. You can experiment with various basketmodels to learn more about how they work.

SETTINGS AND PROPERTIESSelect Properties from the basket menu to alterthe settings of the active basket. The BasketProperties dialog window has four tabs that pro-vide an assortment of options for basket cus-tomization. The Properties tab allows you to alterthe name, icon, alignment and background colorsof the list, and it also lets you add check boxes.The Add Item Policy tab allows you to customize

25www.tuxmagazine.com

Figure 7. The Annotation Dialog

Figure 9. The New Basket Wizard

Figure 8. An Annotation Tooltip

Figure 10. Basket Properties

Figure 11. The BasKet Settings Dialog

Page 26: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 26/54

TUX EXPLAINS

Page 27: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 27/54

27www.tuxmagazine.com

Wireless cards can be quite a bit of trouble for Linux users. Very few manu-facturers have any interest in writing Linux drivers or releasing informationabout their cards so other people can use this information to write Linuxdrivers. There is a small selection of Linux-compatible Wi-Fi (wireless net-working) cards, but they tend to be rather expensive. Worse, you don’t getvery much choice about which wireless networking chipset is built-in whenyou buy a laptop.

ndiswrapper is a project that provides a kernel module to load WindowsNDIS wireless card drivers under Linux. NDIS stands for Network DriverInterface Specification and is the Windows/DOS driver interface. Thendiswrapper module wraps around this driver, acting as a translator betweenit and the Linux kernel.

You can use ndiswrapper to get a great deal of cards working that don’thave a native Linux driver. There is a lot of information on the ndiswrapperwiki (discussion site) about various card and driver combinations that workwell, but it often works with other cards too. There is no guarantee it willwork perfectly with your card, however. Although ndiswrapper has becomemany orders of magnitude more stable over time, it still can very rarelycrash or lock up your Linux system. You can visit the ndiswrapper wiki athttp://ndiswrapper.sourceforge.net/mediawiki/index.php/Main_Page .

Installing ndiswrapper is not for point-and-click users. It requires using thecommand line and being able to locate drivers and specialised instructions foryour card. If this sounds like something you’d have difficulty doing, ask a geekto help. Your local Linux Users Group is a great place to find a friendly Linuxguru who can help you with this.

INSTALLING NDISWRAPPERMany Linux distributions have binary packages for ndiswrapper. Use thepackage updating tool for your distribution to make sure you have the latestversion available installed. Some distributions separate out the driver and the

command-line tools into two packages, so check to make sure that youhave ndiswrapper-utils or any similarly named package installed if typingndiswrapper at the command line as root results in command not found .

IDENTIFYING YOUR CARDTo install and set up ndiswrapper, you need to know the chipset of yourwireless card and find a suitable Windows driver to use. Then, you need toinstall ndiswrapper either from a package or by compiling the sources.

The chipset of your card differs from the brand or model. It refers to theactual chips inside the card that control its function. So a planet-, belkin- orgenius-branded card could all have the same chipset and be able to use thesame driver. Some manufacturers even have been known to use different

Wireless Net working with ndiswrapper How to use ndiswrapper to set up network cards normally unsupported by Linux.

JES HALL

Figure 1. Installing ndiswrapper

TUX EXPLAINS

Page 28: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 28/54

chipsets in cards with the same model number.As shown in Figure 2, I’m using the KDE Info Center (kinfocenter) to

get information about my devices. Your wireless card should show upunder the PCI section, regardless of whether it’s built-in to your computeror is a PCMCIA card. The last item in the list in Figure 2 is my wireless card.According to this, it has a Realtek chipset, model 8180l, revision 20. This isa little cryptic, but all we need to do with this information is match it up to adriver that works with ndiswrapper.

If you don’t have a graphical tool like the KDE Info Center at your dispos-al, you can get the same information from the command line using the com-mand lspci . If your shell tells you the command is not found, try specifyingthe full path—often /sbin/lspci .

Armed with the knowledge of what chipset your card is, the next port ofcall is the ndiswrapper wiki’s card list: http://ndiswrapper.sourceforge.net/ mediawiki/index.php/List .

FIND THE DRIVERIn some cases, you may have the original Windows driver disk. You can use thisdisk instead of downloading a driver, although you’re likely to get a more recentdriver if you download one. The ndiswrapper wiki page says that most people

have had success using the Windows XP driver from the chipset manufacturer’sWeb site, http://realtek.com.tw . Once you’ve located a driver for your card, copyit from your driver CD/floppy or download it to disk and extract it.

If your driver is in the form of a Windows self-extracting zip file with a.EXE extension, it’s possible that Linux unzip can still extract it. Try usingunzip file.exe from the command line. Locate the driver installationinstructions file. It will have the extension INF. If there is more than one ofthese files, the ndiswrapper wiki will often point you to which one youshould use.

This step requires some command-line use. Open up a terminal and change tothe directory containing your drivers. If you use Konqueror as your file manager,you can bring up a terminal in the directory you’re already in by usingWindow → Open Terminal Emulator. This lets you see a graphical representation ofthe current directory in the top pane, and use the command line in the bottompane. You need root privileges for this step. Either use the su - command tochange to the root user, or if you have your system set up for it, use sudo .

# ndiswrapper -i filename.INF

This causes ndiswrapper to create a configuration directory in /etc to holdthe driver file and configuration pertaining to the driver and install the driverto it. Now if you issue the command:

# ndiswrapper -l

you should see something like the following:

dessa@holly:~> /usr/sbin/ndiswrapper -l

net8180 driver present, hardware present

To load the module, type modprobe ndiswrapper as the root user. To setup the ndiswrapper module to be loaded on boot, type:

# ndiswrapper -m

This writes out a line in a system configuration file—usually /etc/modprobe.conf—to tell the system that your wireless card usesthe ndiswrapper driver.

28www.tuxmagazine.com

Figure 2. The KDE Info Center

TUX EXPLAINS

Page 29: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 29/54

SET UP NETWORKINGNow that you have ndiswrapper installed and a driver for your card, youshould be able to set it up using the networking tools that come with yourdistribution. Here, I’m using SUSE 9.3, but these settings would apply nomatter what distribution I’m using.

The ndiswrapper device is called wlan0, which means the first wireless net-working device on the system. If the ndiswrapper -m step completed correctly,your system knows that the wlan0 device and the ndiswrapper driver are sup-posed to go together.

Generally, if you have a wireless access point set up, you’d enable gettingan IP address assigned via DHCP. If you were going to use a static IP (one youspecify, rather than one assigned to you by your wireless router), you’d specify

it here. I’m also adding in the ESSID, which is the name of the access point towhich I want to connect. If your access point is using encryption, and you haveto specify a WEP key, this is the place to do so. It might require trying a fewdifferent options until you find the settings that work best with your particularcard. If you have any difficulties here, referring back to the ndiswrapper wikican give you hints about specific options required for your card.

POTENTIAL PROBLEMSIt’s very difficult to describe a method that will work on every possible Linuxdistribution. What if these instructions don’t work for you? A few minutesspent in troubleshooting and gathering information makes i t much morelikely that you’ll find some help. Your first port of call should always be

29www.tuxmagazine.com

Figure 3. One Step in Setting Up Networking Figure 4. Another Step in Setting Up Networking

TUX EXPLAINS

Page 30: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 30/54

Google. Try to search for “ndiswrapper SUSE”, replacing SUSE with thename of your distribution.

1) Check that the module is loaded: open up a terminal and type inlsmod . This shows you a list of the currently loaded driver modules.Does ndiswrapper appear in this list? If it doesn’t, try typing modprobe

ndiswrapper and make a note of any errors. No output at all means themodule loaded fine.

2) Check that the card is associating with an access point: open up a terminaland type iwconfig as root. You should see some output something like this:

wlan0 IEEE 802.11b ESSID:"internet@home" Nickname:"holly"Mode:Managed Frequency:2.437 GHz Access Point: 00:12:17:3A:51:E5Bit Rate=11 Mb/s Tx-Power:20 dBm Sensitivity=0/3RTS thr=2432 B Fragment thr=2432 BEncryption key:offPower Management:off

Link Quality:100/100 Signal level:-72 dBm Noise level:-256 dBmRx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0Tx excessive retries:0 Invalid misc:0 Missed beacon:0

If the part after ESSID reads off/any and the part after Access Point is fullof 0 s, try manually associating. Type iwconfig wlan0 essid Name of your access point here , and see if the lights on your card light up.

3) Check that the card has a valid IP address: open up a terminal and typeifconfig as the root user. Look for the section that says inet addr underthe wlan0 section. Do you have a valid IP address there, on the right subnetfor your network? If so, try to ping some things on your home network. Tryto ping your wireless access point or any other computers to figure out if youhave any connectivity at all.

4) Check your default route: open up a terminal and type route -n asthe root user. Do you have a line that starts with 0.0.0.0 ? Under theGateway column, does it show you the address of your router?

5) Check your DNS: if you can ping local machines by their IP addresses,but you cannot see sites on the Web, it’s possible you don’t have correctsettings for DNS.

If you need to ask for help on forums or mailing lists, listing the results ofthese steps will make it much easier for people to help you. I

Jes Hall is a UNIX systems consultant and KDE developer from NewZealand. She’s passionate about helping open-source software bringlife-changing information and tools to those who would otherwise nothave them.

30www.tuxmagazine.com

ADVENTUROUS USERS ONLY!

So, what do you do if your Linux distribution doesn’t ship ndiswrapper binaries?

Installing ndiswrapper from sources is always an option if you know your way

around a terminal.To do this, you need to have the kernel sources installed andthe development packages for your distribution that include the GNU CCompiler and other tools required to compile software. Remember, think twicebefore you press Enter if you’re using the terminal with root permissions.

Download the ndiswrapper sources from the http://ndiswrapper.sourceforge.netdownloads page. Either extract the sources with ark or file-roller or from thecommand line with:

# tar xjf ndiswrapper-$version.tar.bz2

Replace $version with the version of ndiswrapper you’ve downloaded.Hint: the terminal can complete commands and filenames for you. Trytyping in ndis and then press the Tab key.

Change into the directory you’ve just extracted:

# cd ndiswrapper-$version

Inside this directory are two files you should at least skim through: INSTALLand README. To compile and install ndiswrapper, issue the command as root:

# make install

TUX EXPLAINS

Page 31: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 31/54

31www.tuxmagazine.com

Based on the mail we get, it seems as thoughthere are countless TUX readers who are not con-tent to settle on a single Linux distribution. Theywant to be able to install more than one distribu-tion and choose which one to start at boot time.

Despite the fact that TUX normally assumes youare no more than desktop literate, you will need alittle more than average technical knowledge to fol-low this article. You need to know how to create,

manage and format disk partitions. You may alsoneed to know how to install a new hard drive.Most computers use hard drives called IDE drives(often referred to by many other names, such asATA drives and so on). If you are going to add anew drive to your system, you may need to knowhow to change jumpers on the drives to make onea master and another a slave. At the very least, youneed to know how to deal with the order of drivesin your system; which comes first, second, third andso forth. If these terms or concepts confuse you,you probably are not going to get much out of thisarticle, and it would be wise to skip it.

LINUX DOES ITOne advantage to Linux over operating systemslike Windows is that (within occasional limitsimposed by old hardware) you can boot Linuxfrom virtually any disk drive on your system, andeven boot Linux from an extended partitioninstead of a primary partition.

The latter capability is important if you want toput more than four versions of Linux (or fouroperating systems, some of which are Linux) on asingle drive. You can boot only what is called aprimary partition, and you can put only four pri-mary partitions on a single drive.

You can create up to three primary partitionsand one very large extension on a single drive.You can slice up the extension into many extend-

ed partitions. You can install as many versions ofLinux as you want on any of these extended parti-tions. The only problem is that you cannot makeany of these extended partitions bootable.

Yes, you can boot a copy of Linux that isinstalled on an extended partition, but you cannotdo so directly. You have to start the boot processfrom a primary bootable partition, and then let itcontinue from the extended partition.

There are some half-baked workarounds toallow you to boot Linux from extended partitions.For example, you can install Linux on extendedpartitions and create one or more /boot partitionsas primary partitions. This works, but this approachis needlessly complex if you want to boot morethan three versions of Linux. Three versions ofLinux should be more than enough for most peo-ple, but considering how cheap 160-gigabytedrives are these days, it would be nice to be ableto install as many operating systems, including asmany versions of Linux as you want, on a single

drive and boot any of them at any time.

THE CHALLENGESo, here is our goal. We want to install severaloperating systems on a single drive. We want toinstall several complete copies of Linux on extend-ed partitions. We don’t want to break up theseinstallations so that they rely on separate /bootpartitions in order to make them work.

There are several ways to reach this goal.What follows is one technique that I have usedwith great success.

THE SOLUTION: GRUBBefore you get started, here’s an essential point toconsider. Most Linux distributions include at leasttwo boot loaders (programs that start up Linux),LILO and GRUB. This particular multiboot strategydepends entirely upon the GRUB boot loader inorder to work. If you choose a distribution thatdoes not support GRUB as a boot loader, it isgoing to be difficult or impossible to get that dis-tribution working. Almost every distribution avail-able supports GRUB, so this is generally not aproblem. But it is not unheard of for a distributionto depend upon LILO (or worse, a customized ver-sion of LILO) in order to boot properly. Although itis sometimes possible to find workarounds tomake these distributions boot, it is way beyondthe scope of this article to deal with the excep-

Give Multiple Distros the BootHow to boot multiple Linux distributions.

NICHOLAS PETRELEY

TUX EXPLAINS

Page 32: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 32/54

tions. So stick with distributions that include andsupport GRUB as the boot loader. Here is a tinysample of distributions that work fine using thismultiboot strategy (many others work fine too):

I Fedora

I SUSE

I Mandriva

I Debian

I Linspire

I Ubuntu/Kubuntu

I Knoppix/Gnoppix

I Mepis

I Slackware

Here is why you need GRUB. You are going tocreate a small partition as the first partition onyour boot drive, and install a copy of GRUB there.

Now you are going to install several distributions,each with their own /boot directory, and each with

their own /boot/grub directory. Each distribution willhave and maintain its own GRUB boot menu list,and each distribution will maintain this copy ofGRUB on its own. For example, when a distributionupdates a kernel, it will modify or add an entry to itsboot options list. That’s fine. That’s what we want.

Each time a Linux distribution adds its ownboot entry to its own GRUB menu, you are goingto copy that menu entry and add it to a centrallycontrolled menu list in the small boot partition

where you have your “universal” copy of GRUB.The only challenge we face is that when you

install a Linux distribution, or when a Linux distri-bution update changes the Linux kernel, it makesits own /boot/grub directory the place to boot.You have to copy the update to your centrally

controlled menu list and then override the bootsetting to make your first partition the active onefor GRUB to use. Fortunately, once you install allthe distributions of Linux you want, changes tothe kernel and GRUB boot menu are fairly rare.

The end result is that you will have a single bootpartition at the beginning of the first hard drivethat includes a menu entry for every version ofLinux on the system. It won’t matter whether yourversions of Linux are installed on primary or second-ary partitions. It will simply work. Confused? I hope

you won’t be when you’re done.

CONCEPTS AND FACTSI give many specifics in this tutorial, but I hopemost of you learn the concepts behind the tech-niques I use in this article, not just the mechanicalsteps. Some of you already have one version ofLinux installed. Some of you have Windowsinstalled, but not Linux. Some of you are moretechnically competent than others. Each of youare going to have to approach this problem a little

differently, so unless you grasp the concept of theapproach, you may end up with an unusable sys-tem that is difficult to recover to a working state.

The first concept you need to master is the factthat GRUB refers to disks and partitions starting withthe number zero. The first IDE drive /dev/hda is (hd0).The first partition on the first IDE drive (/dev/hda1) is(hd0,0). The second partition, /dev/hda2, is (hd0,1).Things get really confusing if you place a CD/DVDdrive in between two hard drives, but for the sake of

this article, we assume you will always make yourCD/DVD drive the last drive on your system.

STARTING ASSUMPTIONSFor the purpose of simplicity, we assume your situ-ation fits into one of these typical scenarios:

1. You have a single hard drive in your computer,and that hard drive has Windows and onlyWindows installed. You intend to purchaseanother drive in order to install multiple copiesof Linux.

2. You have a single hard drive in your computerand that hard drive has Linux and only Linuxinstalled. You intend to purchase another driveto install more copies of Linux.

3. You are going to wipe your first drive clean andstart fresh.

The following instructions for setting up amultiboot system should work extremely well forany of the three above scenarios. Most other sce-narios require that you move and resize your exist-ing disk partitions, and that would require a tuto-rial all its own. If you already know how to resizeand move your existing partitions, you still can use

the following information to create a system thatboots multiple Linux distributions.

If you are adding a new drive to your system, Irecommend that you add the new drive as yourprimary drive, and move your existing drive to bedrive number two. Drives are practically dirt cheapthese days, especially IDE drives. So if you’re goingto do this right, get a nice big drive such as an80-gigabyte drive, 160-gigabyte drive or better.

It doesn’t matter if your existing first drive has

32www.tuxmagazine.com

TUX EXPLAINS

Page 33: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 33/54

Windows or Linux installed on it. If your existingdrive has Linux installed on it, you actually have todo a bit more work than if it has Windows on it, butwe’ll deal with that issue near the end of the article.

STEP ONE

If you are using IDE drives, the first thing you haveto do is make sure your drives are configured prop-erly. If you are simply going to wipe the first driveclean and start fresh, and you’re not changing oradding drives, you have nothing to worry about. Ifyou are going to add an IDE drive to an IDE-basedsystem, you need to make sure all the jumpers onyour drives are set properly. Since we’re assumingyou’re adding the new drive as your first drive,make sure the jumpers on the new drive are set tomake it a master drive. Then adjust the remaining

drives on your system to compensate for thischange. For example, if you moved your first driveto become the second drive, you need to changethe jumpers on that drive to make it a slave drive.

STEP ONE AND A HALFWhether or not you are adding a drive or wipingyour existing drive clean, your first step is to installa distribution of Linux. The trick to making it sim-ple to boot multiple distributions from this drive isto partition it a certain way when you install your

first Linux distribution.IMPORTANT NOTE: no matter what distribution

you choose as your starting point, make sureahead of time that this distribution includes andsupports the GRUB boot loader. As mentionedabove, this entire strategy depends upon GRUB inorder to work.

When you get to the installation step thatrequires you to partition your hard drive, be sureto follow these steps carefully, making appropriate

adjustments according to your desires and needs:

1. Use the advanced installation option wheninstalling Linux so that you can controldisk partitions.

2. Create a small, unformatted partition as thefirst (primary) partition on your drive. I createdmine to be 100 megabytes. This is actually mas-sive overkill for the multiboot technique towork, but when you’re dealing with 80–160-gigabyte drives, 100 megabytes is small change.The operative word here is unformatted . Yes,you can format this partition, but if you do so,the installer will be tempted to use it. You donot want the installer to use this partition.

3. Finish partitioning the drive with plans to installmultiple distributions.

4. Do not forget to create a swap partition.

Here are two examples of how you might par-tition the first drive. With the exception of thefirst partition, these are only examples to give youan idea of how to proceed.

EXAMPLE 1: PUTTING THE SWAP PARTITION UP

FRONT

I Primary partition 1: 100MB unformatted

I Primary partition 2: 2GB swap partition

I Primary partition 3: 20GB Linux partition

I Partition 4: extended partition, using theremaining space of the drive

I Partition 5: 20GB unformatted partition inextended space for later use

I Partition 6: 20GB unformatted partition inextended space for later use

I ...etc...

EXAMPLE 2: PUTTING THE SWAP PARTITION ATTHE END OF THE DRIVE

I Primary partition 1: 100MB unformatted

I Primary partition 2: 20GB Linux partition

I Primary partition 3: 20GB unformatted partitionin extended space for later use

I Partition 4: extended partition, using theremaining space of the drive

I Partition 5: 20GB unformatted partition inextended space for later use

I Partition 6: 20GB unformatted partition inextended space for later use

I ...etc...

I Last partition: 2GB swap partition

STEP TWOFinish installing your Linux distribution on the sec-ond partition. Make this partition the / (root) parti-tion, and do not create a separate /boot partition.

STEP THREEChoose GRUB as your boot loader. Allow GRUB to

33www.tuxmagazine.com

TUX EXPLAINS

Page 34: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 34/54

install itself on the master boot record of the first drive. Finish the installation.

STEP FOURBoot in to your freshly installed distribution of Linux. Open up a console orterminal and log in as root.

Now you are going to format the first partition of the drive and create a

GRUB boot configuration there. Here is an easy way to do that. From theroot prompt, execute these commands (assuming you are using an IDE-basedsystem, otherwise modify the commands to accommodate a SCSI-based sys-tem). I chose to format the partition as ext3. You don’t have to do the same,but I recommend using either ext3 or ext2:

# cd /# mkfs.ext3 /dev/hda1# mkdir /mnt/boot# mount -t ext3 /dev/hda1 /mnt/boot# cp -a /boot/* /mnt/boot

You have just “primed” the partition we will use to boot all of the distribu-tions of Linux you will install on this system. Admittedly, this is a quick-and-dirty way to get GRUB on the first partition. By bypassing the normal methodof installation, you copied a few files you don’t really need in this partition (thekernel doesn’t need to be there, for example), but these files won’t hurt any-thing. On the other hand, you end up with a perfect starting point by copyingthe GRUB configuration used by the first distribution you install.

Now we need to tell GRUB to boot from this configuration instead of theone that came with the distribution of Linux you installed. Do so with thefollowing commands:

# grubgrub> root (hd0,0)

grub> setup (hd0)

grub> quit

Grub will print some responses to each of these commands (hopefully not

any error messages). The next time you boot your system, it will use this par-tition for its instructions on what to boot and how.

WHEN YOU REBOOTYou shouldn’t notice any difference the fi rst time you reboot your system,even though it is now booting from /dev/hda1 instead of /dev/hda2 (assum-

ing you are using an IDE system). That is because GRUB is still using thesame configuration it used when you installed your first version of Linux. Youcan confirm this by rebooting into Linux, going to a command prompt, log-ging in as root and typing the following commands:

# less /boot/grub/menu.lst

[Examine the contents and then press Esc to exit.]

# mount -t ext3 /dev/hda1 /mnt/boot# less /mnt/boot/grub/menu.lst

[Examine the contents and then press Esc to exit.]You should see that the two files are the same.If you had started with Debian as your first Linux distribution, the first

menu selection in both menu.lst files (the one in the original directory andthe one you copied) might look something like this:

title Debian GNU/Linux, kernel 2.6.11-1-k7root (hd0,1)kernel /boot/vmlinuz-2.6.11-1-k7 root=/dev/hda2 roinitrd /boot/initrd.img-2.6.11-1-k7

savedefaultboot

You are no longer using the menu.lst file or any other files in the /boot/grub directory to boot Linux. Nevertheless, do not erase the /boot/grub directory from the Linux partition. You want update programsto modify the files in this directory so that you can decide whether or notto copy the modifications to the configuration files in first partition on thedisk that your system uses at boot time.

34www.tuxmagazine.com

TUX EXPLAINS

Page 35: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 35/54

STEP FIVENow install another distribution of Linux. For example, install SUSE. Onceagain, do not break it up into separate partitions (you can do so if youreally know what you’re doing, but we’re keeping this simple). Assumingyou placed your swap partition at the end of the disk, you will beinstalling this distribution to /dev/hda3 on an IDE system. Make /dev/hda3

the / (root) partition. Choose GRUB as your boot l oader. Once again, a llowGRUB to install itself to the master boot partition. (Astute readers mightnote that you can save time if you do not let GRUB install itself to theboot partition, but in my experience, some Linux installers will fail if theycan’t install GRUB there, and this process does not present an obstacle toour ultimate goals.)

Now boot your system. The new Linux you just installed may be theonly option you have when you reboot. You may see an option for yourpreviously installed version of Linux (some installation programs searchyour drives and add entries to its GRUB menu for other operating sys-tems). But we’re not going to rely on this capability. Instead, we’re

going to maintain our own boot selection list by continuing to use theone we copied to the first partition on this hard drive. This gives uscomplete control over which distributions we make available and howto boot them.

STEP SIXBoot to the newly installed Linux (SUSE, in this example). Open a console orterminal and log in as root. Mount our special boot partition:

# mkdir /mnt/boot# mount -t ext3 /dev/hda1 /mnt/boot

The menu list in the first partition does not yet include the option toboot SUSE. We need to add it. This is easy to do, because SUSE alreadyadded a perfectly good menu selection in its own /boot/grub/menu.lst file.

Open these two files with your favorite editor: /boot/grub/menu.lst and /mnt/boot/grub/menu.lst. Find the menu entry in the new menu.lst thatboots the SUSE Linux operating system (or whatever Linux distribution youinstalled). Copy it to your /mnt/boot/grub/menu.lst file as the second menu

entry. For example, your /mnt/boot/grub/menu.lst file might now haveentries that look like this:

title Debian GNU/Linux, kernel 2.6.11-1-k7root (hd0,1)kernel /boot/vmlinuz-2.6.11-1-k7 root=/dev/hda2 ro

initrd /boot/initrd.img-2.6.11-1-k7savedefaultboot

title SUSE LINUX 9.3root (hd0,2)kernel /boot/vmlinuz root=/dev/hda3 vga=0x31a selinux=0splash=silentinitrd /boot/initrd

Now you have to reset GRUB to boot from the first partition. Once again,

here are instructions to do that:

# grubgrub> root (hd0,0)

grub> setup (hd0)

grub> quit

This resets the system to look in the first partition for the menu list ofLinux distributions to boot.

STEPS SEVEN, EIGHT AND SO FORTHAt this point, i t’s just wash, rinse, repeat. Install another distribution of Linuxon the next partition. Let GRUB install itself to the master boot record duringinstallation. Boot to the new version of Linux. Mount the first partition. Editthe menu.lst file on the first partition to include a menu selection for yournewly installed Linux. Reset GRUB again to boot using the first partition.Rinse. Repeat.

35www.tuxmagazine.com

TUX EXPLAINS

Page 36: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 36/54

ADJUSTING YOUR LEGACY LINUX DRIVELet’s assume that you had Linux installed on your first drive and moved it tobecome the second drive when you decided to undertake this project. Youneed to do two things to make your old distribution of Linux work again.First, you need to add an entry to your menu.lst file for your old distribution.Mount the partition with mount -t ext3 /dev/hda1 /mnt/boot , and then

edit /mnt/boot/grub/menu.lst to add the menu selection for the distributionof Linux on the second drive. In this case, you cannot simply copy the entryfrom an existing menu.lst file, because it represents the location of the oldhard drive before you added a new one. So, if you started out with UbuntuLinux, you might see this entry in the original file:

title Ubuntu, kernel 2.6.10-5-k7root (hd0,0)kernel /boot/vmlinuz-2.6.10-5-k7 root=/dev/hda1 ro quiet splashinitrd /boot/initrd.img-2.6.10-5-k7savedefault

boot

You need to change it to reflect the fact that Ubuntu is now on the sec-ond hard drive. For example, put this modified version in your

/mnt/boot/grub/menu.lst file:

title Ubuntu, kernel 2.6.10-5-k7root (hd1,0)kernel /boot/vmlinuz-2.6.10-5-k7 root=/dev/hdb1 ro quiet splashinitrd /boot/initrd.img-2.6.10-5-k7savedefault

boot

You also need to modify your /etc/fstab file to reflect any changes affect-ed by moving your drives around. For example, you won’t be able to bootUbuntu on your second drive until you change the following line in its

/etc/fstab file:

/dev/hda1 / reiserfs defaults 0 0

Now that Ubuntu lives on the second drive, the line should be changed to this:

/dev/hdb1 / reiserfs defaults 0 0

BOOTING WINDOWS FROM A SECOND OR THIRD DRIVEFor the purpose of this example, let’s assume that you are using IDE drives

and you moved your old Windows drive from the first drive on your systemto be the second drive in your system. Windows needs to think it is runningfrom the first drive on your system in order to boot properly. GRUB can trickWindows into thinking it is running from the first drive. Add the followinglines to your menu.lst file in order to add an entry that boots Windows:

title Windowsmap (hd0) (hd1)map (hd1) (hd0)rootnoverify (hd1,0)makeactive

chainloader +1boot

The above entry tells your system to treat the second drive (hd1) as if itwas the first drive (hd0). It also tells the system to treat the first drive (hd0)as the second drive (hd1). This tricks Windows into thinking it is running onthe first drive on your system, even though your system is not configuredphysically that way. The remaining instructions simply tell GRUB how to bootWindows from its real location.

If you moved your Windows drive to be your third drive, make the logicaladjustments to the entries in your menu.lst or grub.conf file. For example,

the lines might look like this:

title Windowsmap (hd0) (hd2)map (hd2) (hd0)rootnoverify (hd2,0)makeactivechainloader +1boot

36www.tuxmagazine.com

TUX EXPLAINS

Page 37: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 37/54

ADDING ANOTHER LINUX DRIVELet’s assume that you had only one drive, and you wiped it clean andstarted fresh.

Now that you have at least one drive in your system that boots multipledistributions of Linux, you may be wondering if you can add more drives toyour system and install Linux on those drives. Yes, you can. If you add a drive

to your system and install Linux distributions on it, simply use the techniquedescribed above, except don’t bother creating that first small bootable parti-tion. You don’t need it on the second drive.

Each time you install a new distribution on a new partition on the seconddrive, allow the installation program to install GRUB as your boot loader, andcontinue to let it install itself to the master boot record of the first drive.Then make the adjustments as described in this tutorial (copy the menuselection and reset GRUB to use the first partition of the first drive and soon—rinse, repeat).

ADDING A WINDOWS DRIVE

If you install another drive and want to install a fresh copy of Windows on it,that’s a whole ’nother story. It is certainly possible to do this, but the amountof difficulty you have doing it will depend on several factors, mostly yourmotherboard and the BIOS that comes with your motherboard.

There are ways to install Windows on a second or third drive on your sys-tem without worrying about what will happen to your installation of GRUBon your first drive (at least it is possible on some systems). Don’t bother totry it. Here’s a much easier way to install Windows on a new drive.

Remove all the hard drives from your system, and install the new drive asthe first drive on your system. Make sure you also have a working CD orDVD drive installed, connected and configured properly. If you are using an

IDE system and have only the new drive and the CD/DVD drive installed, hereis probably the simplest approach. Hook them both up on the same cableand make sure the jumpers on your hard drive are set to make it the masterdrive. Make sure the jumpers on your CD/DVD drive are set to make it theslave drive.

In many if not most cases, you may have to enter setup when you bootthe computer (usually you press the Delete key at boot time, or press F1 ifthe boot process fails in order to get to the setup screens) and reconfigureyour IDE drive settings to match your new combination hard drive andCD/DVD drive.

If nothing seems to be working, make sure the cable is connected tothe primary IDE bus connector on your motherboard, not the secondaryIDE bus connector.

Now install Windows as if it is the only operating system you will run onyour computer.

Once you have Windows installed, patched and updated, and you have

cleaned it of all the viruses it caught during the first 20 minutes of operation(just kidding—or maybe not), you are ready to move the drive to a new loca-tion. Rearrange all your drives the way you had them before, and add theWindows drive.

Be prepared to change the jumpers on drives if you are using an IDE-based system. (For the hard-core geeks out there, yes, we know it is possibleto use cable select, but we’re keeping this simple.) For example, if you hadone drive on your system and added the new Windows drive as your seconddrive, you will need to change some jumpers. Change the jumpers on theWindows drive to make it a slave drive. Change the CD/DVD drive jumpersto make it a master drive. It is technically the third drive in your system, but

it is the first master drive on your second IDE bus.If you already had two hard drives on your system plus a CD/DVD driveand you are now adding a third drive for Windows, here’s what you need todo. In this case, leave the jumpers on the Windows drive and CD/DVD drivealone. The Windows drive should still be the master drive, and the CD/DVDdrive should be the slave. Simply unhook the cable from the primary IDE con-nector on the motherboard and insert it in the secondary IDE connector onthe motherboard. Hook up your old drives, and you should be ready to go.

Once again, the next time you boot your system, you will almost definite-ly have to enter setup (usually by pressing the Delete key at boot time, or F1if the boot process fails) and reconfigure your IDE settings to match the way

you have your drives installed.Now, all you have to do is the same thing we described above (see the“Booting Windows from a Second or Third Drive” section). Boot to one ofyour Linux distributions and use it to add lines to your menu.lst file to createa menu selection that maps the Windows drive properly and allows you toboot Windows from it.

The next time you boot your system, you should see an entry in your listcalled Windows. Select that entry and cross your fingers. If your mother-board and BIOS behave properly, you should see Windows boot up withoutany problems.

37www.tuxmagazine.com

TUX EXPLAINS

Page 38: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 38/54

MIXING IT UPCan you use this technique to install a small partition on the first drive foryour centrally located GRUB boot loader configuration, install Windows onthe next partition and then install multiple versions of Linux on partitionsbeyond Windows? Theoretically, this should be possible. I haven’t tried it. If Ihad Windows on the same drive as Linux, I would worry that magnetic bits

with Windowsitis might jump from one partition to another and infect oneor more copies of Linux. So, in order to prevent STD (sector-transmitted dam-age), I keep Windows isolated on its own drive. Call it practicing safe sectors.

Surely you know I jest about STDs and the potential for infection, but I dokeep Windows on its own drive, nevertheless.

POTENTIAL PROBLEM ONEPartition labels: some distributions are now using partition labels instead of directreferences to the partitions. For example, they label a partition ROOT and use theword ROOT in both the boot configuration file and the /etc/fstab file instead ofreferring to the partition directly as /dev/hda3 (or whatever it may be).

Suffice it to say this is a terrific approach if you are running only one dis-tribution of Linux. It can cause havoc, however, if you are trying to install andboot multiple versions of Linux. I won’t even begin to get into the problemsyou can encounter, and I can offer no easy cookie-cutter solutions. As Linuxdistributions evolve and use labels in different parts of the installation andboot process, this problem will remain a moving target.

The best advice I can imagine at this point is to try one of two things. First,try not to allow the Linux installer to create and use labels during installation.This may work, or it may prevent you from installing that distribution of Linux.

Alternatively, try to take control over the labels it creates instead of lettingthe installer use defaults. For example, instead of letting the installer use the

label ROOT, force it to use FEDORA instead. Again, this may work or it mayprevent the distribution from installing. I’ve managed to get around thisproblem with little difficulty so far. Your mileage may vary, especially because(as I said) distributions and installers are moving targets.

POTENTIAL PROBLEM TWOSharing partitions: when you are running several versions of Linux, it is verytempting to force them all to share a partition or two. One of the biggesttemptations is to create a separate partition for your home directory, andthen make all your Linux distributions use this partition.

Don’t even try it unless you really, really, really know what you are doing.Here are some of the problems you will have to solve. One distribution mayassign your user and group ID to 1000 and 1000, respectively, and the nextwill assign 500 and 500. Now you have permission problems to iron out.One distribution may use KDE 3.3, another may use KDE 3.4, and still anoth-er a custom version of KDE. All may assume your KDE configuration files

reside in the directory /home/username/.kde. You will experience problemsusing KDE on one, two or all three distributions if they share this directory.I could go on and on. I have managed to share several directories across

multiple distributions, including even all the Firefox browser configurationfiles. But it wasn’t easy to do, it doesn’t work for all distributions, and I makeregular backups in anticipation of the day one of the distributions updatesFirefox and makes these files incompatible with the other distributions.

FINAL THOUGHTThe first question experienced users may ask may be, “Why not just put GRUBon a boot floppy instead of making a special partition on the first hard drive?”

That’s a good question, and you certainly can choose that option instead ofthe method I use. In fact, the floppy approach lets you omit all the times youhave to reset GRUB to use the first partition on the first drive. You can set yourcomputer’s BIOS to boot from floppy first, and it doesn’t matter how manyLinux distributions modify the hard drive’s master boot record. Your computerwill ignore the changes and continue to boot happily from the floppy drive.

I don’t have a floppy drive in my computer. Even if I did, I would notchoose this option, because I am impatient. I’d rather not wait for a floppyto boot, because the hard drive is so much faster.

But the choice is yours. If you understand the concepts described above,it is very easy to find out how to create a GRUB boot floppy and translate

the above technique into configuring the floppy to boot all the versions ofLinux you have installed. I

TUX Editor in Chief Nicholas Petreley is an author, consultant, pro-grammer, award-winning columnist and Linux analyst for Evans Da taCorp.

38www.tuxmagazine.com

TUX EXPLAINS

Page 39: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 39/54

39www.tuxmagazine.com

Continuing from last month’s “Inkscape: theElements of Design, Part I”, this article uses theprinciples of design to lay out the previouslylearned elements—point, line, shape (form), tex-ture and color. Inkscape, an open-source cross-platform drawing tool is used to describe the con-cepts ( http://www.inkscape.or g). Next month, inthe last article of the series, the elements and

principles are used to create a composition to besubmitted to the Open Clip Art Library(http://www.openclipart.or g).

THE PRINCIPLES OF DESIGNThe principles of design are basic guidelinesfor making a larger arrangement of elements.As such, these guidelines are not strict rules,but rather are to be manipulated and manytimes broken in order to achieve somedesired message.

Designers and artists use the principles to con-trol the elements, learned from the first article inthe series, to make complete compositions basedupon some design goal.

BALANCEBalance is a feeling of visual equality, or equilibri-um, in a composition consisting of elements(point, line, form/shape, texture and color).Particularly, this is a judgment based upon ideas of

structure such as mass and gravity. It also i sdefined as the arrangement of the objects in agiven design as it relates to their visual weightwithin a composition (see “The Principles ofDesign” by Joshua David McClurg-Genevese,http://digitalweb.com/articles/principles_of_desig n).

Balance is also considered to be in somedegree symmetrical or asymmetrical. Symmetrical,

or formal, balance is when the weight of a com-position is evenly distributed throughout a definedarea. Asymmetrical, or informal, balance is when acomposition is not evenly distributed throughout adefined area. This usually creates a visual tensionin a design and is a powerful construct for achiev-ing a dynamic style.

First, we create symmetrical balance with prim-itive shapes. Begin by creating a circle using theellipse tool (Figure 1).

Click and drag on the canvas while holdingdown the Ctrl key to constrain your shape tobeing a circle. Now, change to the select tool(F1 key, Figure 2) and drag this object and pressthe spacebar quickly while dragging to clone thecircle a few times. Next, switch to the rectangle

tool (F4 key, Figure 3) and create constrainedrectangles (squares), select it and then clone it afew times.

The next step is to arrange the shapes as ifthere were an imaginary line in the middle ofthe drawing area on the canvas, so that thereare equal proportions on both left and rightsides. Using the select tool, arrange the shapesin order to receive a result like that shown inFigure 4.

Next, to achieve asymmetrical balance, use thesame shapes and clone them into a clumped areathat is primarily on one side of the imaginary linedividing the drawing area in half.

Inkscape: the Elements of Design, Par t IIWe wrap up the artistic concepts of the elements of design in preparation for our last article in theInkscape series, which should give you practical instructions on how to create a useful image.

JON PHILLIPS

Figure 1. Ellipse Tool

Figure 2.SelectionTool

Figure 4. Symmetrical and Asymmetrical Balance

Figure 3.Rectangle Tool

Page 40: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 40/54

TUX EXPLAINS

Page 41: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 41/54

Select the second-from-the-top shape with thistool. Next, position the pointer directly over the oneside of the shape, and once the pointer changes tohaving a little hand indicator below it, click anddrag the line in or outward. This creates a curvedline from a straight line. Gradually change eachshape from the top rectangle to the bottom shape,

which has all the sides caved in (Figure 8).PROPORTIONProportion describes the size, location or amountof one form compared to another. It highlightsthe relationship of dimensions and distributionsbetween one or more forms. Altering the propor-tions in a design can be used to show depth anddimensionality as well as affect the balance of theoverall composition.

First, make a dividing line to create two hori-

zontally adjacent spaces for this demonstration.Now, use the rectangle tool to create one largerectangle, like a large building. Use the Fill andStroke dialog’s fill tab to the change the color ofthe object to solid black (Figure 9). Then, clonethis shape twice and move them to overlap slight-ly yet still fit inside your drawing area. Select thesecond shape, and change its fill to a lighter grayand the next shape slightly darker.

Then, we need to change the order that the

overlapped shapes are placed on the drawingarea. Select the first shape and use the menu itemObject → Raise to Top (Home key). Then, select thesecond shape and go to the menu itemObject → Lower to Bottom (End key). Now, thereare three structures reminiscent of three buildingswith different heights and places in space.

Another example of proportion is to use thestar/polygon tool (Figure 10) to create a large star.

Use the star/polygon auxiliary toolbar, shownin Figure 11 first to change the object by click-ing default and then to change the number ofspokes of the star to 16. Change the color ofthe 16 pointed star to yellow, and place it inthe upper left-hand corner of the right pane.Also, scale it up so that it fits snuggly inside thepane. Then, clone this object, make it muchsmaller, and change its color to a dark orangelike in Figure 12.

41www.tuxmagazine.com

Figure 10. Star/Polygon Tool

Figure 8. Rhythm: Rhythmic, Flowing andProgressive

Figure 9. Fill and Stroke Dialog

Figure 11. Star/Polygon Auxiliary Toolbar

Figure 12. Examples of Proportion

TUX EXPLAINS

Page 42: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 42/54

DOMINANCE (EMPHASIS)Dominance, also called emphasis, foregroundscertain parts of a design, hence subordinatingother parts in a design. By controlling the dom-inance in an image, one might control where a

viewer’s eyes travel. Generally, images aredescribed as having three states of dominance:dominant (center of interest or focal point),subdominant and subordinate.

For this demonstration, let’s create a simpleexample of some futuristic flag. Start by creat-ing one line using the beziér tool that stretchesfrom the upper-left side to the bottom-rightside. Duplicate this line two times, and rotateeach of them slightly so that the three ends arecloser together at the bottom-right side of the

screen. Next, select the bottom line of thethree and increase its width to 1.2 points inthe Fill and Stroke dialog’s Stroke Style tab.Make sure the upper two lines have a widthof 0.8 points.

Next, to make the large triangular areas,select the beziér tool once more and create atriangular closed shape (refer to last month’s

article) remembering to hold down the Ctrl keywhile drawing to get lines that are straight. Donot hold the Ctrl key, however, when trying tomake your shape parallel to the upper blackline in the middle of the flag, as shown in

Figure 13.Select the top triangular area and change itscolor to light blue. Then, duplicate this shape andselect the copy with the selection tool once. Whileholding down the Ctrl and Shift keys together,click and drag the bottom right arrow to makethe shape smaller while scaling from the shape’scentral anchor point. Change the color of thisshape to a light purple. Now duplicate this proce-dure for the bottom left shape.

Use the ellipse tool to create a circle (hint:

Shift key) and change its color to a winter-likepurple that matches with the lighter blue (orwhatever color you selected) yet stands out.Scale the circle up in size so that it has theappearance similar to the Japanese flag’s sun(http://www.en.wikipedia.org/wiki/Flag_of_Japa n).

Notice how the lines move from upper leftto bottom right, which is how human eyesgenerally read images. Also, notice how thelarge purple sun is the dominant image bothbecause of the movement of the eye, the

shape’s size, color, curvaceousness and its rela-tionship to the other parts in the image.

UNITYUnity is possibly the most complex principlebecause it describes the relationship betweenthe individual parts and the entire composition.

Unity is how all the different parts of a designcome together to form an entire “thing”. Theconcept of unity is rooted in Gestalt theory,which describes various psychological tendenciesthe human brain has to understand a complete

“thing” through organizing information intocategories and groupings.Of particular importance is how unity and

Gestalt theory explain various effects like clo-sure, where the brain tends to fill in what itperceives as missing information. Also, continu-ance is created when one begins looking inone direction and continues the direction. Thisis how the illusion of perspective works wherean eye follows the lines of a road until it ends,or until it’s obstructed or directed to another

location. Also, the human brain categorizesand organizes elements of similar size, shapeand color, in addition to those that are in closeproximity or alignment with one another.

For this demonstration, we look only atclosure and continuance. The entire Gestaltconcept will be integrated into next month’sdiscussion of composition.

Divide the drawing area in two sections. Tocreate closure, simply create one ellipse, changeits color to blue (although color is itself another

attribute for drawing comparisons), duplicatethe shapes several times and arrange them intoa generic shape, such as a rectangle or hexagon,as pictured in Figure 14’s first panel.

Next, create small green triangles by usingthe star/polygon tool to create an initial shape,and then tweak it using its auxiliary toolbar as

42www.tuxmagazine.com

Figure 13. Example of Dominanceor Futuristic Flag

TUX EXPLAINS

Page 43: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 43/54

shown in Figure 11. The shape should be set tohave three sides and the polygon check boxshould be checked. Set the shape’s color togreen and duplicate the shape two times.Arrange these shapes so that each one wouldbe at the endpoint of a standard triangle, yetwith empty space as the sides. Your brain auto-

matically fills in the sides of the shapes andalso helps you determine that the two shapesare different objects altogether, even thoughone is contained inside the other.

To demonstrate continuance, we create abasic perspective scene. Start by creating a hor-izontal line across the second pane. Then, usethe beziér tool, click the bottom of the panesomewhere and then draw a line up to thehorizontal line, called the horizon line in per-spective. Do not double-click this line, but

rather continue and draw another line backdownward to the bottom of the pane. Double-click when you are ready to complete this line,thus making a basic road. Change its colorto gray.

For extra credit, use the beziér tool to create

a mountain range in the backdrop colored lightgrayish-brown and make a yellow-dashed linedown the center of the road to further drivehome the point of continuance, also knownas perspective.

CONCLUSION

You have successfully learned the elementsand principles of design necessary to makefull-featured compositions. Next month wewill complete this Inkscape trilogy by creatinga composition and submitting it to the OpenClip Art Library.I

Jon Phillips (http://www.rejon.org )is an open-source developer,artist and scholar with morethan 12 years of experiencebuilding communities and work-ing within computing culture. Heis currently developing Inkscape,

the Open Source Project, andthe Open Clip Art Library ( http://www.openclipart.or g ).He teaches at San Francisco Art Institute(http://www.sfai.edu ) and now works for CreativeCommons ( http://www.creativecommons.or g ).

43www.tuxmagazine.com

Figure 14. Continuance

RESOURCES

Inkscape: http://www.inkscape.org

Open Clip Art Library: http://www.openclipart.orgGraphic Design: http://en.wikipedia.org/wiki/Graphic_design

The Elements of Design by Joshua David McClurg-Genevese:http://digital-web.com/articles/elements_of_design

The Principles of Design by Joshua David McClurg-Genevese:http://digital-web.com/articles/principles_of_design

Composition (visual arts): http://en.wikipedia.org/wiki/Composition_%28visual_arts%29

Flag of Japan: http://en.wikipedia.org/wiki/Flag_of_Japan

ree tio n s !

Free tio n s !

Page 44: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 44/54

The first and only magazine for the new Linux user. Your digital subscription is absolutely free!

Sign up today at www.tuxmagazine.com/subscribe

The first and only magazine for the new Linux user. Your digital subscription is absolutely free!

Sign up today at www.tuxmagazine.com/subscribe

F r e e

S u b s c r i

p t i o F r e e

S u b s c r i

p t i o

REVIEWS P.45 EIOffice | P.50 Microsoft Natural Ergonomic Keyboard 4000 P.51 Logitech MX 3000 Laser | P.52 Capsule Reviews

Page 45: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 45/54

It is understandable that OpenOffice.org is thehands-down mindshare winner among officesuites that run on Linux. It is open source, free,comes with most Linux distributions and is similarenough to Microsoft Office that the transitionfrom Microsoft Office to OpenOffice.org is fairlypainless. The KDE office suite KOffice is also opensource and comes with most Linux distributions.KOffice is an excellent office suite, but as far asawareness goes, it generally lingers in the distant

recesses of the mind, almost as if it doesn’t exist.Enter EIOffice. EIOffice is a Java-based officesuite that runs on Windows and Linux. One canwonder just how Java-based it really is, since itrefuses to run on just about any version of Javaexcept the version that comes packaged withEIOffice. (EIOffice installs this version if it doesn’tfind it already installed, but it does not overrideyour default version of Java for other applications.)

It’s probably a good bet that most Linux usershave never even heard of EIOffice. This borders on

criminal. EIOffice is a complete office suite that isnot only a near-perfect clone of Microsoft Office2000 that runs on both Linux and Windows, it is abetter Microsoft Office than Microsoft Office itself.The fact that EIOffice is a commercial product(meaning you must pay for EIOffice) is probablythe only thing that sets it apart from the better-known competition. But at $149, EIOffice is asteal, because it offers significant advantages overall the competition that runs on Linux or Windows.

The least of the advantages is that it is a remark-ably faithful clone of Microsoft Office 2000. Comparethe image of Microsoft Word in Figure 1 with theimage of the word processor in EIOffice in Figure 2.

With the exception of the difference in color andwidget themes, the two are almost 100% identical.Anyone who is used to Microsoft Word can sitdown and start using the EIOffice word processor

45www.tuxmagazine.com

Evermore Integrated Office Kicks Keister EIOffice is a better Microsoft Office than Microsoft Office.RICKY FREEDLANDER

Figure 1. The Microsoft Word Menu, Toolbar and Status Bar

Figure 2. The EIOffice Word Processor Menu, Toolbar and Status Bar

REVIEWS

Page 46: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 46/54

without any retraining whatsoever. OpenOffice.org does a good job of mimick-ing Microsoft Office, particularly the toolbars, but OpenOffice.org doesn’t comenearly as close to duplicating Microsoft Office as EIOffice. No matter how easy itmight be for Microsoft Office users to adapt to OpenOffice.org, nothing can beeasier than switching from Microsoft Office to EIOffice, as the two are practical-ly identical in both function and appearance.

EIOFFICE LINKING KICKS MS OFFICE KEISTERThe architects of OpenOffice.org and other office applications have done anexcellent job of offering functional parity with all of the essential features ofMicrosoft Office. The problem is that Microsoft Office does some things verypoorly. In this case, parity means work-alike suites like OpenOffice.org alsodo the same things poorly.

The architects of EIOffice seem to have asked the right question in thiscase, namely, “What can we add, fix or change so that our product providesusers with far greater productivity?”

One cannot heap enough praise on the most visible answer they provided.

The answer is in the name EIOffice—namely the word integrated . EIOffice pro-vides a dazzling level of integration that is missing from every other office suiteI’ve tried.

For example, you can highlight a cell from a spreadsheet, copy it and thenpaste it as a link in a document. Here is a sample spreadsheet from which wewill copy and link information (Figure 3).

Now take a look at the document in Figure 4. All of the text highlightedin gray represents links to spreadsheet cells. The sentence, “In fiscal year2005, we sold $14 million...”, refers to a cell in the spreadsheet that totalssales at $14 million. If you change any of the numbers such that the total inthe spreadsheet changes, that change will be reflected in the document

immediately.Why is this so remarkable? First, the process couldn’t be more intuitive.You highlight, copy and then paste as a link. Try doing this in Microsoft Officeor OpenOffice.org, and what you will end up with is a copy of the spread-sheet cell as a spreadsheet object. Although it’s “cool” to be able to edit thisobject in the document as if it were a spreadsheet, it doesn’t really give theresults most people want. If you change the data in the original spreadsheet,your document will not reflect the change. It is a painful process to createanything that resembles a live link between an OpenOffice.org/MicrosoftOffice spreadsheet and a document. You can create a live link in EIOffice,

46www.tuxmagazine.com

Figure 3. The Spreadsheet Source of Links

Figure 4. The highlighted text represents links to spreadsheet cells.

REVIEWS

Page 47: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 47/54

however, with no more than copy and paste.Now suppose your goal is to create a docu-

ment you can circulate within the company andalso to create a presentation based on the same

information. Once again, all you have to do iscopy and paste from the spreadsheet to yourpresentation. See Figure 5 for an example ofsuch a presentation.

This presentation not only makes use of thedata in the spreadsheet, it also links to text inthe spreadsheet in order to produce matchingtitles for the slides. Change the text in thespreadsheet, and the titles in the presentationreflect those changes.

MORE LINK MAGICWait, it gets better. Go back to the spreadsheetand insert a new row that moves the total downone row. The document continues to reference

the correct total, even though you moved it. Nowcut the cell you linked and paste it into a newlocation. The document continues to referencethe correct total, even though you moved it. It’salmost difficult to mangle a link between onedocument and another.

Wait, it gets even better. Let’s look at theexample again to illustrate even more magic.Notice that the text says that the company makesthree widgets, the greatest demand was for

Widget C, and the biggest income came fromsales of Widget B. Look at the spreadsheet thatprovides this information in Figure 1. These results(the number of widgets, which one sold the most

and even the format of $14 million) are derivedusing spreadsheet functions. If you change theinformation in the spreadsheet, the functionsrecalculates and reflects the changes.

If you insert a row in order to add another widg-et to this list, the total number of widgets becomesfour, and the document reflects that change. Thesales figures for the new widget are added to thetotal income. If the new widget causes changes towhich widget is the biggest seller, or which widget

47www.tuxmagazine.com

Figure 6. A Modified SpreadsheetFigure 5. Presentation Based on Linked Information

REVIEWS

Page 48: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 48/54

brought in the most income, all thesechanges are recalculated in the spread-sheet, and the changes are reflected in thedocument. See Figures 6, 7 and 8 forexamples of these kinds of changes.

WHAT GOOD IS IT?If the productivity advantages aren’talready obvious to you, allow me to pointout at least one possibility opened up bythe ease with which you can integrateinformation. It makes it indescribably easyto create a budget template that includesa spreadsheet with all the figures, a doc-ument that references this information(which you can use for a report) and apresentation that summarizes the impor-tant information from that spreadsheet.

Each quarter, year or what have you,you can save this template to a newbinder file, edit the spreadsheet to add orremove widgets as your company changesits offerings, fill in new figures and makenecessary changes to the spreadsheet.The report document and presentationautomatically reflect all of the new infor-mation. Even if you have to makechanges to the document or presentation

in order to describe new business strate-gies based on the changing dynamics ofthe company, you still have saved animmense amount of time thanks to theintegration of EIOffice. Considering howeasy it is to create the links that make thispossible, EIOffice offers a dramaticincrease in productivity the average per-son can’t even begin to squeeze out ofOpenOffice.org or Microsoft Office.

BEFORE YOU ASKThis particular example revolves entirelyaround information taken from a spread-sheet. No doubt you have also noticedthat EIOffice is binder-oriented. That is, itcreates documents, spreadsheets andpresentations all within a single binderthat is saved as a single file.

This does not mean you can link onlyfrom a spreadsheet to other types ofdocuments. You can link informationfrom any type of document to any othertype of document. For example, you cancreate a document with headings foreach topic and then link those headingsto the headings in your presentation.Change a heading in the document, andthe presentation reflects that change.

You also are not limited to linkingbetween documents within a single binder.You can create links across differentbinders (and thus different files). Changethe information in one binder, and thatchange is reflected in the other. If you takethat approach, however, the onus is uponyou to manage multiple binders properly,so that one binder won’t lose sight of theothers upon which it depends. It seems like

a better approach to organize all relateddata in a single binder, if only because it isso much easier to manage your informa-tion that way. But how you manage yourinformation is your business.

Finally, just because a binder automat-ically makes space for spreadsheets andpresentations doesn’t mean you have touse them. You can use EIOffice strictly forword processing, for example. The file

48www.tuxmagazine.com

Figure 7. Changes in the Document

Figure 8. Changes in the Presentation

i i ’ b ll i fl d b i i ’ h h d ’ i i l EIOffi h dl li k h ill l k h

REVIEWS

Page 49: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 49/54

size isn’t abnormally inflated because it can con-tain other types of documents.

FLAWS AND MISSING PIECESEIOffice installs fairly cleanly on the most popularcommercial versions of Linux, and it installed fineon my copy of Fedora Core 3 and continues torun fine after upgrading to Fedora Core 4. But Ialso have had problems installing it on less popu-lar distributions, so there is no guarantee it willinstall easily on yours. This is where the fact that itis a commercial product comes in handy. If youhave trouble installing it, you paid for support, sotake advantage of it.

EIOffice is a near-perfect clone of MicrosoftOffice, not a perfect clone. The most visible omis-sion is an equivalent to Microsoft Access. EIOfficedoes a good job of importing Microsoft Officedocuments, but not a perfect one. The bigger andmore complex a Microsoft Office document maybe, the more likely EIOffice will have trouble han-dling it. In particular, EIOffice usually crashes whenI try to load Microsoft Office 2000 documentspacked with embedded illustrations and tables.OpenOffice.org 2.0 (beta) did a remarkably good

job importing the same documents. KOffice’sKWord imported the same documents, but theydid not include the embedded images and tables.

On the other hand, when EIOffice importsMicrosoft Office documents without problems, itsometimes renders them more faithfully thanOpenOffice.org. For example, OpenOffice.org some-times renders tables too large, so that they extendbeyond the margins of the page. I have not seen thishappen with EIOffice. When EIOffice has problemswith tables, they are generally related to a change infont size that EIOffice makes when the EIOffice style

settings aren’t the same as the document’s originalsettings. The end result is that the table wrapsaround upon itself until you change the font size.

With a few exceptions, EIOffice renders notesthe same way Microsoft Office renders them. Ifyou highlight a portion of text and write a noteabout that text in a Microsoft Office document,that same text appears highlighted in EIOffice andthe note is attached. OpenOffice.org has a differ-ent method for handling notes, so it appears tolose all of the text highlights for notes from theMicrosoft Office document. In fact, if the notesexist at all after you import the document, Ihaven’t stumbled on the way to makeOpenOffice.org display them.

EIOffice lacks the collaboration features of thelatest versions of Microsoft Office. In this case,one must ask oneself whether or not these fea-tures are worth having. I have first-hand knowl-edge of at least two projects where multiple con-tractors collaborated on documents usingMicrosoft Office. One project was even commis-sioned by Microsoft! In spite of the fact that theseprojects involved a great deal of collaboration,none of the authors used any of the collaborationfeatures of Microsoft Office. If the collaborationfeatures are so compelling, why didn’t they usethem? Unfortunately, this is a question I cannot

answer, but it is worth asking. If you depend uponthe collaboration features of Microsoft Office,you’ll either miss them in EIOffice, or you’ll haveto use other collaboration tools (instant messen-gers and so forth) to make up for the difference.

These flaws in EIOffice will be trivial to some peo-ple and show-stoppers to others, depending upontheir needs. But EIOffice has so much going for it,you may just find yourself so hooked on the superior

way EIOffice handles links that you will overlook thedifferences you thought would be show-stoppers.

THE BOTTOM LINEEven if Microsoft Office didn’t exist and EIOfficedidn’t offer such an amazing level of integrationthat is so easy to apply to everyday tasks, EIOfficewould be worth every cent of its $149 price tag.But Microsoft Office does exist, and users whowant to migrate from Windows to Linux can takeadvantage of the fact that EIOffice makes thetransition from Microsoft Office about as painlessas one could imagine. As a bonus, it runs onboth Windows and Linux, which makes a migra-tion to Linux even smoother. Add to that the factthat EIOffice offers integration that is unmatchedby any of the competition, it is arguably the bestoffice suite on the market today. Granted,EIOffice is not flawless, but if you want an officesuite, and any of its shortcomings are not show-stoppers for you, EIOffice is not just a superiorchoice, it is a must-have. I

Ricky Freedlander is a consultant and freelancer and has beenusing Linux since 1995.

49www.tuxmagazine.com

PRODUCT INFORMATIONCurrent version: EIOffice 2004-A

Company: Evermore Software, based in China

Price: $149 US the first year, $99 US per yearafterward for continued support and upgrades.

Web Site: http://www.evermoresw.com

REVIEWS

Page 50: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 50/54

50www.tuxmagazine.com

If it’s time to replace that old keyboard, a lot ofgreat new options are available, both wired andwireless. If there’s one thing that the new Linuxuser should be made aware of right off the bat, itis that not all the buttons on these newfangledfancy-schmancy keyboards are going to work,especially multimedia-centric buttons and applica-tion launch buttons—not without some hackingaround, anyhow. (Unfortunately, that’s anotherarticle altogether.)

The good news is that for most of your typingneeds, these new keyboards will do the trick justfine; there are no special “Linux” keys required touse a Linux system, after all. If you are dual-boot-ing a machine between Linux and Windows, youcan receive all of the multimedia functions whileusing Windows, and still receive some benefits onthe Linux side.

MICROSOFT NATURALERGONOMIC KEYBOARD 4000

http://www.microsoft.com/hardware/ mouseandkeyboard/productdetails.aspx?pid=043$50 US

Yes, I know—booooooo! But wait! You don’thave to like Microsoft’s operating system to findsomething to like about this new ergonomically-designed keyboard. Microsoft was one of the firstcompanies to release a “natural” keyboard, split-ting the keyboard in half and angling it slightly

outward in an effort toget the hands to fall ina more natural manner,reducing the risk ofrepetitive stress injuries.The new NaturalErgonomic Keyboard4000 is the latest suchproduct from Microsoft’shardware team, and itactually has undergone afairly radical redesign.

Before sitting down todesign the NaturalErgonomic Keyboard4000, a team ofexperts watched how peoplewere actually using the split-design keyboards andconcluded that the design still needed some work.Although angling the keys to the left and rightcertainly helped, users still were straining to reachthe outer keys, often repositioning their wristscompletely in the process, including regularly usedkeys like the Backspace key. In other words, poortypists were also penalized with potential wristpain from the strain of reaching for that key sooften. Ouch.

To address this, the two halves of the split key-board have been redesigned. First of all, the keysin the center are noticeably higher than the keyson the outer edges, which rolls the wrists slightlyoutward into a more natural orientation. Second,

the keyboard curves outward,so that the keys on the far

left- and right-hand side areback in the standard (non-

natural) orientation,which is as squared offwith the sides of thekeyboard as you can

get with a keyboard that’sshaped like a manta ray. Third, the

keys on the outer edgereturn to a more or lessstandard vertical orien-

tation, losing the slopefound on keys locatedtoward the center ofthe keyboard. All three

of these changes help keep the hands properlypositioned most of the time, reducing straincaused by unnatural wrist positioning and unnec-essary finger travel.

The downside: just like you did when youlearned key positions on a natural keyboarddesign, you’ll have to re-learn exact key positionsall over again with this one. (For some reason, Ikeep missing the B key altogether when using thekeyboard. Thankfully, the human ability to adaptto such things is amazing, and practice makesperfect.)

Another nice little bonus with this new designis a special plastic add-on that goes under thekeyboard. You know those flip-up clips usually

Gadget Guy: Urgent and keySEAN CARRUTHERS

found on the underside of a keyboard near the of the keyboard itself here:

REVIEWS

Page 51: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 51/54

found on the underside of a keyboard, near theback? Well, this plastic piece clips on under thefront end of the keyboard to tilt it in the oppositedirection, for users using a desk or stool that’s toolow for proper typing. The add-on piece spans thewhole width of the keyboard, for added stability.

As expected, there are a number of buttonshere that do absolutely zilcho on a Linux box with-out additional hacking. The top row has a series ofone-touch application launch buttons, dedicatedbuttons for Web favourites and volume/play controlbuttons for use with Windows’ Media Player.There’s also a “zoom” control tucked between thetwo halves of the keyboard, and back and forwardbuttons located just below the keyboard.Thankfully, these keys are grey instead of black, soit’s easy to figure out which ones not to press.

Because the Natural Ergonomic Keyboard 4000connects to your computer via USB, it’s less expen-sive than the new wireless keyboards. Even withthe non-functional buttons along the top and bot-tom of the keyboard, the benefits of the new 3-Dkey redesign may be well worth the price.

LOGITECH CORDLESS DESKTOP MX 3000 LASER

http://www.logitech.com$100 US

lf you can’t stand dealing with the wires on yourdesktop, check out this new cordless package fromLogitech. Again, the keyboard has a series of but-tons along the top that will do nothing for you outof the box, but there are a few special controls thatdo offer added functionality. And because this oneis a bundle, it also comes with one of Logitech’snew cordless laser mice as an added bonus.

There’s nothing overly special about the layout

of the keyboard itself here:it’s a pretty standard orien-tation, with the alphabeton the left and a numberpad on the right. There’s ahuge array of special-usebuttons along the very topof the keyboard, however,and none of them workon a Linux system withoutextra work: there are but-tons for accessing yourdigital library on the left,your communications toolson the right and media control buttons—includinga big (but nonetheless useless) volume control—inthe center. Off to the left-hand side of the key-board is a bit of good news: the scroll wheel builtinto the keyboard actually works, as do the twoarrow keys on either side of it. Don’t bother withthe zoom controls just above it, however.

Likewise, the included mouse offers at leastone surprise. The mouse is one of the next-gener-ation laser mice, which replaces the glowing redLED found in optical mice and with a laser sensorfor greater resolution and the consequent greatersensitivity. If your version of Linux recognizesmouse scroll wheels, this one is no exception, butmy version of the OS (SUSE 9.3) also automaticallydetected the tilt functionality of the scroll wheel:push the scroll wheel to the left or the right, andyour computer will see it as cursor left or cursorright, just as if you pressed the left or right arrowson the keyboard—very handy for navigatingthrough spreadsheets. One bit of oddness:although the other mouse buttons appear to benonfunctional (left- and right-click excepted ofcourse), the button marked 100% appears to

double as a left-click. Of course, you can alwaysfind a geek who knows what he/she is doing andget them to play with files like Xmodmap andxorg.conf to map all the buttons on the mouse.

Both the keyboard and the mouse require apair of standard AA batteries, and both feature awarning light that lets you know when the batter-ies are about to run out.

Again, the lack of functionality from the extrabuttons is a bit of a bummer, but $100 for a wirelesskeyboard that comes with a mouse worth about $60all by itself—well, that’s not bad. Not bad at all. I

Sean Carruthers is a freelance technology journalist from Toronto. He spent sixyears at Canada Computer Paper, first asProducts Editor at The Computer andlater at HUB Digital Living magazine. As afreelancer, he has written for the Globe and Mail , http://globetechnology.com ,

HUB Digital Living , Computer Dealer News , Homefront andCE-Biz . Although a relative newbie with Linux (SUSE, thank youvery much), he has extensive experience with tech gadgets ofall sorts and is enjoying figuring out which ones are compatiblewith Linux.

51www.tuxmagazine.com

REVIEWS

Page 52: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 52/54

Evince is a document viewer appli-cation that currently supports PDFand PostScript document formats. Itoffers the speed of lightweightviewers, such as Xpdf (which sacri-ficed features for speed), as well assome of the features of moreheavyweight viewers, such as theofficial Adobe PDF Reader (whichquite obviously sacrificed speed toprovide a boatload of features).

Evince recently has been includedinto the GNOME platform, andtherefore it should ship with mostrecent Linux distributions.

Performance-wise, Evince wasable to open up a 960-page PDF

document in just under two sec-onds, and the October 2005 issueof TUX magazine in less than asecond. This is quite similar to theperformance provided by Xpdf;however, I noticed that onceloaded, browsing through thesame document with Evince wasconsiderably faster and smootherthan it was using Xpdf.

As for the features, one thing Iimmediately noticed about Evincewas the ability to select text in a PDFdocument. Xpdf does not providethis particular feature, and it doeshave obvious advantages.

Evince also supports several differ-ent view modes for documents, muchlike the official Acrobat Reader, suchas dual-page view or continuous (or

any combination of those settings),the standard zoom drop-down, aswell as a couple of zoom options tai-lored to your current resolution andthe size of the Evince window (fitpage width is such an option).

Additionally, Evince offers a searchtool, similar in nature to the one pro-vided by Mozilla Firefox’s Type-aheadFind feature or Epiphany’s search bar.Pressing the / key on your keyboardtriggers this bar to appear, and thedocument is searched as you typeeach character.

I was pleasantly surprised by thespeed at which Evince was able tomatch text in very large documents.

Two other interesting featuresthat Evince provides are Indexing,which creates a linked table of con-

tent of your document in a waysimilar to how presentation applica-tions work, and a thumbnailingfeature that creates thumbnails ofall pages in the vicinity of the oneyou are currently reading. Thethumbnails are rendered as youbrowse through your documentsand once again, Evince createsthese thumbnails very fast.

— X a v i e r S p r i e t

52www.tuxmagazine.com

Evince

About Evince:

• License: General Public License(GPL)

• Price: Free• Web site: http://www.gnome.org/

projects/evince

Selecting Text TUX Magazine in Full-Screen Mode Dual-Page Mode, Continuous and Search-Bar

REVIEWS

Page 53: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 53/54

NVU (pronounced N-view) is a WYSI-WYG (what you see is what you get)HTML editor. It is basically a tool thatallows you to create individual Webpages or entire Web sites graphically,without having to learn HTML, CSSand all the other technologiesinvolved in these tasks.

NVU is based on the MozillaComposer component, a basic HTMLeditor that can be used to puttogether simple Web documents.

The tools and interface providedby NVU are what differentiates it fromComposer, as it intends on becomingthe editor of choice for professionals.

Those features are numerous, andinclude a site manager that lets youmaintain a repository of all your Webprojects, including publication infor-mation, site name and URL, whichNVU uses to publish all documentsbelonging to the entire Web siteautomatically.

Another interesting feature is theability to open remote locationsdirectly in the editor and start usingan existing Web document as a tem-plate, simply by specifying the URL.

NVU also provides a completeCSS editor dialog so you can createand manage complete CSSstylesheets. This is particularly useful

for people who need to maintainlarger sites or use one stylesheet as atemplate for future work.

The CSS editor is intuitive(although you need to know whatCSS is and how it works to under-stand what you are doing with theeditor) and fairly complete. It sup-ports remote sheets and rules, CSSrules against standard HTML ele-ments, custom rules and so forth.

I’ve taken NVU out for a spin anddecided to create a simple brandedHTML contact form to see howpainful NVU would make this task.Overall, I found the process to be pret-ty straightforward; the HTML and CSScode generated by NVU was relativelyclean, the layout made sense, the key-

board shortcuts wereintuitive and the endresult was preciselywhat I had in my editorwindow.

I did notice a cou-ple of oddities whileusing the application,such as an empty menu item, arather counter-intuitive way toadd submit buttons to a form (theInsert→ Form→ Button → Submitbutton option creates an empty andblank button that does nothing).But, overall the progress is encourag-ing, considering that NVU is still atan early stage of development (ver-sion 1.0 was recently released).

— X a v i e r S p r i e t

53www.tuxmagazine.com

NVU

Editing the TUX Magazine Web Site

NVU’s CSS Editor

Creating a Simple Form with NVU

About NVU:

• License: Mozilla Public License(MZL), General Public License(GPL), Lesser General PublicLicense (LGPL)

• Price: Free• Web site: http://www.nvu.com

play on-screen alerts to

REVIEWS

N ll E l ti

Page 54: TUX Issue8 Nov2005

8/4/2019 TUX Issue8 Nov2005

http://slidepdf.com/reader/full/tux-issue8-nov2005 54/54

Evolution is a personal informationmanagement system that handlesthe management of e-mail, calendar,tasks and contacts. It originally wasdeveloped by Ximian, Inc., formerlyHelix Code, which was acquired byNovell, Inc., in 2003.

Since 2004, Evolution also hasbeen the official personal informa-tion management system of theGNOME desktop platform.

Evolution is based on the combi-nation of four core components.Each component pertains to certaintypes of information and managesdata in a different way.

Mail ComponentPerhaps the most mature componentof the entire application is Evolution’sformidable mail-client. This mailclient is similar to other tools, suchas Microsoft Outlook, KMail orThunderbird, but has a combinationof several very interesting features:

I Filters all incoming mail throughthe SpamAssassin application.SpamAssassin is one of the mostsophisticated and mature junk-mail protection systems available.

I Views messages by threads.

I Powerful rule-based filtering sys-

tem—the filter dialog is a power-ful tool that lets you create cus-tom combinations of rules andactions that should be triggered.

I Can retrieve mail from a MicrosoftExchange mail server.

I Contains virtual folders.

I Provides HTML composing.

Calendar ComponentA particularly interesting element ofEvolution is an incredibly useful cal-endar. I have been using that com-ponent of Evolution since the 1.2days, and it gets even more excitingwith every release.

The Evolution calendar (just likeevery other component of Evolution)can communicate with the MicrosoftExchange server as well as Novell’scompeting Groupwise system. It sup-ports the management of multiplecalendars at once, and it displays mul-tiple calendars in a much more intelli-gent way than Microsoft Outlook.

The Calendar component allowsyou to create recurrent events, sendnotifications to meeting participantsand gather their responses and dis-

p ynotify you of events. Itintegrates itself to theGNOME clock applet toshow today’s events, andit even displays theweather forecast for thedays in the current view.

Tasks ComponentThis component is a bitmore simple to use. It isbasically a to-do list onsteroids. Important tasksare integrated in yourGNOME clock applet aswell, and several lists canbe kept at once.

You also can specifyvalues for importantaspects of each task suchas the start/due dates, pri-ority, summary and so on.

ContactsComponentThis particular componentlets you track your person-al and business contactsand is meant to make communicationswith these contacts easier.

A powerful sorting system allowsyou to create intuitive lists of con-tacts, and the component also inte-grates with the Gaim InstantMessenger client to track the on-line/off-line status of your contactsdirectly from the mail client. — X a v i e r S p r i e t

54www.tuxmagazine.com

Novell Evolution

About Evolution:

• License: General Public License(GPL)

• Price: Free• Web site: http://www.gnome.org/

projects/evolution

Evolution Components Bar

Multiple Calendars

Company View for Contact List