Archive for April, 2010

Ubuntu Fix: Firefox 3.6.4pre Freeze

April 14th, 2010 No comments

After upgrading from Firefox 3.5 to Firefox 3.6.4pre, I got this annoying problem: Whenever I opened a page with flash, Firefox greyed out and freezed. Fortunately, there are many smart people out there. I found this fix from Ubuntu Forum.

Basically, it’s what I suspected all along. Firefox developers have started to add the code for process isolation to Namoroka 3.6.4 but it’s not working properly yet.

Since version 3.6.2, I’ve observed that Firefox on Linux now has 2 processes while running – firefox and firefox-bin. Today, however, I noticed that since the update, whenever a site with flash components is loaded, a third firefox-bin process is loaded, presumably to contain and isolate the flash data. Whenever this process loads,however, the browser freezes.

I was able to find out which settings in about:config control the flash isolation behavior. Here goes:

Type about:config in the address bar
In the filter pane, type ipc

The filter should produce the following four config lines –


To turn off the flash process isolation, change the second line ( to false and restart the browser. Then re-enable flash and the browser should be able to load flash pages and play flash video as usual.

Categories: Linux, Tips and Tricks Tags:

Ubuntu Fix: Stacks Applet Not Working

April 14th, 2010 1 comment

When trying to add “Stacks Applet” to the AWN dock, it only shows a white vertical bar. From ~/.Xsession-errors file, I found some error message like this:

File “/usr/local/bin/avant-launchers”, line 36, in
import gnomedesktop
ImportError: No module named gnomedesktop
Traceback (most recent call last):
File “/usr/local/bin/avant-applets”, line 36, in
import gnomedesktop
ImportError: No module named gnomedesktop

The fix is simple: install “gnome-python2-desktop” package.

sudo apt-get install gnome-python2-desktop
Categories: Linux, Tips and Tricks Tags:

Ubuntu Fix: AWN Manager Not Working

April 14th, 2010 No comments

When trying to run AWN Manager from a terminal, I got some error message like this:

File “/usr/share/avant-window-navigator/awn-manager/”, line 368, in reload_look
if self.client.get_int(defs.BAR, defs.BAR_ANGLE) == 0:
glib.GError: Type mismatch: Expected `int’ got `float’ for key /apps/avant-window-navigator/bar/bar_angle

To fix this problem, try these steps:

  1. Open a terminal and type “gconfig-editor”.
  2. Go into “/apps/avant-window-navigator/bar” on the right side you should see “bar_angle”.
  3. Double click “bar_angle” and a “Edit Key” window will open. If you see “Float” in the “Type” that’s the problem. It should be set to “Integer”.
  4. Close the “Edit Key” window. Remember the value of “bar_angle”. Right click on “bar_angle” then select “Unset Key”. This will change its type back to “Integer”. Re-enter the value for “bar_angle”.
Categories: Linux, Tips and Tricks Tags:

Fix Backspace’s Behavior in Firefox under Linux

April 13th, 2010 No comments

Firefox under Linux: Fix Backspace’s Behavior to Take You to the Previous Page:

  1. In Firefox, type about:config into Location Bar.
  2. Click on “I’ll be careful, I promise!” button.
  3. In the filter text box, enter the following text string: browser.backspace_action.
  4. Double click on the browser.backspace_action and change its value to “0”.
  5. Close the tab, and the change will take effect immediately.
Categories: Linux, Tips and Tricks Tags:

Microsoft Word – How to Cross-Reference a Sequence Number

April 9th, 2010 2 comments

This post was shamelessly copied from The Occasional Tech.

If you found this post, then you are getting into the more advanced areas of Word. Namely, creating sequences, presumably to form your own custom lists. Sequences are a simple yet powerful tool which allows you to create an automatically-incrementing sequence of digits. As a software professional, I use this feature a lot when creating ordered list of tests or requirements.

A sequence is a type of Field in Word.
To create one, you just click on the Insert menu, then Field…
Change the Categories value to Numbering, and select Seq in the Field Names box.
In the Field codes box, add a unique name, e.g. MySeq, after the word SEQ. Leave a space between SEQ and the sequence name.

You can also add options which control the way the sequence is displayed, but that is out of scope. A good site to look at is:

When creating a sequence you give it a name and I believe you can have an unlimited amount in your document. You often combine a prefix with the sequence, e.g. E1, R1, N1, to indicate which sequence is being used. Another common way to use them is to place the sequence field in a table cell, as a way of numbering each table row.

Anyway enough of the general stuff – amazingly, in Word (up to 2003, haven’t checked in 2007) you cannot just go ahead and cross-refence a sequence. You would think this would be a normal feature, as it is a common task to want to reference a sequence number elsewhere. For example you may want to say “see requirement R37” and reference sequence number 37 in the Requirements sequence.

So the way you accomplish this is:

Go to each sequence value you want to reference.
Select the whole item, including the sequence number and any prefix/suffix.
Click on the Insert menu, then Bookmark…
Under Bookmark name, create a unique bookmark name, e.g. Req37.
Click Add.

You sequence value is now bookmarked.
Now you can reference it elsewhere:
Click on the place in your document where you want the cross-reference to be placed.
Click on the Insert menu, then Reference, then Cross-Reference…
Select Reference Type “Bookmark” and select “Bookmark text” in the “Insert reference to” list.
You will see your bookmark in the list. Click on it, then click on the Insert button.
You should see the sequence value inserted into your document.
Test it by Ctrl-clicking on the reference.

That’s it! Hope that helps.

Categories: MS Office Tags: