Compatibilizer Update

My Compatibilizer extension, in dire need of an update, has gotten it! My bad bash skills when I made the first script are now better, so it works a lot better.

The big change is that now it accepts a filename as a parameter. Multiple .xpi files will not affect it at all.

Also I made the temp directory have a random name so as not to interfere with any existing ‘temp’ directories.


compatibilizer2 extension-name0.02.xpi

That’s all. The script now even installs the extension for you! Note that this requires root priveleges, it runs gksudo to get them. Then it will open up a fresh firefox (technically it belongs to root) and install the extension. The extension is global, so it will be visible in your profile.

Download it here.

Source code (GPL):

#Daniel's Firefox extension compatibilizer!
#Version 2 adds features!
#Warning! This script is untested on anything but my computer.

echo 'Starting extension compatibilizer.'
echo 'Unzipping to temporary directory.'
mkdir $tempdir
unzip -q $filename -d $tempdir/
rm $filename
cd $tempdir/
cp install.rdf install.rdf.backup
echo 'Replacing max version number...'
sed 's|.*|5.0|' install.rdf.step
sed 's|em:maxVersion=".*"|em:maxVersion="5.0"|' install.rdf
echo 'Done replacing max version number'
zip -q -r temp.xpi *
echo 'Remade extension.'
echo 'Moving extension.'
mv temp.xpi ../[compatibilized]$filename
echo 'Extension moved. Deleting temp dirs.'
cd ../
rm -r $tempdir
gksudo firefox-3.0 -install-global-extension $filename
echo 'Done! Installed globally in Firefox.'

Thanks for getting me to do this, Tyler!

Tips for downloading Hardy

Here are a few tips for those of you about to download Hardy and do a new install:

  1. Use a Mirror! Find one near you so as not to stress the Ubuntu servers too much. If you are at school (like me), try, the mirror of Argonne National Laboratory. Much faster connections on school networks.
  2. Use a download manager. I use DownThemAll, which is a Firefox addon (available for FF3). This speeds up download and has other nice features (keep reading!).
  3. Check the MD5 sum to make sure you have a good download. See instructions below.

To check the MD5sum:

Get the MD5sums where you get your isos! i. e. If you use Argonne, use Note that they should be the same everywhere.

With DownThemAll:

When you start the download, there is a sum field. Put in the matching MD5sum and DownThemAll will automatically calculate it when it finishes downloading.

If you alread started the download, right-click on the download and click properties. There will be a field for the MD5sum.

Already downloaded:

  1. Open up a terminal.
  2. cd to the directory it is in.
  3. Run ‘md5sum ubuntu-8.04-alternate-i386.iso’ (for instance).


On Windows, try WinMD5sum or Hashtab (look them up).

Hardy is OUT!

Well, Ubuntu 8.04 Hardy Heron is officially out! I have all 3 i386 releases downloaded from my nearest mirror already. And a few minutes ago I saw this:


Ultimate Claws Mail 0.5

Due to the recent release of Claws Mail 3.4.0, my Ultimate Claws Mail theme looks good now! It is PNG, a native export of SVG, so expect great things.

The size of the theme is increasing steadily. It has it’s own Google Code page (which is very nice, btw.)

That page is here. Excerpt below:

The Ultimate Claws Mail theme is a theme for Claws Mail with icons from the Ultimate Gnome theme for Gnome.



    <liIncomplete Set – not all icons are present. Most common ones are, however. The theme is in development.

  • PNG support – This theme is PNG, which requires Claws Mail >= 3.4.0
  • Duplicates – I only have the icons from the set, so there are some duplicates where I used the closest available icon.

So get over there and download it! Here is a screenshot:

And here is version 0.3 for comparison:


Claws Mail Update!

I’ve noticed that lately the Claws-MailGutsy repository I had set up wasn’t responding to apt-get. Then today I saw that there is a new version out. After a bit I found the proper repositories.

Here they are:

deb gutsy main
deb-src gutsy main

Those work fine, and after an update the new version should install fine.

This version brings tons of new features. Here is the list from (and most likely from the changelog):

# Added support for /dev/mem_notify. This Linux kernel feature will allow applications to be notified that memory has to be freed before getting OOM-killed.

# Enabled moving/copying folders to root folders when using the folder selection dialogue.

# Global and per-folder templates can now override the From name.

# Added a tooltip with extended folder stats. (Hover the cursor over the short stats on the right, below the message list.)

# Implemented 2-line items in the message list when in three column mode.

# Added support for png themes.

# Added an icon for attached patches (text/x-patch and text/x-diff).

# When viewing a message that has a large amount of text, show a maximum of 1MB of text and add a noticeview to show optionally show the whole message.

# Added a button to the templates preferences to restore defaults for current language.

# Added search in filtering rules list.

# Bogofilter Plugin:
Added a “learn from whitelist” preference.

Added information when fetching large messages.

# tools/
Added support for Kmail/Kaddressbook.

# Updated translations: Brazilian Portuguese, Finnish, French, German, and Italian.

# Bug fixes:
o bug 1494, ‘Trayicon plugin breaks UI…’ (MAEMO)
o bug 1515, ‘large messages crash claws when syncing for offline mode’
o bug 1532, ‘”login refused” message insufficiently detailed’
o bug 1533, ‘Claws is unable to mark messages as “read” in IMAP shared folders’
o bug 1534, ‘Segmentation fault when doing some draft saving and then throwing away’
o bug 1539, ‘Program crashes’: Setup Gcrypt’s thread functions when built with GnuTLS
o bug 1541, ‘Deleting message from within read window displays next message then closes.’ (MAEMO)
o bug 1553, ‘File lock not respected’
o bug 1555, ‘Bug with the feature “save a copy of outgoing messages in this folder”‘
o bug 1559, ‘Claws Mail crashed deleting all common contacts’
o bug 1561, ‘Crashes leaving unsubscribed folder after ticking “Show only subscribed”‘
o bug 1562, ‘Claws-Mail does not completely respect settings in GTK2_RC_FILES environment’
o Fix blinking of the taskbar entry.
o Fix folder view’s scrollbar at startup if starting hidden.
o If no MH mailbox and no account exists, when creating a POP/Local account, just create it and use the default one instead of bailing with a “Mailbox doesn’t exist” error.
o Clean up session disconnection. Possibly fix Ubuntu bug #204290
o Fix RedHat bug 431735, ‘segfault if /home is full’
o Fix compose template formats (in global preferences) getting translated under specific conditions.
o Fix updating of tags menu.
o Fix log size getting out of control (claws-mail getting SIGXFSZ): rotate if every 10MB.
o Fix debian bug 474712, ‘claws seg faults when IMAP connection breaks after an IMAP protocol error (BAD UID SEARCH Invalid parameter: $Forwarded)]’

Note the support for PNG themes! Now my Ultimate Claws Mail theme will be a *lot* easier to make…



Just received the following email:

email= **************
Good day.
I am presenting a very good opportunity for you to represent our

company as a liaison and payment receiving agent in your region.
I am Mr. James Harold Haworth, Executive director, Chief Executive

Officer and president of a newly incorporated International and

Multinational Private company; Chia Tai Enterprises International
Limited Hong Kong, Incorporated in the Cayman  Islands. We require

reliable individuals to act as representatives to help us establish a
medium of getting to our customers in these countries as well as making

payments through you to us (as our payment agent).This is a Part-time

position that could become permanent based on your effort and

participation which includes diligence and transparent honesty.
I shall provide you with more explanation on our duties/intentions
upon receipt of your positive response.

************** =  considering the sensitivity of our intending
Respectfully Yours,

Mr. James H. Haworth.

Way to check out your applicants, Mr. Haworth! Not like they might be completely unsuited for the job

Note that this is a real company, and that is actually the name of the CEO. If it weren’t for his ‘SECURED EMAIL’ being from AOL, this could be real. If it is, I apologize. I took away the email address because it looks so real.

Installing your own extensions in Firefox 3 beta 5

I’m sure that many of you noticed that in the new Firefox beta 5, there is no ‘Install’ button in the addons dialog. Although presumably for security reasons, it is really useful to have if you, say, manually change extensions to make them compatible…

Here is how to re-enable that button:

  1. Open ‘about:config’
  2. Find the key named extensions.hideInstallButton
  3. Double click to change it to false

The install button will now show up in the ‘addons’ box.