[SOLVED] File-roller (Archive Manager) spilling all files to the same directory

I am using Ubuntu 10.10 Maverick Meerkat. I don’t remember how or when it happened, but I noticed that while “Right Click On Archive>Extract Here” was working well, “Open Archive File in File-roller a.k.a. Archive Manager (double click)>Right Click on an item>Extract…” was not behaving as expected. It was not recreating the directory structure and spilling all the files to the same target directory.

To fix this, you can either clear all the settings of file-roller so that when you start file-roller next time, it creates all the default settings, or you can edit the configuration manually using gconf editor.

Method I
The first method can be accomplished by typing the following in the terminal:

mv ~/.gconf/apps/file-roller/ ~/.gconf/apps/file-roller.bak/

Method II
The second method is safer since it keeps all other file-roller settings. But you should worry about settings only if you have edited the settings. If you have not, 1st method is easier. If you want to just change what is required, then launch gconf-editor (Alt+F2>gconf-editor) and then navigate to /apps/file-roller/dialogs/extract in the right hand pane. Now, look for a boolean key recreate_folders. If it is not there, create it. Then change the value to true (checked).

After following one of these methods, close all instances of file-roller and start it again for changes to take effect.

[SOLVED] Module DateTime.DateTime, line 1145, in toZone

I am using Ubuntu 10.10 Maverick Meerkat and live in Nepal, timezone Asia/Kathmandu. I have been trying to setup Plone CMS in my local computer for learning to build sites with Zope/Plone. However, I had been getting errors.

I installed Plone 3.3.5 on my Ubuntu 10.10 Maverick Meerkat 64bit Desktop with Plone Unified Installer – for Linux/BSD/OS X/UNIX/Solaris. The installation was successful.

Then I ran the instance of Zope by changing directory to where my Plone is installed and running the following in terminal:

cd /usr/local/Plone
sudo ./bin/instance fg

Then I could browse the url http://localhost:8080/manage (I had changed the port number to 8888 ).

However, when I tried to create a Plone Site using Zope interface, I got the following error:

Site Error

An error was encountered while publishing this resource.

Error Type: KeyError
Error Value: ”

I see the following error in the terminal:

Module DateTime.DateTime, line 1145, in toZone
KeyError: ”
Unhandled exception in thread started by
Traceback (most recent call last):
File “/usr/local/Plone/Zope-2.10.11-final-py2.4/lib/python/ZServer/PubCore/ZServerPublisher.py”, line 25, in __init__
File “/usr/local/Plone/Zope-2.10.11-final-py2.4/lib/python/ZPublisher/Publish.py”, line 401, in publish_module
environ, debug, request, response)
File “/usr/local/Plone/Zope-2.10.11-final-py2.4/lib/python/ZPublisher/Publish.py”, line 227, in publish_module_standard
if request is not None: request.close()
File “/usr/local/Plone/Zope-2.10.11-final-py2.4/lib/python/ZPublisher/BaseRequest.py”, line 211, in close
notify(EndRequestEvent(None, self))
File “/usr/local/Plone/Zope-2.10.11-final-py2.4/lib/python/zope/event/__init__.py”, line 23, in notify
File “/usr/local/Plone/Zope-2.10.11-final-py2.4/lib/python/zope/component/event.py”, line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File “/usr/local/Plone/Zope-2.10.11-final-py2.4/lib/python/zope/component/_api.py”, line 130, in subscribers
return sitemanager.subscribers(objects, interface)
File “/usr/local/Plone/Zope-2.10.11-final-py2.4/lib/python/zope/component/registry.py”, line 290, in subscribers
return self.adapters.subscribers(objects, provided)
AttributeError: adapters

I tried adding the following in buildout.cfg under instance section:

zope-conf-additional =
        TZ Asia/Katmandu

as instructed here and running buildout again but this did not work for me as I got the same error again.

I then installed Ubuntu 10.04 Lucid Lynx 32bit Server in Virtualbox and installed Plone again. This time I used Python 2.4 from Hardy repository rather than having it built by Plone installer. I used the tutorial here for rest of the stuff. But I got the same error again.

I then thought it was a Ubuntu specific issue and then installed CentOS 5.5 minimal in Virtualbox and installed Plone again. This did not work either. The same error appeared.

I then installed Plone 4 using Python 2.6 but the same error appears in instance.log.

In the Virtualbox installation of Ubuntu 10.04, I changed the timezone to Asia/Alaska and then the problem was gone. To do so, I did the following:

sudo dpkg-reconfigure tzdata

And then I selected US, Alaska. I then changed the buildout.c
I changed buildout.cfg to reflect the change in timezone:

zope-conf-additional =
        TZ US/Alaska

and ran buildout again.

sudo ./bin/buildout

Then the error no longer shows and I can create page.

I don’t know if it is a python issue, or Datetime bug. I will dig into it later. But for now, Plone works.

[HOWTO] Recover an application that was removed due to update in Ubuntu and other Debian based systems

Sometimes when you are using PPA repositories or mixing multiple repositories or using a Development version, you encounter a problem and some of your applications might be removed. I want to illustrate the problem with my current Ubuntu 10.10 Maverick Meerkat Alpha installation, which I use as the only OS in my computer. This is not recommended but since I have always managed to solve issues that come up due to development versions, I have mostly used development versions because I get to see the upcoming changes and report problems if anything that bothers me.
With the latest repositories list update, I got into a problem with Filezilla, because I have been using Lucid getdeb repo with my system and Filezilla is in their repo as well as the official repo. When I marked for the latest updates in Synaptic Package Manager, I could see that filezilla, amongst others, was in the package to be removed which was because the package filezilla-common was to be upgraded and the filezilla that was installed, and had no update, had dependency issues. I upgraded the package filezilla-common anyways and lost filezilla. Ideally, since I am using a development version, I should have marked all the changes, and then reviewed the list of programs that are to be removed and unmark them or mark them for reinstallation which automatically unmarks the conflicting updates. Since packages like gdm, gnome-panel and some others which are required for the system to boot properly into the desktop were also marked for removal, I marked them for re-installation or unmarked them so that they remained in the system. But for experimenting, I did not mark it and it got removed. Now, when I try to install the package, I get the error:

Depends: filezilla-common (= but 3.3.3-1ubuntu1 is to be installed

and it cannot be marked for installation.
Since I need filezilla, I need to get it back installed. For this, the easiest way is to remove the alternate repository and reload the software list. If that does not help, you could just wait for the next repository update and reload it and then install it.
If you can’t wait or if that does not solve the problem, then you can follow the method I explained with 0ad here in my older blog post. I can also find the compatible deb file (download it from some other location and check for compatibility) and install it with gdebi (double click).
If you can’t find it, just find the latest version (which may be found in the directory /var/cache/apt/archives or can be downloaded from http://packages.ubuntu.com) and then install with dpkg i.e.

sudo dpkg -i filezilla_3.3.2.1-1ubuntu1_amd64.deb

This will, however, leave broken packages and synaptic will not let you do any other installation/update without resolving it. But most of the time, you can run the particular program without problems. The next update might fix the problem and you can just reinstall the broken package. But in case if it does not or if you don’t want to wait, you can downgrade to the older version of the conflicting package that you upgraded which caused your program to be removed. You can find the deb online or in /var/cache/apt/archives and install it using dpkg. In my case, it is the older version of filezilla-common that I need. So, all I do is run the following command to install the older version which will replace the newer version:

sudo dpkg -i /var/cache/apt/archives/filezilla-common_3.3.3-1~getdeb2_all.deb

and then to reconfigure the package filezilla, I also installed the older version of filezilla:

sudo dpkg -i /var/cache/apt/archives/filezilla_3.3.3-1~getdeb2_amd64.deb

Hope this helps resolving and recovering your lost programs.

[SOLVED] ERROR: Depends: binutils (

I am using Ubuntu 10.10 Maverick Meerkat and have getdeb (playdeb) repository for Lucid Lynx. Lucid repo can be added to Maverick and many applications can be installed without problems. However, I got this error while trying to install a game called 0ad.

Depends: binutils (<2.20.2) but is to be installed

I could downgrade my binutils to an appropriate version by downloading deb from somewhere else and that would be the ideal thing to do if it did not break any packages, but I decided not to as it could break other packages and decided to try out something that is never recommended and should not be done if you don’t know what you are doing. You should know that this could also lead to broken packages but fortunately this only breaks a game (that is what I am going to install) at worst and not some system program. I just changed the dependency to the version that I had by editing the package description. To do so, I needed to open the file /var/lib/apt/lists/archive.getdeb.net_ubuntu_dists_lucid-getdeb_games_binary-amd64_Packages as root by running

gksu gedit /var/lib/apt/lists/archive.getdeb.net_ubuntu_dists_lucid-getdeb_games_binary-amd64_Packages

If you are using 32-bit version of Ubuntu, you should probably try something else.

The package description for 0ad looks like the following:

Package: 0ad
Version: 0.0.0+r07539~pre-alpha-1~getdeb1
Architecture: amd64
Maintainer: Christoph Korn
Installed-Size: 10412
Depends: binutils (>= 2.20.1-3ubuntu2), binutils (<< 2.20.52), libboost-filesystem1.40.0 (>= 1.40.0-1), libboost-signals1.40.0 (>= 1.40.0-1), libboost-system1.40.0 (>= 1.40.0-1), libc6 (>= 2.11), libdevil1c2, libenet0debian1, libgamin0 | libfam0, libgcc1 (>= 1:4.1.1), libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1, libjpeg62, libopenal1, libpng12-0 (>= 1.2.13-4), libsdl1.2debian (>= 1.2.10-1), libstdc++6 (>= 4.4.0), libvorbisfile3 (>= 1.1.2), libwxbase2.8-0 (>=, libwxgtk2.8-0 (>=, libx11-6 (>= 0), libxml2 (>= 2.7.4), zlib1g (>= 1:1.2.0), 0ad-data
Homepage: http://wildfiregames.com/0ad/
Priority: normal
Section: games
Filename: pool/games/0/0ad/0ad_0.0.0+r07539~pre-alpha-1~getdeb1_amd64.deb
Size: 3835504
SHA256: d21eea643c4fc6cef6564f1eacbc1bf3a2ef7ca813cbb9cc69912e45ae7708a4
SHA1: 504cdbc3fb2acc6ab4a57ab3bddb652a05910f3d
MD5sum: 8dfced6b1af656f5ff820861e621f393
Description: A war/economy strategy game
A historically based Real Time Strategy game focusing
on the years 500 B.C. to 500 A.D.
In short, it is a war/economy strategy game allowing
you to recreate or rewrite the ancient history of western

I changed the line in the “Depends” from binutils (<< 2.20.2) to binutils (<< 2.20.52) and restarted synaptic package manager. Then I could download the game without problems. But it shows dependency errors and the game can’t be configured. So, I removed it from Synaptic. Then what I do next is copy the 0ad deb file to my desktop; mine is called 0ad_0.0.0+r07539~pre-alpha-1~getdeb1_amd64.deb and it is in /var/cache/apt/archives/. So, I fire up the terminal and do the following:

sudo cp /var/cache/apt/archives/0ad_0.0.0+r07539~pre-alpha-1~getdeb1_amd64.deb /home/[USERNAME]/Desktop/

where [USERNAME] is my username. Now the game is copied onto my desktop. Now I changed the owner to myself, so that I can read it:

sudo chown [USERNAME] /home/[USERNAME]/Desktop/0ad_0.0.0+r07539~pre-alpha-1~getdeb1_amd64.deb

Then, I needed to edit the control file and repack the deb. To do so, I just extracted it:

cd ~/Desktop
mkdir -p extract/DEBIAN
dpkg-deb -x 0ad_0.0.0+r07539~pre-alpha-1~getdeb1_amd64.deb extract/
dpkg-deb -e 0ad_0.0.0+r07539~pre-alpha-1~getdeb1_amd64.deb extract/DEBIAN/

Then, I edited the control file:

cd extract/DEBIAN
nano control

and changed the file to say binutils (<< 2.20.52) instead of binutils (<< 2.20.2). Just Ctrl+O followed by ENTER to write the changes and Ctrx+X to exit nano.
Then, I just went back to the Desktop folder.

cd ../../

Then I repackaged the deb file:

mkdir build
 dpkg-deb -b extract/ build/

Then, I could find the new deb inside the build folder in the Desktop which I can install without problems. After it is installed, I tried to launch it from the terminal (0ad) but I got an error saying:

./pyrogenesis: error while loading shared libraries: libbfd-2.20.1-system.20100303.so: cannot open shared object file: No such file or directory

So, it really needs the binutils version it says it does. Anyways, just creating a symbolic link named libbfd-2.20.1-system.20100303.so in /usr/lib to the version that I have i.e. libbfd-2.20.1-system.20100303.so did it for me. To do so, in terminal I typed the following:

sudo ln -s /usr/lib/libbfd-2.20.51-system.20100710.so /usr/lib/libbfd-2.20.1-system.20100303.so

Hope this helps.

[HOWTO] Modify youtube-dl to make it bandwidth friendly by adding option to download lowest quality video

youtube-dl is a command line utility that can be used to download Youtube videos. It has many command line switches ; most notably -t to save the video with title of the video as filename, -c to continue the download instead of starting over. It can be installed in Ubuntu Lucid Lynx and Maverick Meerkat via Synaptic by enabling universe repository. Then running the following command will update it to the latest version:

sudo youtube-dl -U

If you want to use it in older Ubuntu releases or other Linux distros, visit the official site.
It also has a switch -f with which you can select a Youtube Video Format to download. Like this:

youtube-dl -f 34 "http://www.youtube.com/watch?v=2_VFKqw1q2Q"

That will download video with format code 34 if available. 34 is 360p flv format. You will need to know the formats to be able to use this options and all this information is available in Youtube Wikipedia Article. If the format you requested is not available, it will print the message:

ERROR: unable to download video (format may not be available)

I don’t know why someone would like to do it, but an option f-1 is available which downloads all available qualities of the video. If you don’t provide any format information, it will download the best quality version of the video. You can always try your luck with the following formats that are supported for youtube, arranged in decreasing quality:
38, 37, 22, 45, 35, 34, 43, 18, 6, 5, 17, 13
That is, if format 38 is available, it will download it and if it isn’t it will download 37 and so on.

But what if you want to download the lowest quality or worst quality of video to be able to download quickly? It currently does not have such an option and we will add it. To do so, open it up in a text editor. I’m using gedit:

gksu gedit /usr/bin/youtube-dl

and then find the following code (in the version 2010.08.04 that I have, it starts in line 938):

			if requested_format is None:
				video_url_list = [(existing_formats[0], get_video_template % existing_formats[0])] # Best quality
			elif requested_format == '-1':
				video_url_list = [(f, get_video_template % f) for f in existing_formats] # All formats
				video_url_list = [(requested_format, get_video_template % requested_format)] # Specific format

and now add an elif block as shown below:

			if requested_format is None:
				video_url_list = [(existing_formats[0], get_video_template % existing_formats[0])] # Best quality
			elif requested_format == '-1':
				video_url_list = [(f, get_video_template % f) for f in existing_formats] # All formats
			elif requested_format == '0':
				video_url_list = [(existing_formats[len(existing_formats)-1], get_video_template % existing_formats[len(existing_formats)-1])] # worst quality
				video_url_list = [(requested_format, get_video_template % requested_format)] # Specific format

Now, to download the worst quality version available, you can just pass -f 0 option i.e.

youtube-dl -f 0 "http://www.youtube.com/watch?v=2_VFKqw1q2Q"

This should download the worst quality version and make the download size smaller. However, sometimes worst quality in the list does not mean smallest size (I had seen examples of this while I was doing a youtube downloader project a year ago, but don’t know any examples to point out right now), they should almost always be so.

If the developers want to implement this (the lowest size download feature) in the main project, I think the best way to do it is to actually query header information of the video url and find the actually sizes, compare them and then download the one with the least size.

[HOWTO] Make Ubuntu 10.04 Lucid Lynx Mono Free

Ubuntu 10.04 comes with 3 default applications that depend on mono. They are
F-Spot, a photo manager
Tomboy, a note taking application
Gbrainy, brain teaser game and trainer
To get rid of mono and still keep the functionality, we need non-mono alternatives to these applications. Lets look at those. But first, let me write something about why someone may want to remove Mono.

Why remove Mono?
There are several reasons why someone may want to remove Mono from their Ubuntu installation. You may want to gain some free space. Mono takes up a lot of space for just a few applications. If you remove and replace them with others. This may not seem important if you want to run Ubuntu off normal harddisks these days, but it may be crucial if you want to remaster Ubuntu with few added applications and still want to distribute it on a CD or limited sized USB drive.
You may want to remove Mono for other reasons like it is an implementation of standard set by Microsoft or just because it is a short name for a contagious disease.

Why not remove Mono?
You may not want to remove Mono if you just want to free some space from your installation because it may not be the case when you start installing other applications based on Mono. You see, the alternatives also have dependencies and the different dependencies for all the alternatives may occupy more space than Mono.
Also, Mono seems to be a popular platform and there are many great applications like Docky, Banshee, Beagle etc. which need it. Moreover, many new applications may come up which need Mono and you may have to install it anyway.

Enough of that. Now, lets get to the applications.
F-Spot is to be removed from default install from Ubuntu 10.10 Maverick Meerkat and is being replaced by Shotwell. So, you can install Shotwell as a replacement to F-Spot. There is yet another photo manager called Gthumb but I think Shotwell is the better choice.

Tomboy is a really great note taking application. However, an almost exact clone which can import and use all the notes created by tomboy is available. It is called Gnote. Tomboy can be safely replaced with Gnote. Gnote is a C++ port of Tomboy and claims to be faster. Also, if you use the gnote stable ppa by adding ppa:gnote/ppa to your software sources, you can install gnote 0.7.x which features a nice gnome-panel applet for Gnote.

I don’t know a good replacement for this great game, but it is just a mind teaser game. So, if you can do without it, just remove it.

Following is the step by step procedure for doing this.

Open up Synaptic (System>Administration>Synaptic Package Manager) and click on Settings>Repositories. Make sure “Community maintained open source software (universe)” is selected. Now click Other Software tab and click Add. Then copy/paste the following


and click Add Source. This will add gnote PPA so that you can install the latest version of Gnote. Close the repositories window. Click on Reload so that the software lists are fetched from all repositories.

Removal of Mono and Installation of Alternatives
Search for shotwell and gnote in Synaptic Package Manager and mark them for installation. Search for mono-runtime and mark it for removal. This will ask for your confirmation that several other mono related packages including F-Spot, Tomboy and Gbrainy will be marked for removal. Just confirm it and click on Apply. This should free about 40 MB of Disk Space and download about 3 MB only.
To add Gnote panel applet, press Alt+F2 and type in killall gnome-panel and then when the panel loads back, Right click on it and select Add oo Panel, search for Gnote and click Add.

Other Softwares that depend on mono and alternatives
There are few other great softwares based on mono that are great but aren’t included in the default install. However, lets discuss them too. If you have any of those installed, they will be removed too. So, lets get to their alternatives.

Many Ubuntu users use Mac OS like docks these days. One such great dock is Docky. But there are some other good docks which can serve as a replacement for Docky. One of them is Avant-Window-Navigator. It is not so friendly in terms of disk space though. It consumes over 40MB of disk space and hence defeats the purpose if you are trying to remove mono because of disk space usage. Cairo dock may serve as a good replacement in that case.

Banshee is a popular music player and media management application and favorite gnome media manager for lot of Linux users. However, the default Music Manager Rhythmbox should serve as a good replacement for it for a lot of users. Exaile is also good one.

I never really got used to this application. I primarily used it for Docky (Docky was originally a part of Gnome-do) and never used other features that it had to offer. However, there are some huge fans of this application. It claims to get things done faster in Gnome. There is another application called kupfer (it is not a KDE application as the name suggests, yes I’m talking about its initial letter :D) which claims to to provide similar functionality. It also has a lot of plugins and you should really give it a try. But it does not look sleek as Gnome-do though.

Beagle is a indexing and searching tool for the Desktop. Tracker, Pinot or Google-Desktop-Search should serve as replacements.

Bless Hex Editor
Bless is a GUI hex editor which is really awesome. There is a replacement called ghex for it but it is not as good though.

Muine Music Player
Muine is a simple music player. It aims to be and remain simple music player. I haven’t really used it but I think the default movie player Totem, which can be used as audio player too of course, can provide everything that Muine has to offer.

This one is a graph drawing application written in GTK#. I found a replacement called extcalc (qt3 application) but it is not as simple (which in other words also means it is more powerful and includes more features such as scripting :)).

Tangerine is a DAAP server which can serve music to Apple iTunes, Rhythmbox, Banshee, Amarok, XBMC, Limewire or any other music player that supports this protocol. I haven’t actually used it but there is another package mt-daapd which claims to provide similar functionality.

It is an IRC client. There are several IRC clients that should replace it. I use X-Chat.

Mistelix is a DVD authoring application. I don’t actually do any of that, but according to this article, one or a combination of Q DVD-Author, DVDStyler, DeVeDe, ManDVD, and tovidgui should be able to provide what Mistelix does.

This is a twitter client. The default application Gwibber should be a good replacement for this.

gnome-rdp is a remote desktop client for Gnome. It can be replaced by reminna.

It claims to be a music organizer and tagger. I am assuming EasyTag or Picard should serve as a replacement.

Tasque brings Remember The Milk service (TODO list management) to the Desktop. However, Avant Window Navigator, Screenlets or Deskbar can offer similar functionality with RTM-related plugins.

Blam is an RSS Aggregator. Liferea, Yarssr and many other applications provide this functionality.

DFO (Desktop Flickr Organizer) is a photo manager which integrates with Flickr. I think only Kflickr (KDE Based) comes as close.

Wallpaper rotator for Gnome. Nitrogen and Wally should serve as replacements.

These are easy file sharing applications. BaShare can serve as a replacement.

It is a Desktop Last.fm player. Rhythmbox or lastfm should serve as a replacement.

LAT is a LDAP Administration tool. Luma or GQ can serve as replacements.

It is a simple media information extractor. MediaInfo serves as an excellent replacement.

Bareftp is a FTP client. Filezilla Client, gFTP-GTK and various other GUI FTP clients can replace bareftp.

It is an iPod manager. gtkpod serves as a replacement.

It is a System Information Tool. It can be replaced with Hardinfo. Ailurus also has this feature.

It is a Last.fm stream dumper. lastfmproxy and streamdumper can be used to do the same.

Gnome subtitles is a sub-title editor. SubtitleEditor can serve as a replacement.

Panorama images creation helper. Hugin should be a replacement.

It is a translation application which makes the use of online translators such as Google Translate. freespeak should serve as a good replacement.

Mono is an open source, cross-platform, implementation of C# and the CLR that is binary compatible with Microsoft .NET. If you don’t want to use it but still want to develop C# applications that run on Linux, you can go for dotGNU. But unlike Mono, it is not available from Ubuntu software center or officially supported by Cannonical.

If you want to develop cross platform applications or applications for Linux and don’t want to use Mono, C# is not the language you should go with. A better language may be Java, Python or Vala.

Final Notes
I have tried to list all the applications that may prevent you from removing mono. However, I have not used all the programs that I have listed (at least not used them enough to get used to them or to know what features they offer or even to the extent to know them in any way). So, if you think I have missed a program or an alternative, please let me know via comments.
Thank you for reading.

[HOWTO] Install Adobe AIR In Ubuntu 10.10 Maverick Meerkat and Lucid Lynx 64bit

Here is how I installed Adobe AIR in Ubuntu 10.10 Maverick Meerkat Alpha 64bit. The same should work for Ubuntu 10.04 Lucid Lynx 64bit.

Installing ia32libs
You probably have it installed already if you chose to install flash-player or some other application that makes use of 32-bit libraries. If you haven’t, you should install it from Synaptic Package Manager or by executing the following command in the terminal:

sudo apt-get install ia32-libs

Getting Adobe Air Package/Installer
I downloaded bin version from Adobe Air Download Page. You can also choose deb version but it is not recommended as it causes problems that I will explain later.

To install, make sure you have no synaptic or apt running. Launch the terminal and change the directory to where you have saved the deb file. For example, if it is the Downloads directory, type in:

cd ~/Downloads

Alternately, you can right click on the directory where the deb has been downloaded and select “Open in Terminal” (you will need to have nautilus-open-terminal installed for this)
Now, execute the following command:

chmod +x AdobeAIRInstaller.bin

If you get the following error

Sorry, an error has occured
Adobe AIR could not be installed because another application is already being installed. Complete the first installation before proceeding with this one.

then just quit Synaptic or any other package manager you might be running and it should install fine.

If you downloaded deb version, then use the following:

sudo dpkg -i adobeair.deb

Installation of AIR Applications
Now, you can install Air Applications. To do so, goto Applications>Accessories>Adobe AIR Application Installer.
You can also open terminal and type in

Adobe\ AIR\ Application\ Installer

You can just type in “A” and press TAB and it should work.

However I get the following error while running the application via terminal;

/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
/usr/lib/gio/modules/libgioremote-volume-monitor.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/usr/lib/gio/modules/libgioremote-volume-monitor.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so

I have not experienced any problems with it.
Select the AIR application and follow the on screen instructions. You can leave the install location as /opt and the application will be installed without problems. You should also see desktop shortcuts for installed AIR applications.

Uninstallation of AIR Applications
Search for the application name in Synaptic Package Manager. You should be able to remove it from there.

Uninstallation of Adobe AIR
If you don’t need Adobe AIR anymore, you can remove it. To do so, search for Adobe AIR in Synaptic Package manager and remove it. This works only if you have installed via the bin version. The deb version does not show up. This is probably an issue with the current version and hopefully it gets solved in the next version (or do the programs installed with –force-architecture not show at all??). This is the reason why I did not recommend the deb installer. Worst of all, when you install the deb version, you see the AIR applications in package manager but there is no Adobe AIR and hence you have broken dependency problems. This will force you to remove all AIR applications before you can use Synaptic or any other package manager again.

Hope this helps.

Best Download manager for Linux

I am using Ubuntu 10.10 Maverick Meerkat and had been using the following programs for downloading stuff from the Internet:

Firefox Default Download Manager for HTTP/FTP Downloads and Deluge for Torrents.

It was not much convenient because Firefox resume does not always work in case of crashes or in case of power cuts. Also it does not support multi-threaded downloads. So, I decided to try out Fatrat along with Flashgot firefox add-on. Fatrat and Flashgot both can be installed from Ubuntu Software Center. If you are using beta or development version of Firefox, then you need to get it from Firefox Addons Website or Flashgot website.

Fatrat, like Free Download Manager (which is currently only available for Windows), can be used as a torrent client, HTTP/FTP Download Manager, Rapidshare download (it waits for appropriate time automatically and downloads), Youtube Download (at the time of writing this, Youtube download seems not to be working) and much more.

It supports remote control via jabber and web interface.

Since Flashgot does not support Fatrat by default, you will need to add support for Fatrat. When it asks for path, enter /usr/bin/fatrat. After that, you can select and right click a link and Flashgot it. You can also select Flashgot>Fatrat when the download box comes up.

When you click OK, Fatrat should show the add link dialog.

Have fun downloading.

[SOLVED] “Indicator Applet Complete” has quit unexpectedly

UPDATE: This has been fixed in yesterday’s update.

I’m using Ubuntu 10.10 Maverick Meerkat Alpha. The indicator-sound applet was recently updated to version 0.3.9 and every time a track changes, the following error shows up:

“Indicator Applet Complete” has quit unexpectedly

If you reload a panel object, it will automatically be added back to the panel.

A bug report has been filed here and hopefully gets fixed in the next release. However, I have temporarily fixed the issue for now by downgrading to indicator-sound v3.8. I could not find the version online but I could find it in my package cache by the following command:

find /var/cache/apt/archives| grep -i indicator-sound

I just installed the last version by running the following:

sudo dpkg -i /var/cache/apt/archives/indicator-sound_0.3.8-0ubuntu1_amd64.deb

If you don’t have that version, slightly older version should do just fine.