Tag Archives: opera

How to Change the Search Engine on Opera Mobile Default Homepage

When Opera announced that it had “named Yahoo as the exclusive provider of mobile search on … Opera Miniâ„¢ and Opera Mobileâ„¢“, there were mixed responses, depending on people’s preferences.

The seemingly easiest solution for those with different preferences is to change the browser homepage to the desired search engine, or any page in general. That’s what I did initially. I then realized that having a homepage that is located on a remote server would make the browser take longer to load as it tries to access the site and download then render its contents.

I decided to edit the homepage file that Opera uses. This may or may not work for you. I’m using Opera Mobile 8.65beta on Windows Mobile 6 Pocket PC Phone. I saw that the homepage was a local file so I navigated to it.

On my setup, home.html is located in: \Application Data\Opera\startpage\

While connected via ActiveSync, click on Explorer. Navigate to the file and copy it to the hard drive. Open the file in your favorite html editor, using code view.

Go to your favorite search engine, either the regular or mobile version based on your preferences/needs. View the source. Search for the part of the code that renders the search form. It should start with <form and end with </form>. Copy the code.

Return to the home.html file that you’re editing. Search the code for the form tags and replace it with what was copied from the preferred search engine.

Double-check the action attribute in the form tag. If it is a relative path, you will need to edit it since it won’t work when used in a file that is local to the mobile device. Go back to the search engine page and get the full path to prepend to the path in the action attribute path. If the path is a full path that starts with “http://” then you’re golden and good to go.

Save the file on the hard drive. Copy the file over to the Pocket PC. Check out the file in Opera. While you’re editing the homepage to have the preferred search engine, you can edit for any other reason, like adding links to favorite pages.

How to Install Applications on Linux

I found this page today that finally helped me understand how to install applications in Linux: HOWTO: Use dpkg to Install .deb Files:

To install a .deb file, become root and use the command:

dpkg -i filename.deb

In order for me to run the command as root, I was supposed to use:
sudo dpkg -i filename.deb

However, I got access denied or something like that. I went to the support folks and I was asked if the installation file was in home, which was on the network. It turned out that the installation file had to be in the tmp folder on my local hard drive in order to be able to run sudo. Once I copied the file over to the tmp folder, the command worked like a charm.

As much as I like Ubuntu-flavored Linux, my least favorite aspect is installing applications. It’s not as easy as in Windows where I can just double-click an installer file. The documentation is essentially non-existent. I guess they expect that if you use Linux, you just magically know how to do things. :P

The cool thing about Ubuntu is that it comes with a lot of applications already installed. However, I wanted to supplement my Firefox browser with Opera. The Opera website wasn’t very helpful in helping install the package after I downloaded the file. I had to have a friend help me install it a few months ago. I don’t know why, but something went wrong with my machine today and it had to be re-imaged, resulting in the loss of Opera. I really wanted to be able to figure out how to install Opera on my own so I don’t have to keep bugging someone else to help me every time I needed it. Finding the instructions above has given me some linux independence. Woohoo!