Archive for the 'Linux' Category

Sharing the love with BitTorrent

Xubuntu 8.04 is out! This release, along with those of Ubuntu, Kubuntu and whatnot, means that the Ubuntu servers are going to have a hard time with everybody and their stork downloading these new releases at the same time. Being the good open source citizen that you are, you are probably more than willing to take some of the load. Look no further, as BitTorrent is here to save the day!

In short, BitTorrent allows you to download files from other people, meanwhile sharing the parts you have already downloaded with other people who, just like you, are eager to try out the latest and greatest the open source community has to offer.

To download files using BitTorrent, you need a BitTorrent client. Since Xubuntu 8.04 includes Transmission, that is what we will be using. If you’re not using 8.04, make sure to install it.

The first thing we need, is a torrent file, a file with a name ending in .torrent that contains all the information Transmission needs to download the appropriate files. The Xubuntu 8.04 torrent can be downloaded from Ubuntu’s torrent website, where you can select the graphical Desktop CD (which is what most people want) or the text-based Alternate Install CD. We want the torrent files for Intel x86 architectures (most computers) or for AMD64 architectures (you’d probably know if you need this, using 64 Bit). A torrent file is not that big, so it should not take too long to download and does not place much of a burden on the servers.

After having downloaded the file to wherever you like, open up Transmission from Applications->Network->Transmission.



When newly installed, Transmission will download all files into the same directory as the torrent file. Instead of adapting to software (by remembering where it downloads files to), I make software adapt to me, so when I open a torrent file with Transmission, I want it to ask me where I want the files to be downloaded to.

Luckily, this is easy: simply open File->Preferences. While the preferences window is filled with cryptic terminology, the option I’m looking for is quickly found: all I need to do, is check the checkbox in front of Always prompt for download directory.



You can configure a whole host of additional options in the prefences window, such as the maximum download and upload speed. Be aware, though, that if you lower the maximum upload speed (i.e. the speed with which you are sharing the files with other people), the download speed will also decrease, so as to encourage everybody to share as much as they can.

When you’re done configuring Transmission, click Close in the Prefences window - it’s time to start downloading! Click File->Add and locate the torrent file you downloaded earlier. After you’ve opened the file and selected a target folder, Transmission will start downloading. While it will still be a long wait (the Xubuntu ISO image is a whopping 544 MB), if a lot of people are sharing the love then it’ll be faster than a direct download, and you’re helping other users at the same time.



Once you’re done downloading, you’ll want to verify that the file you downloaded is the correct one. After you’ve done that, the big moment is there: you can install Xubuntu!

Don’t close Transmission though! If you leave the window open after your download has completed, Transmission will continue sharing the downloaded file with other users - this is called seeding and is a good habit if you want to be a Nice Guy. You can also resume seeding after you’ve closed a torrent - simply re-open the torrent file and select the same download location.

All in all, while often associated with illegal downloading, there are plently of legit situations in which BitTorrent saves the day. Now spread the love!

Access to the proprietary world

Who doesn’t like the idea of open source, of sharing, and that every one who is able to can change software to his/her likings and share the changes with the rest of the free software world? Unfortunately, it takes a big deal of self-restraint to only use completely liberated software. Who can resist the attraction of shiny animations on websites (Flash), or those of playing music on your iPod (which does not support any of the free formats that are superior in so many ways)?

Unfortunately, due to a lot of legal restrictions, Xubuntu is unable to add support for these restricted formats to a default installation. Luckily, since Xubuntu Feisty (7.04) it is easier than ever to enable, using Applications->System->Add/Remove.... With just a few clicks, you can install the package “Ubuntu Restricted Extras”. So, I open up Add/Remove… and search for “Restricted Extras”…

Searching for "Restricted Extras" - where is it?

Not found?! Oh, wait…

To broaden your search, choose ‘Show all Open Source applications’ or ‘Show all available’ applications.

So, in the top right-hand corner, I select “All available applications” and, what a surprise, there it is!

Searching for "Restricted Extras" - there it is!

Cliking the checkbox in front of “Ubuntu restricted extras” I get the following pop-up:

This should be "Enable additional repositories?"

Hmm… If you are a person (as in: not a company) then it should be legal for you to install these packages. I am a person, so I click “Install”.
However, the purpose of this window isn’t entirely clear. Indeed, the button said “Install”, but it actually meant “Enable”, as in “enable extra repositories” (i.e. locations to download software from). So, if you were thinking the package would now be installed: you’re wrong. In fact, the checkbox in front of “Ubuntu restricted extras” is still unchecked. Check it now, then click OK. You will be asked if you are sure, click “Apply”. The packages will then finally be installed.

There you have it! You can now play your music and watch YouTube (and yes, you can use Gnash for that, but more likely than not situations will occur where you need a version of Flash later than seven). You can use Java (which will be open sourced and thus can be included in future releases of Xubuntu) and websites will now be displayed in the fonts their authors wanted them to be displayed in! Enjoy!

Note: the next version of Xubuntu, Gutsy Gibbon, will introduce Xubuntu Restricted Extras, which will install packages more appropriate for Xubuntu.

Setting languages

I always have to laugh a bit when I see advertisements for computers loaded with Windows that can dual-boot (!) both English and Dutch versions of Windows. One of the greatest advantage of using Xubuntu (or Ubuntu, or whatever) is that it is easy and, no less important, free of charge to use it in different languages. In fact, you can use different languages on a per-account basis!

To set it up, you just have to open Applications->System->Language Support.

Language support

From there, you can browse through a list of supported languages. I personally prefer British English (which I also set as the default language in the drop-down menu at the bottom), but my sister does not speak English and therefore would like to use my system in Dutch. No problem, I just scroll through the list, select “Dutch” and check the checkbox under “Support”. Now I can click “OK”, upon which it will download the selected language and set it up. And if you later install other applications that have been translated to the other language, that other language will be automatically installed with it.

To set Dutch as the default language for my sister, at the login screen, she can just choose “Dutch” as the language, then when she logs in she will be prompted whether she wants to use it as the default language or just for that session. (Note: depending on the version of Xubuntu, or Ubuntu, you use, a “Languages” button might not be available. To access it, you first have to select Options and then Languages.)

Unfortunately, translating every single piece of software is a huge job, mostly done by volunteers, so not everything will be translated. But the most important software has mostly been translated, and using a partially-translated operating system is already way easier than using one in another language.

Next Page »