Opera browser tips

From Freespire

Jump to: navigation, search

Home-->Documentation-->Hints & Tips-->Opera browser tips


Getting Java to work in Opera

To enable Java click on tools, go to quick preferences and tick Enable Java. Next go to tools once again but this time go into Preferences. In the Preferences select the advance tab. Then select Content on the left.

Click the Java Options... button (not the JavaScript Options... button.)

In the Java field paste

  /usr/lib/j2sdk1.5-sun/jre/lib/i386/

or

  /usr/lib/jre1.6.0_02/lib/i386

or whatever the version you are using

You can click validate after this and it should confirm all is well. Then click OK. Click OK again then restart your browser and Java will now work.

Playing YouTube clips in Opera

Underneath the Java Options... in the first part of this tutorial you'll find a button called Plug-in Options..., click it. Then click the Change Path button. Untick everything except /usr/lib/opera/plugins and /usr/lib/mozilla/plugins.

Then click OK, followed by OK, and another OK. You can now restart your browser and YouTube now works.

Set Opera as the default browser when using Thunderbird email client

Situation: You use the Thunderbird or Lmail email client and want Opera to open up when you click on links in your emails.

(This has been tested on Linspire 5.1 and Freespire 2.0.3)
Do the following as root or superuser and do not have Thunderbird open:

1) Use your favorite text editor to make a shell script, named "opera-thunderbird.sh" which contains:

#!/bin/bash
exec opera -newpage "$@"

2) Save the script as /usr/lib/opera-thunderbird.sh and then make it executable.

3) Find the file prefs.js and open it with your favorite text editor. Depending on your version of Thunderbird or Lmail it might be in this folder: /home/user/.thunderbird/xxxxxxxx.default or /home/user/.lmail/xxxxxxxx.default(where xxxxxxx is some random text)

4) In the file prefs.js, find the lines that start like this:
user_pref("network.protocol-handler.app.ftp", ....
user_pref("network.protocol-handler.app.http", ....
user_pref("network.protocol-handler.app.https", ....
If you don't have those lines, that is OK....just go to the next step.

5) Add the following lines at the very bottom of the prefs.js file OR change the existing lines:
user_pref("network.protocol-handler.app.ftp", "/usr/lib/opera-thunderbird.sh");
user_pref("network.protocol-handler.app.http", "/usr/lib/opera-thunderbird.sh");
user_pref("network.protocol-handler.app.https", "/usr/lib/opera-thunderbird.sh");

6) Save, Log back in as user, and test it out.

Personal tools