Opera FAQs, Tips, Tricks & Tweaks

Tips for Opera browser since 2005

How to convert the search field into a button in the Opera Search panel?

, , , , ,

If you want to search for same thing in different search engines, Search panel is convenient compared to integrated search field in address field.

When you add a search engine to the Search panel, Opera will add search field instead of a button. The problem with search field is you have to enter the search term again if you want to search for already entered search term in global search field. Search field can be converted in to a button easily.

  1. Add required search engine to the Search panel from Tools > Appearance... > Buttons > Search
  2. Open toolbar configuration file and under [Search Panel Toolbar.content] replace SearchX, Y with ButtonX, "Search Engine Name"=Search, Y
  3. Activate modified toolbar setup from Tools > Preferences... > Advanced > Toolbars > Toolbar setup to see the changes.
Opera Search panel with search field
Search panel with Acronym Finder search field
Opera Search panel with search button
Search panel with Acronym Finder search button

Toolbar content before modification.

[Search Panel Toolbar.content]
Search0
Button1, "Google"=Search
Button2, "Ask"=Search, 1
Button3, "Yahoo!"=Search, 2
Button4, "Amazon.com"=Search, 3
Button5, "Wikipedia"=Search, 4
Button6, "Ebay.com"=Search, 5
Button7, "Yahoo!Shopping"=Search, 6
Button8, "BitTorrent"=Search, 7
Search9, 31
Toolbar content after modification.
[Search Panel Toolbar.content]
Search0
Button1, "Google"=Search
Button2, "Ask"=Search, 1
Button3, "Yahoo!"=Search, 2
Button4, "Amazon.com"=Search, 3
Button5, "Wikipedia"=Search, 4
Button6, "Ebay.com"=Search, 5
Button7, "Yahoo!Shopping"=Search, 6
Button8, "BitTorrent"=Search, 7
Button9, "Acronym Finder"=Search, 31


Easy way: Replace SearchX, Y with SearchButtonX, Y

Update: Sep 25, 2010

Stop offer phone calls and SMS from Airtel IndiaHow to change Speed Dial site titles in Opera?

Comments

Alexodius PrimeAleksOD Friday, February 20, 2009 1:52:00 PM

Oh wow, thanks! I actually considered the search panel in Opera to be useleff, but this changes everything smile

StelianLZ2SDC Friday, February 20, 2009 4:59:48 PM

Thanks Tamil!
I added a YouTube search engine. smile

You can add:
Changing the Toolbar Configuration file, must be done when Opera is off.

standart_tolbar(1).ini,after adding the YouTube search

[Search Panel Toolbar.content]
Search0
Button1, "Google"=Search
Button2, "Ask"=Search, 1
Button3, "Yahoo!"=Search, 2
Button4, "Amazon.com"=Search, 3
Button5, "Wikipedia"=Search, 4
Button6, "Ebay.com"=Search, 5
Button7, "Kelkoo"=Search, 6
Button8, "BitTorrent"=Search, 7
Search9, 36



standart_tolbar(1).ini,after the change.

[Search Panel Toolbar.content]
Search0
Button1, "Google"=Search
Button2, "Ask"=Search, 1
Button3, "Yahoo!"=Search, 2
Button4, "Amazon.com"=Search, 3
Button5, "Wikipedia"=Search, 4
Button6, "Ebay.com"=Search, 5
Button7, "Kelkoo"=Search, 6
Button8, "BitTorrent"=Search, 7
Button9, "YouTube"=Search, 36


up banana smurf

darumaki Friday, February 20, 2009 9:28:05 PM

What to do if there is no [Search Panel Toolbar.content] in the file ?

Tamil Saturday, February 21, 2009 2:35:26 AM

Originally posted by LZ2SDC:

Changing the Toolbar Configuration file, must be done when Opera is off.

You can also edit it when Opera is running.

Originally posted by darumaki:

What to do if there is no [Search Panel Toolbar.content] in the file ?

If you add a search engine to the Search panel, it will be created.

Charles SchlossChas4 Saturday, February 21, 2009 4:28:17 AM

http://files.myopera.com/Tamil/Smilies/Cool.gif -

I stil use Custom Searches

yt for youtube
w for wikipeda
gi for google images

StelianLZ2SDC Saturday, February 21, 2009 9:33:34 AM

Originally posted by Tamil

You can also edit it when Opera is running.


To me, does not change it (edit with Notepad). Even when acting replace toolbar.ini, with other toolbar(1).ini.
How do this, Tamil?
If I create toolbar(1), but use Opera toolbar(2),I can edit toolbar(1), because Opera does not use it at this time. Then I change the menu. In this case, change is possible.

Tamil Saturday, February 21, 2009 4:18:26 PM

Did you activate modified toolbar setup in CTRL+F12 Advanced Toolbars Toolbar setup ?

StelianLZ2SDC Saturday, February 21, 2009 5:02:59 PM

Yes,I often do this. smile
I want to emphasize that changes in this file is not always successful record when Opera is running.

Tamil Saturday, February 21, 2009 5:06:01 PM

I usually edit keyboard, menu, mouse & toolbar setups without closing Opera and never experienced any problems.

Victoria RameyMickey23 Monday, February 23, 2009 1:51:49 AM

I do not have [Search Panel Toolbar.content] in my standart_tolbar(1).ini.
There is a file named 'search' in my profile which has all my search engines listed.

Can I just add the Search Panel Toolbar.content with the changes to the end of the standart_tolbar(1).ini ?

Tamil Monday, February 23, 2009 4:06:12 AM

Originally posted by Mickey23:

I do not have [Search Panel Toolbar.content] in my standart_tolbar(1).ini.

See reply to darumaki.

Simpleiam1simpleguy Wednesday, May 6, 2009 9:43:04 AM

thats gone

Unregistered user Friday, June 12, 2009 10:01:41 AM

Anonymous writes: how to add youtube quick search?

Tamil Friday, June 12, 2009 10:05:01 AM

See this.

Babylischlaefer Saturday, August 8, 2009 10:20:58 AM

That is very interesting!

Unregistered user Friday, December 25, 2009 4:02:23 PM

Anonymous writes: Tools -> Preference -> Search (Tab) -> Add (Button) Name: You&tube Keyword: u Address: http://www.youtube.com/results?search_query=%s

szantos Tuesday, January 12, 2010 2:41:58 PM

Hi!

I've dragged normal buttons to the search panel, but their icon doesn't show. (Images and text on the right is selected.) I've tried it several ways, but no success. Any idea ?!

Tamil Saturday, January 16, 2010 3:39:17 PM

Does search field show icon for it?

szantos Thursday, January 21, 2010 11:46:01 AM

Yes, I can see the favicons for the search engines in my list.

(I have a search field with a dropdown menu button on its right.)

Tamil Sunday, January 24, 2010 6:42:08 AM

confused

no idea

szantos Monday, January 25, 2010 11:30:42 AM

Maybe a screenshot would explain my problem, which exists with the standard skin as well...

http://files.myopera.com/szantos/albums/1310561/search_bar_icons.png

Tamil Wednesday, January 27, 2010 12:30:53 PM

Opera won't show favicons for buttons.

Tobey McCyberflycyberfly Tuesday, July 6, 2010 9:19:56 PM

Great tip, thanks a bunch Tamil, as always :-)

Unregistered user Monday, July 12, 2010 10:43:06 PM

slimzky writes: Tamil, I have a question, I would like add a search bar in Operas mainbar but i cannot drag it. I want the style of the default searh bar. Here's the pic. [IMG]http://i83.photobucket.com/albums/j286/slimzky/Capture.jpg[/IMG]

Tamil Tuesday, July 13, 2010 5:26:56 AM

SHIFT+F12 > Drag & drop search field

klaudyuxxx Friday, September 24, 2010 8:28:39 PM

Changing SearchX, Y to SearchButtonX, Y is simpler and it has the same effect smile

Tamil Saturday, September 25, 2010 12:08:20 AM

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies