Month: October 2011

aria2: Command-line Linux downloader


I tried several Linux downloader with GUI, such as gwget, uGet, and wxDownload Fast, but none of them works well to me: download incompleted, cannot resume, and other bugs.

So, I just use cURL and Wget, the two basic command-line downloader in Linux. Yet they are not satisfying enough, because I prefer multi-segmented download. Finally, I tried Axel and aria2. Then I found that, aria2 looks better for the console output.

aria2 does not provide GUI like other download managers. However, we can still resume the download through command-line.

aria2c -c http://example.com/file.zip

There is a problem, we need to know the URL address in order to resume downloading. This is the drawback of aria2. That means, each time I want to download the file, I need to record the URL address if I want to stop and continue later.

One of the solution I am using is the aria2 configuration file: ~/.aria2/aria2.conf. Inside the file, add the following statement:

log=aria2.log

This will create a log file whenever downloading a file. This log file can help us to keep track the URL address, and the address can be used for resume later.

my Line


I’ve been asking a few of my friends to install “Line“, ya, it’s a funny apps name, whenever I type “Line”, I find it too simple to type…
well, if you’ve used Viber before, then you’ll know what I mean, basically it’s once of those text/voice chat apps that one can install on his/her smartphone, started from iOS, (though it’s more meant for iPhone, but then, I could install it on iPod, or iPad, unlike bloody whatspp, which you really have to have an iPhone to install it!)
and eventually made available in android phones…
yes, I’m having an android,
I’ve tried to move my Viber (from iPod) to android before, however, as what one of my friends mentioned, Viber “caused” his android OS “shaky”, and that he uninstalled it…
so, I tried Viber on my android, I think it’s 2.1 or older, unupgradeable…
and yes, it froze my screen, and my subsequent apps a couple of time, that the only thing I could do,
was a reboot!
after trying twice, (ie. install, uninstall, give it a chance, install and then uninstall, for good!)
I’ve decided to call it quit!
then~~ along, came “Line”.. ooh~~ what more to say, it’s by Japanese~~~~~ yatta~~~
I tried on iPod, it’s not made for big screen like iPad, though you can just install and use it, just like Viber…
it’s good, though I couldn’t tell the difference or any extra “perks” offered by Line as compared to Viber…
ok ok… if I were to say something,
it’s better and more pleasant background,
and it’s this “sticker” things, ie. emoticons, smileys, and bla bla bla…
and guess what? one of my friends love using it, as compared to Viber, simply because of this “addons”, ie. emoticons, japanese style, some silly icons, bla bla bla…
cos, when one is out of idea of what to type to somebody, see!! since it’s free, and you just have to use it, and when you’re so bored… you just wanna send something (cos, it’s free!), but you just don’t know what to send, what to write…
you just send some silly stickers to the other person…
and yes, that’s the crap I get… but seems like there’re people enjoying it! right??
that’s the “perks” of naver’s Line, then, if you ask me…
here, naver’s Line on top, vs. Viber…
can you really tell the difference?? now… I can’t… besides what I’ve mentioned…
however, on system wise, I opt for Line, cos, it’s compatible (ooh, how long I’ve not used this word) to my old android…. and there,
Viber, I’ve to say “bye” to you…
what more to say, one of my other friends, who uses Viber to text chat with me every day (oh, if my mom’s still around, I bet I’ll get her to do the same thing too!)
see, but she uses Viber on iPad, and I’m urging her to upgrade her iOS… ie. iOS 5.0, then,
she’ll have the built-in messaging things, which again, is great… (that I shall blog, next round!)
which is Apple’s own iOS’ iMessage…
if she’s on that…
then, yes, I’ll ditch Viber for good,
while Line, and Whatsapp stay with my android…
cos, I’d like to centralise most of my “communication” apps in my android… ^_^ (ooh! centralise, another word I’ve not been using for a looooooooong time!)

FreeFileSync, cross platform synchronizer


I am not heavily depending onĀ  cloud computing, because uploading and downloading large files are wasting bandwidth and time. So, synchronizing among the USB pendrives or external harddisks is my solution for multiple computers.

I have tried several synchronize software:

  • GoodSync was good but not free
  • Synkron, cross platform, difficult to read the comparison of the folders
  • DirSync Pro, also cross platform. Also difficult to read the comparison of the folders

So, the best of the best which I am using now is FreeFileSync. The features I like are:

  • Multiple folders synchronisation
  • The folders comparison result is very clear
  • Can change the syncing direction easily for every file

There is only one drawback. In Linux, when synchronising, the application will exit automatically, due to gtkmm problem (I think so, I reported the bug before). As a result, I need to do the synchronize twice. However, it is still my most favourite synchronize software.

downgrade: Downgrading Arch Linux packages


Again, Arch Linux package from AUR. This “downgrade“, I like it. Because Arch Linux uses the latest version packages, some bugs might not be fixed. Therefore, upgrading to the latest version sometimes might not work as expected. Such as, the recent version of ibus 1.4.0 does not work well. Therefore, we need to downgrade to the older version.

To downgrade to the older version, we can use the downloaded packages at /var/cache/pacman/pkg/. However, if we have cleaned up the older packages, then we need to use A.R.M (Arch Rollback Machine) which contains older version packages.

So, “downgrade” simplifies these procedures. Once anything happened, such as VLC latest version 1.1.12 which produces buzzing audio, then “downgrade” allows me to downgrade easily.

But we need to remember to add the packages into IgnorePkg in pacman.conf, so that the packages will not be upgraded. Upgrade them may be after newer versions released.

yaourt: Arch Linux most needed AUR


Today, I would like to post about the highest vote AUR package for Arch Linux, that is “yaourt“. This is not an application like others, but it is my favourite utility. “pacman” the package manager of Arch Linux only works for the core, extra, and community packages, but not AUR packages.

Meaning that, “yaourt” can solve 3 problems: 1) Easily download the AUR PKGBUILD, then build and install; 2) install the packages for dependencies; 3) update or upgrade the installed AUR packages.

As an extra feature, yaourt produces colour output, it is easier for the user to read the packages information.

If you are an Arch Linux user, surely “yaourt” is what you need.

libgooglepinyin: Pinyin input method for Linux


In my opinion IBus (Intelligent Input Bus) is the most popular input framework for Linux. Previously, SCIM is the most common input framework. This is because Ubuntu uses IBus as its default input framework currently.

There are two Chinese pinyin input for IBus, one is ibus-pinyin, another is ibus-sunpinyin. I prefer ibus-pinyin, since it is more common, and support the Traditional Chinese character; sunpinyin does not.

But today, I found another input method, that is libgooglepinyin, it is a fork from Google Pinyin for Android. Whoever uses Google Pinyin before should know that it is faster than a normal pinyin method, it works like Sogou Pinyin. It is available for Arch Linux using AUR. Super good.

After installing using yaourt (or using makepkg manually), it does not support Traditional Chinese characters by default. To enable this, we can install opencc from AUR again. Yeah!

FlashGot: Firefox extension


The main reason that I am still using Firefox instead of Google Chrome, is because I need those extensions, which Google Chrome cannot support.

FlashGot, this is one of my favourite extensions (add-ons). Previously, FlashGot does not help me a lot for my surfing experience. This is because FlashGot only provides the feature that we can use external download utilities, instead of built-in download from Firefox itself.

So, what is the strength now? It is able to grab the flash video file: flv or f4v. Yes, I can download the video from YouTube using FlashGot. Previously, I need to use DownloadHelper to do so, but now, FlashGot itself is able to handle this problem.