PDA

View Full Version : HOWTO: Install Opera in Ubuntu


joh
June 9th, 2005, 06:04 AM
Moved!

http://ubuntuforums.org/showthread.php?t=40467

The guide is now located in the Hoary forum. The install instructions is the same for Warty and Hoary so I didn't see any point of seperating them.

Majlo
June 9th, 2005, 07:15 AM
Thanks :-)
Great Work

kuleali
June 9th, 2005, 07:25 AM
Nice howto

bugmenot
June 18th, 2005, 02:28 PM
First, thank you for the write up. Was the most helpful one I could find. Also, pardon my utter noobness...

Sadly I wasn't able to get it to work for me. I type the command to install Opera in the Terminal which completes with the following result:

"Setting up opera-static (8.01-20050615.1) ..."

Yet I don't see Opera installed anywhere, other than the Package Manager.

In fact opera.desktop doesn't exist. Completing the rest of the instructions just to cover my bases yields no success. Opera just can't be found.

Any ideas?

Xian
June 18th, 2005, 02:35 PM
Yet I don't see Opera installed anywhere, other than the Package Manager.
Try launching Opera to see if it has installed successfuly.
Right-click on your desktop and choose "Open Terminal'.

At the prompt enter this command and hit the enter key.
Does Opera start-up?

$ opera

bugmenot
June 18th, 2005, 02:50 PM
I'm such a dunce. Can't believe I didn't think to type opera in the Terminal. Too many years of Windows I guess.

Thanks Xian and OP. For some reason Opera just wouldn't appear in the Applications shortcut (following the full instructions) until I launched it first in the Terminal and accepted the Graphical Ads option.

joh
June 22nd, 2005, 01:41 PM
Opera doesn't create the opera.desktop, thats what that part of the HOWTO is about.

Sometimes the GNOME Application menu doesn't update before you restart in.

Doing this in the terminal should do the trick:
killall gnome-panel

Riggs
June 24th, 2005, 08:31 PM
The only thing that bothers me still is that Opera is not taking on the color scheme of the theme I am using. When you select anything in the menus, or in any of the dropdowns, the hightlight is always blue, even though I'm using Clearlooks Olive. Any suggestions?

Xian
June 24th, 2005, 08:43 PM
AFAIK Opera is a QT based application and does not support GTK theme attributes.

dakira
July 4th, 2005, 09:16 PM
The only thing that bothers me still is that Opera is not taking on the color scheme of the theme I am using. When you select anything in the menus, or in any of the dropdowns, the hightlight is always blue, even though I'm using Clearlooks Olive. Any suggestions?

Press SHIFT+F12 and in the Skin-Tab select the Opera Standard skin (if not already selected) and in Color scheme select "System color scheme".

That does it for me..

dakira

tread
July 4th, 2005, 09:19 PM
I'm going to add my severely unpopular thread here .. its about Opera-Gnome visual integration (http://ubuntuforums.org/showthread.php?t=35156)

I have one more theme to add there - Human .. I'll do that as soon as I get a little time.

Eestlane
July 16th, 2005, 05:53 AM
This is the install instructions for the Opera Internet Suite (Web browser +++)

This installs Opera, adds a menu icon and changes the default file handler from kexec to gnome-open.

Please give feedback if you have any tricks to make Opera integrate better with the Ubuntu desktop.

---

1. wget
http://www.netmirror.org/mirror/opera/linux/801/final/en/i386/shared/opera_8.01-20050615.5-shared-qt_en_sarge_i386.deb
2. sudo apt-get install libqt3c102-mt
3. sudo dpkg -i opera_8.0-20050415.6-shared-qt_en_sarge_i386.deb

4. Create the desktop file with:
sudo gedit /usr/share/applications/opera.desktop
5. Insert the following lines into the file:

[Desktop Entry]
Encoding=UTF-8
Name=Opera Web Browser
GenericName=Web Browser
Comment=Surf the Internet in a safer, faster, and easier way
Exec=opera %u
Terminal=false
MultipleArgs=true
Type=Application
Icon=/usr/X11R6/include/X11/bitmaps/opera.xpm
Categories=Application;Network
MimeType=text/html;image/gif;image/jpeg;image/png

6. Save the edited file.
7. mkdir ~/.opera
8. gedit ~/.opera/filehandler.ini
9. Insert the following lines into the file:

Opera Preferences version 2.0
; Do not edit this file while Opera is running
; This file is stored in UTF-8 encoding
[Settings]
Default File Handler=gnome-open exec,1
Default Directory Handler=gnome-open exec,1

10. Save the edited file.
11. Open Opera with Application -> Internet -> Opera Web Browser

3. sudo dpkg -i opera_8.0-20050415.6-shared-qt_en_sarge_i386.deb is now

sudo dpkg -i opera_8.01-20050615.5-shared-qt_en_sarge_i386.deb

joh
July 28th, 2005, 03:38 PM
3. sudo dpkg -i opera_8.0-20050415.6-shared-qt_en_sarge_i386.deb is now

sudo dpkg -i opera_8.01-20050615.5-shared-qt_en_sarge_i386.deb

I fixed it, updated to Opera 8.02.

Madpilot
July 29th, 2005, 02:06 AM
There are Ubuntu-specific Opera .debs now, we shouldn't be linking to the sarge debs. See Opera Downloads (http://www.opera.com/downloads) and select Ubuntu on the dropdown.

opera-static_8.02-20050727.1-qt_en_i386.deb is the latest, as of July 28 2005. Just upgraded today... (but no BitTorrent support yet... too bad. 8.03, with luck!)

Grafster
July 30th, 2005, 03:06 AM
This thread is awesome for newbies. The commands are laid out properly and work great.

Thanks!

manicka
July 30th, 2005, 10:20 PM
My menu and some page fonts look cruddy, like they're not picking up truetype settings. How do I fix that?

tea_man
August 4th, 2005, 11:28 PM
Opera Preferences version 2.0
; Do not edit this file while Opera is running
; This file is stored in UTF-8 encoding
[Settings]
Default File Handler=gnome-open exec,1
Default Directory Handler=gnome-open exec,1

for this what can i put in if i have kubuntu installed
- kde-open exec ?

cowlip
August 10th, 2005, 03:14 PM
for this what can i put in if i have kubuntu installed
- kde-open exec ?
Hi, I think "kfmclient exec" is correct

Why is Opera making it a Ubuntu static build, couldn't that be why the fonts are bad? I just use their dynamic sarge build

linuxa
August 15th, 2005, 03:12 AM
Thanks joh, that really helps!

Does anyone know of how to get past the Motif plugin requirment that Opera complains of everytime it starts?

Cheers

cowlip
August 16th, 2005, 04:04 AM
Thanks joh, that really helps!

Does anyone know of how to get past the Motif plugin requirment that Opera complains of everytime it starts?

Cheers

HI, I think it's sudo apt-get install libmotif3

linuxa
August 17th, 2005, 06:39 AM
Appreicate the reply cowlip.

libmotif3 doesn't seem available in the source list that I have.

running your suggested command told me that lesstif2 replaced it ??

So I ran:

sudo apt-get install lesstif2

instead.

Cheers

Jeremy Vaught
August 17th, 2005, 01:27 PM
On the step "sudo dpkg -i opera-static_8.02-20050727.1-qt_en_i386.deb" step

I get the response "dpkg: error processing opera-static_8.02-20050727.1-qt_en_i386.deb (--install): package architecture (i386) does not match system (amd64)"

Any thoughts on this?

Thanks,

Artificial Intelligence
August 17th, 2005, 02:31 PM
You are on an amd64 and you are trying to install i386 archecture(sp?)

cowlip
August 18th, 2005, 12:59 PM
Appreicate the reply cowlip.

libmotif3 doesn't seem available in the source list that I have.

running your suggested command told me that lesstif2 replaced it ??

So I ran:

sudo apt-get install lesstif2

instead.

Cheers
Hmm...I have the one from ubuntuguide.org so I don't know why urs is different...

linuxa
August 20th, 2005, 11:09 PM
Hmm...I have the one from ubuntuguide.org so I don't know why urs is different...

Probably because I didn't set up all of the repositories in my sources.list [-X

Opera loads way faster now using motif instead of lesstif \\:D/

Cheers.

Jeremy Vaught
August 23rd, 2005, 01:14 AM
You are on an amd64 and you are trying to install i386 archecture(sp?)
Yes. I couldn't figure any other way to do it. I eventually tried to install the Windows version in CrossOver but that didn't work either. When I updated to the kernel image 2.6.10-5 I lost X, and startx is gone. There was enough I was having trouble with because it was the 64 bit version, so I installed the 32 bit version on some empty hard drive space. Now, everything works fine. Opera included. When I get better at Linux I may go back and try to fix the 64 bit version. But for now, it is just too much of a headache to make all the stuff 'work' in on a 64bit OS. I think I will give it some time and allow those bleeding edge folks get everything working like it should.

GameManK
August 25th, 2005, 01:11 PM
any solution to the cruddy fonts?

vij26
August 30th, 2005, 11:17 AM
Great Work!!!
THX
Vij26
PS: Y not rename the file to: Opera.deb ](*,) ](*,) ](*,)

raggamuffin
August 30th, 2005, 02:59 PM
OK...after following this guide, when i try to run opera, all i get (in the terminal) is...

Preference initialization failure. Generic failure (-1)

Anybody have any idea what the problem is?

MBro
August 30th, 2005, 10:10 PM
any solution to the cruddy fonts?
You have to install qt config to make it look more gnomeish, there's a great howto thread in the forum here.

GameManK
September 5th, 2005, 07:54 PM
You have to install qt config to make it look more gnomeish, there's a great howto thread in the forum here.

actually the fonts look fine now, though i don't know what i did.
also, i'm in KDE.

the only cosmetic issue i have now is the menus are gray like in windows

linuxa
October 1st, 2005, 12:21 AM
The latest version of Opera (which is now free :D), v8.5 downloaded from opera.com uses Qt and seem to have fixed the font issue.

They are now smooth as :p

WhoKnows
October 1st, 2005, 06:09 PM
Does anyone know how to make the menus smaller. Like in Windows. In Ubuntu thet're so big and ugly.

I n Win.http://www.zone.ee/jannza/opera%20win.gif?2

In Ubuntu they're a lot bigger. I think beacause of font size. Would iIchange it somewhere.