Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: HOWTO: Nice looking Opera

  1. #1
    Join Date
    Oct 2005
    Location
    Stockholm, Sweden
    Beans
    32
    Distro
    Dapper Drake Testing/

    HOWTO: Nice looking Opera

    I've seen one tutorial or two on this subject, but since none worked, I decided to write one, on how I did make it work.

    Install Opera
    If you haven't already, download opera from opera.com - I used opera_8.50-20050916.6-shared-qt_en_etch_i386.deb, and install it:
    Code:
    dpkg -i opera_8.50-20050916.6-shared-qt_en_etch_i386.deb
    ...and install any missing dependencies:
    Code:
    apt-get install -f
    Unsure about dependencies?
    http://ubuntuforums.org/showthread.php?t=78626

    Make it look good
    I'm not sure everyone knows this, but you can tell opera to use QT widgets instead of motif, by starting opera like this:
    Code:
    opera --style default
    If you get a popup at startup, something about "operamotifwrapper", you need to create a symlink.
    First, fire up a terminal and go to /usr/lib/opera/plugins.
    Try to start operamotifwrapper-3 ("./operamotifwrapper-3"), and if the output is something similar to this:
    Code:
    ./operamotifwrapper-3: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory
    ...you might have to do a quick hack.

    This guide used a soft link to make this silly hack, but since I think it ruined more than helped, I think copy is the way to go.
    Code:
    cd /usr/lib; cp libXm.so.2 libXm.so.3
    The Smart Method (tm)
    I know there are a few debian zealots out there, who doesn't like to mess around in /usr/lib - so here is a solution for your sexuality

    I haven't tested this - can someone confirm this actually works?
    It shouldn't matter where you do this from (paths etc):
    Code:
    ln -s ../../libXm.so.2.0.1 /usr/lib/opera/8.50-20050916.6/libXm.so.3
    Note: Some might refer to this as a anal method.

    Try to start opera ("opera --style default") again.
    It should work.

    Make it look even better
    When you get tired of starting opera with "--style default", there is another easy "hack" (well, it's not a hack, but I can't find any other description that's good enough) you can try!
    First of all, take a backup of the opera starter -
    Code:
    sudo cp /usr/bin/opera /root/opera-org
    Then, open the opera starter (it's a text-file, not a binary) with your favourite editor -
    Code:
    sudo gedit /usr/bin/opera
    Go down to line 8, that starts with "passflags=", and change it to something like this:
    Code:
    # Parse commandline parameters
    passflags='--style default'
    Now opera always will start with --style default.

    Changing QT-styles
    This isn't very hard either, and there's who way's to go at this point, and you can use them both.

    Using qtconfig
    Since a few people out there doesn't want to install any kde packages more than necessary, they can change the QT-theme by installing and using qtconfig - the package is called qt3-qtconfig.
    Code:
    sudo apt-get install qt3-qtconfig
    Start qtconfig as a ordinary user, and from there, you can change how QT looks. There aren't many themes to choose between, and none of them are very exciting to look at, but it's better than nothing

    Remember to save your preferences before quiting!

    Using kcontrol
    If you want some useful eyecandy, it's worth installing a few kde packages, and since this is ubuntu, it's not very hard either -
    Code:
    sudo apt-get install kcontrol
    When the installation is done, simply start kcontrol, change styles, colours and fonts to your liking, and start opera.

    Using both
    I'm not entirely sure there is any need for this, but I've done anyway (just in case).
    First, make sure you have both kcontrol and qtconfig installed.
    Make your choices in kcontrol (styles etc), and close kcontrol.
    Then start qtconfig again, and this time, you can choose between the ugly themes, and the themes from KDE - and pick your choice here (using the same style here as in kcontrol might be a good idea), and save it.

    Now, if opera somehow wouldn't use KDE's settings, it will fall back on your qt-settings.

    Creating an application link
    I think I stole this from another thread, I just can't remember which.
    If you want opera to show up in the Internet-menu without using sMeg, this is the way to go:
    First,
    Code:
    sudo gedit /usr/share/applications/opera.desktop
    and fill the empty file with this:

    Code:
    [Desktop Entry]
    Encoding=UTF-8
    Name=Opera Web Browser
    GenericName=Web Browser
    Comment=Simply the Best Internet Experience
    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

    Now - once last thing:
    Have fun, be secure and surf fast!
    Last edited by monotux; November 21st, 2005 at 12:03 AM.

  2. #2
    Join Date
    Apr 2005
    Location
    Kuopio, Finland
    Beans
    128
    Distro
    Xubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Nice looking Opera

    Nice!

    But, doesn't "Tools -> Appereance -> Color scheme -> System color scheme" (in Opera) do the same?

  3. #3
    Join Date
    Oct 2005
    Location
    Stockholm, Sweden
    Beans
    32
    Distro
    Dapper Drake Testing/

    Re: HOWTO: Nice looking Opera

    Quote Originally Posted by Juippisi
    Nice!

    But, doesn't "Tools -> Appereance -> Color scheme -> System color scheme" (in Opera) do the same?
    It changes the colorscheme

    Using QT-widgets instead of motif alters how opera looks.

    http://oscar.vuln.se/tmp/opera-qt.png

  4. #4
    Join Date
    Apr 2005
    Location
    Kuopio, Finland
    Beans
    128
    Distro
    Xubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Nice looking Opera

    Quote Originally Posted by monotux
    It changes the colorscheme

    Using QT-widgets instead of motif alters how opera looks.

    http://oscar.vuln.se/tmp/opera-qt.png

    Ah! I use KDE so Opera uses my KDE-theme . And your Opera's menu looks sweet.

    Btw, it's good that you gave some tips about errors when starting, it doesn't come as a suprise afterwards.

    And I recommend everyone to read the next thread: http://ubuntuforums.org/showthread.php?t=33945 - Adblock for Opera .

  5. #5
    Join Date
    Jul 2005
    Beans
    431

    Re: HOWTO: Nice looking Opera

    Thanks!

    (Fixed my issue with the code boxes on IRC with Juippis. I set Tools>>Preferences>>Web Pages>>Monospace font to Verdana size 13
    Last edited by majikstreet; October 18th, 2005 at 09:48 PM. Reason: added screenshot

  6. #6
    Join Date
    Aug 2005
    Beans
    136
    Distro
    The Feisty Fawn Testing

    Re: HOWTO: Nice looking Opera

    Whenever I try to do that link, I just get "ln: 'libXm.so,2': Fille Exists"
    but the link doesn't seem to be made, and the motifwrapper-3 still errors out. Any help would be appreiated!

  7. #7
    Join Date
    Oct 2005
    Location
    Stockholm, Sweden
    Beans
    32
    Distro
    Dapper Drake Testing/

    Re: HOWTO: Nice looking Opera

    Quote Originally Posted by chadwick359
    Whenever I try to do that link, I just get "ln: 'libXm.so,2': Fille Exists"
    but the link doesn't seem to be made, and the motifwrapper-3 still errors out. Any help would be appreiated!
    Try to copy the file instead of linking to it.
    It might work a bit better.
    To err is human... to really foul up requires the root password.

  8. #8
    Join Date
    Oct 2005
    Beans
    88

    Re: HOWTO: Nice looking Opera

    Hello Everybody!

    My name is Albert Fazakas, I live in Hungary.

    The problem is with this hack as follows
    cd /usr/lib; ln -s libXm.so.3 libXm.so.2 <--- of course, this is an error,
    the proper thing is:
    cd /usr/lib; ln -s libXm.so.2 libXm.so.3
    After doing this, everithing will run without error message and the application starts with default style.

    By

    Albert

  9. #9
    Join Date
    Jun 2005
    Beans
    9

    Re: HOWTO: Nice looking Opera

    You are looking for a very nice Opera Skin for Gnome?

    look here

    ferdy

  10. #10
    Join Date
    Apr 2005
    Location
    Harrogate, UK
    Beans
    152

    Re: HOWTO: Nice looking Opera

    Ok, so after some messing around I've got opera working in my fresh breezy install, and as suggested tried opening opera using the "opera --style default" command and it seemed to have worked but then I noticed that none of my menu's were highlighting when the mouse went over them. Even when I clicked on them I got a sort of 'outline' not, as I expected. the deep brown 3Dish background ubuntu uses - any Ideas?

    PS. As I said I'm using a fresh install of breezy and hense gnome.

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •