Open a text editor and paste the following in it:
Code:
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
<os:ShortName>Ubuntu Forums</os:ShortName>
<os:Description>Search Ubuntu Forums using Google</os:Description>
<os:InputEncoding>UTF-8</os:InputEncoding>
<os:Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABoUlEQVQ4jZ2TP0tcQRTFj8XjvdEV2by5YxEwqSRpN4H9EhpsNmAjvjedhQpaWNj6DYQQLNKlEEnjG62CIJI3Axb5AhGFiJ9AVFBOCt3sM7vrn1yYZpjzm7lnzgWeUR6y7mGOS+gPjx7mO0TMoiZtvEAbz/16MzweYBhg6GG+9xd+eZ2wGKnTJru0in9XFs8HyLaHuQgQ21tMDHBH79Gln5hFDdrkpgNJLmnV8vnHwSnm0fveAJfO0glZ6Gt+S98yiyeYRU3OxpPM1VYFdsIWavfFm6ixkDM6IXf0Kb8OjXZdYJONCmS1vfmKuVri2mCDhRzRCenq0z1fOKPGmCdXd4D9O4A6pFVkrn6yeLFIJ+Rm+rKvyVa1mKsV5vHifwECpOUhKx66DXh6CweojwWYq9ssyP6zTQyQjXaYSshqd3//fOMP6IkSabOEnvSQrbY4wJzsQWrdgEqQSuhGgNxURJceZvlwOJ06gO4dJKAT5QDZrYhZQubp9DadXLDoE+VqfQaiEmnTQxY8zNzvGT1+a7CQTvcfpoeKTtZZ6GMWnXH+A8hSGPIYT+bNAAAAAElFTkSuQmCC</os:Image>
<SearchForm>http://www.google.com/search</SearchForm>
<os:Url type="text/html" method="GET" template="http://www.google.com/search">
<os:Param name="sitesearch" value="ubuntuforums.org"/>
<os:Param name="q" value="{searchTerms}"/>
</os:Url>
</SearchPlugin>
Save it as google-ubuntu.xml in the Firefox profile folder inside the "searchplugins" folder. The location should be something like this:
Code:
/home/you/.mozilla/firefox/xxxxxxx.default/searchplugins/google-ubuntu.xml
Restart Firefox.
Bookmarks