Newsletter
Newsletter 5: 2010-03-23 -- Packing light PDF Print E-mail
Written by Jon Jermey   
Monday, 22 February 2010 11:06

There are many people who are keen fans of Linux at home, but still have to do their work on Windows-equipped computers -- and for all I know the reverse may be true. So it's nice to know that an increasing number of programs are being written and revised in such a way that they will work on both platforms -- and sometimes even on a Macintosh. Equipped with these applications programs, you can confidently carry your files back and forth from one platform to another, confident in the knowledge that they will look and behave in exactly the same way; and meanwhile you can focus on learning one type of software thoroughly, rather than dividing your attention between two or more.

So here is a list of major programs that work -- and work more or less the same -- on both Windows and Linux platforms. What's more, they're all free!

1) OpenOffice

The OpenOffice package consists of five modules: a word processor, a spreadsheet, a presentation manager, a simple drawing module and a database module. The first four are installed by default in most major Linux distros; the last is an optional extra that can be downloaded. OpenOffice is modelled on Microsoft Office -- specifically its older, more rational incarnations, before Windows Vista came along. It will do just about anything MS-Office will except run Visual Basic macros -- but it supports, not just one, but four macro languages of its own (including the popular Python) to make up for it. Windows, Linux and Macintosh versions of OpenOffice 3.2 can be downloaded from www.openoffice.org.

2) Firefox

Is there anyone who hasn't yet heard of Firefox, the alternative web browser? Having captured a large proportion of the browser market over the last few years because of its superiority to Microsoft Internet Explorer (particularly its multiple tab option), Firefox is still holding its own against a reinvigorated opposition. One great strength of Firefox is the enormous number of extension programs that can be integrated into the program, supporting features like advertisement blocking, Flash blocking, video downloads, readability options, and bookmark and password managers. Firefox 3.6 is available from www.mozilla.com/firefox for Windows, Linux, Macintosh systems and even mobile phones and PDAs.

3) Thunderbird

Thunderbird is the email program from Mozilla, the distributors of Firefox. It handles multiple accounts, spam filters, subfolders and subsubfolders, Usenet newsgroups and attachments. Like Firefox, can be enhanced with extension programs which add features like boilerplate text, colour settings, ad blocking, automatic zipping of extensions, and so on. One popular extension is Lightning, which add a basic calendar and events management list. Thunderbird 3 is available from www.mozilla.com/thunderbird for Windows, Linux and Macintosh systems.

4) GIMP

GIMP is the open source and free software movement's answer to Adobe Photoshop: a powerful bitmap editor with layers, colour manipulations, many filters and special effects, masks, transformations, auto corrections, batch image manipulation and all the paraphernalia of a sophisticated graphics package. The name is unfortunate (it stands for GNU Image Manipulation Program, and it seemed funny at the time), and may be changed in the near future, but there is nothing childish about the power of the program and what it can do. GIMP is available from www.gimp.org for Windows, Linux and Macintosh systems.

5) Inkscape

Inkscape is an Adobe Illustrator killer: a free program which allows for powerful design, technical drawing and illustration work with vector graphics. Inkscape produces compact images which can be rescaled and distorted without any loss of image quality. From precise scale diagrams to free-flowing psychedelic designs, Inkscape 0.47 can handle them all. It supports drawing tablets and is available from www.inkscape.org for Windows, Linux and Macintosh systems.

6) Adobe Reader

Kudos to Adobe for making their reader program available in Linux -- even if they could probably have done it better. Adobe Reader for Linux works in the same way as the Windows version. Weighing in at 60Mb, it makes for a hefty download, and there are many Linux programs which provide the same functions, notably ePDFView. But if you need to have it, now you can have it in Linux as well as for Windows and the Macintosh. Version 8 is available for download from get.adobe.com/reader.

Last Updated on Tuesday, 23 March 2010 12:48
 
Newsletter 4: 2010-03-11 -- Stand up and be counted! PDF Print E-mail
Written by Jon Jermey   
Monday, 22 February 2010 11:06

The Linux Counter site (http://counter.li.org) is a simple site with a simple mission: to keep tabs on the number of Linux users and systems around the world. After a peak in 2002 it's showing a bit of a decline, which can't really be the case. It's more likely that people are just failing to register with the site, which is a shame: not only does it provide useful information, it also allows Linus users to express a little bit of solidarity -- which can be a useful thing if you are in a minority group. Despite the statistically improbable decline, however, the site still gives us some useful information about the distribution of Linux users throughout the world.

The total -- 123668 -- is almost certainly an underestimate, for the reasons given above: but it's still a healthy figure. Looking down the list on the site we can see how this is divided up between countries.

One surprise: the country with the largest number of registered users (18754) is the United States. Obviously this is just a drop in the bucket compared with the number of Windows users --  after all, this is Microsoft's home territory -- but it is encouraging, especially since the impression that I often get from newsgroups and discussion boards is that most Linux users don't have English as their first language. They do extremely well in it, and I am lost in admiration for their skills, but often don't have that grasp of idiom which native-born speakers display. It's good to know that so many Linux users do have inherent English-language skills -- although admittedly some of them still don't manage to communicate very well.

For the record here are the figures for English-speaking nations:

  • Australia 1851
  • Canada 3172
  • South Africa 576
  • United Kingdom 4461
  • United States of America 18754

Some of the smaller countries are doing well -- I guess it doesn't take too much effort for one Linux enthusiast in Andorra, say, to reach out and evangelise a substantial portion of the country's computer users:

  • Andorra 99
  • Anguilla 43
  • Bosnia and Herzegovina 148
  • Christmas Island 16
  • Cocos (Keeling) Islands 13
  • Cook Islands 15
  • East Timor (Timor Leste) 15
  • Falkland Islands (Islas Malvinas) 6
  • Faroe Islands (Føroyar) 49
  • Liechtenstein 53
  • Lithuania 182
  • Luxembourg 104
  • Moldova 60
  • Monaco 46
  • Netherlands Antilles 14
  • Saint Helena 46
  • San Marino 33

It's an encouraging sign that people who may be well away from established bases of support are still keen to experiment and achieve with Linux.

But the site goes further. It actually allows people to list their locations (down to city level) and supply contact details: so it's a great way of getting in touch with people in your local area who are committed to Linux and willing to share their skills. So what's stopping you?

Last Updated on Thursday, 11 March 2010 09:23
 
Newsletter 3: 2010-02-22 -- The unsung heroes of the GUI PDF Print E-mail
Written by Jon Jermey   
Monday, 22 February 2010 11:06

As much as I admire Ian Murdock and Linus Torvalds, Kernighan and Richie and all the other stratospheric geniuses who have worked on the esoteric code which gets systems like Linux and Unix up and running, I must confess I have a special respect for those largely anonymous people who build and develop the interfaces which make these systems accessible to ordinary users. Interface design is a difficult and frustrating area, where the goalposts are constantly moving. Designers are the meat in the sandwich between programmers who value fast, compact, easily-read code, and project managers who want a pretty, simple system that everyone can understand and use straight away.

This is why it is so interesting to watch and compare the progress of the major Linux distros. At a time when Microsoft is making customers re-purchase perfectly good software by radically changing the way it works, Linux developers are experimenting with incremental changes to well-established systems. Both GNOME and KDE, the two major interfaces, are constantly under development: but unlike Microsoft, the older versions are always there and available for users who can't -- or simply don't want to -- run the newest, greatest version. Popular changes survive and prosper, but even unpopular ones get a chance to prove themselves and maybe find a niche somewhere.

Right now Ubuntu -- the poster child for the GNOME GUI -- seems to be well in front in terms of popularity, but old KDE-based rivals like OpenSUSE and PCLinuxOS are still in the running, and now they have the bugs out of it, KDE version 4 is attracting a lot of attention. What also seems to be happening is a double convergence: not only is it easier all the time to switch between interfaces (or run both), but the interfaces themselves are getting closer. This is what we should expect, of course, in a rapidly-developing area: if there is a 'best' way to do things, then all our efforts to improve design should end up in the same place.

Compare this with the Windows approach. Windows XP drew on over twenty years of development expertise. It was a huge success, sold millions of copies, and was generally acknowledged as a sound, successful design for an operating system and computing applications. So Microsoft changed it. They produced Vista, which was bigger, slower and worse; and now we have Vista II, aka Windows 7, which fixes some of the bugs but retains a new design which nobody asked for. Microsoft's product has now peaked, and just like the new season's cars, they have to keep changing the design in order to sell it. Linux, meanwhile, doesn't have to impress anyone: it can just go on doing the same things slightly better each time.

Last Updated on Thursday, 11 March 2010 08:57
 
Newsletter 2: 2010-02-19 -- Command-line programs

Command-line programs

Bash – the Bourne-Again Shell – appears on a Linux system whenever you open a terminal window. Normally Bash is used for one-off commands, but it is possible to string these together into long and powerful programs including parameters and internal variables.

Bash programs are created as text files with the first line

#!/bin/sh

This is usually followed by a line specifying the script name. The file can be saved with the extension .sh, though this is not essential.

This simple example combines all the PDF files in a directory, extracts the text from the resulting file, and counts the words in that file:

#!/bin/sh
# Script Name: combinepdfs.sh
pdftk ./*.pdf cat output ./complete.pdf
pdftotext complete.pdf
wc -w complete.txt >>wordcount.txt

To run a Bash script, right-click it in the Nautilus File Manager and select Properties. Click on the Permissions tab and turn on the check box which says Allow executing file as program. You should then be able to run the script by double-clicking on it. Alternatively you can open a terminal window, navigate with cd to the directory containing the file, and type the name of the file to run it.
Here are four that I find particularly useful.

Eject a CD, pause ten seconds and close the CD drawer

su
umount -l /media/cdrom0eject /media/cdrom0
sleep 10
eject -t

Split all mp3s in a folder into ten-minute segments

Handy for breaking up long music podcasts (like Ultima Thule! – www.ultimathule.info) into convenient sections.

mp3splt -f -t 10.0 -a -d 10split UT*.mp3

Combine all PDFs in a folder

The command pdftk won’t work if the PDF filenames contain spaces, so the first line replaces all spaces in the names with underline characters, and the third line changes them back again:

rename -v 's/\ /\_/g' *.pdf
pdftk *.pdf cat output complete.pdf
rename -v 's/\_/\ /g' *.pdf

Backup

A simple backup script that synchronises the contents of my /home directory with an external hard disk called Transcend:

#/bin/bash
sudo mount -a
rsync -v -r -l --delete -z /home/jon /media/Transcend
echo "Finished!"
 
Newsletter 1: 2010-02-09 -- The Distrowatch Top Ten

The Distrowatch Top Ten

Every day the independent website Distrowatch updates its list of Linux distro page hit rankings. This is, of course, not the same as a popularity contest: the fact that many people are looking at a page about Distro X doesn't mean that all those people are installing X or using X, or even thinking about it, but in the absence of any reliable figures (one of the drawbacks of free distribution), the Distrowatch figures are the best indication we have of the relative standing of each distro. The time period for the rankings is adjustable, so it is possible to do a bit of crude trend analysis and estimate where the figures might be going as well as seeing where they have been. As an ex-statistician, it's interesting for me to see just what I can deduce from all this.

Here are the Distrowatch figures for the last three years, with a couple of columns of analysis. The figures show the average number of hits per day over the period of a year for each of the ten distros (the actual table goes down to 100 distros, but I'll spare you those). The table includes links to the relevant distro pages on the site. If the figures are a bit small, hold down the Control Key and spin your mouse wheel -- that should zoom you in.

Rank 2009 2008 2007 2009 as % of 2007
1 Ubuntu 2249 19.2% Ubuntu 2325 19.4% Ubuntu 2519 18.7% Ubuntu 89.3%
2 Fedora 1569 13.4% openSUSE 1740 14.5% PCLinuxOS 2502 18.6% Fedora 117.8%
3 Mint 1408 12.0% Mint 1458 12.1% openSUSE 1596 11.9% Mint 142.1%
4 openSUSE 1367 11.7% Fedora 1376 11.5% Fedora 1332 9.9% openSUSE 85.7%
5 Debian 1034 8.8% PCLinuxOS 1147 9.6% Sabayon 1087 8.1% Debian 108.5%
6 Mandriva 1028 8.8% Debian 1038 8.6% Mint 991 7.4% Mandriva 121.7%
7 Puppy 784 6.7% Mandriva 988 8.2% Debian 953 7.1% Puppy 31.2%
8 PCLinuxOS 780 6.7% Dreamlinux 670 5.6% MEPIS 921 6.8% PCLinuxOS 70.7%
9 Sabayon 768 6.6% Sabayon 650 5.4% Mandriva 845 6.3% Sabayon N/A
10 Arch 701 6.0% Damn Small 618 5.1% Damn Small 705 5.2% Arch N/A

What does this all tell us? Firstly, there is a remarkable consistency across the three years. Eight of the distros that were in the top ten in 2007 were still there in 2009. Since the detractors of Linux like to point out how fickle and evanescent the Linux world is, it's nice to have some confirmation that things really don't change that much.

Secondly, this confirms the ongoing dominance of Ubuntu. Despite going through six new versions in the three-year period, Ubuntu has maintained its dominance. Its main competitor in 2007, PCLinuxOS, has dropped to eighth place in 2009, largely because of its failure to adhere to a rigid release schedule (translation: the new version was late). Fedora has picked up significantly with its new release in 2009, but still barely attains two-thirds of the hits Ubuntu does. Add in Mint, which is only a minor variant of Ubuntu, and the system gets 31% of the daily hits in the Top Ten, more than twice those of any other system.

It's interesting that the number of hits on Ubuntu has actually dropped over the last two years. It certainly isn't because of declining interest, so I'm going to put that down to a widening range of other websites (like this one) where Ubuntu fans and the curious can go to get their fix of information. If anyone has a better idea, let me know.

Particularly interesting is the drop by OpenSUSE from second to fourth place between 2008 and 2009. SUSE is a KDE-based system which has acquired a wide and enviable reputation for being reliable and bulletproof. Reviews of SUSE may describe it as 'boring' but never 'unreliable', Despite this it has failed to capture the imagination, and its hit rate is declining rapidly. Is this a reaction to the new version of KDE? Is GNOME now 'winning' the interface contest, with four GNOME-based distributions in the top five? Or will there be a swing back to KDE systems as the new KDE version 4 is tested and debugged more extensively?

What does this all mean for beginners? Simply that, unlike a Windows system, using Linux doesn't lock you into a particular person's (or company's) philosophy. All the distros above (and the other 298 currently listed on Distrowatch) represent the particular take that a certain individual or small group has on Linux and what it should do. If you happen to find the distro which matches your needs it can be like finding your soulmate: everything works and it all seems right. If not, don't despair: there are lots more to try, and they're (nearly) all free. Using Windows is like putting your hand into a vice: using Linux is like putting it into a lucky dip.

 


Bitten By the Penguin