Searching Mint Forums - A Better Way

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Re: Searching Mint Forums - A Better Way

Postby rdanner3 on Tue Dec 27, 2011 5:37 pm

Pepe233 wrote:Looks great, I too struggle to search mint forum. Too bad I use chrome... Any idea about how to do this there :mrgreen: ?
Will see what I can dig up; I use Chrome by preference over either FF or Opera. Have all three on my box. (Mint 10)

Actually like the idea of feeding Mint money for my searches, both on-site and off.
Toshiba Satellite A505-S6005 on LM13 x64 (MATE/LXDE).
Linux dabbler since 1996. Registered Linux User #547455
Serious Linux user since Linux Mint 9 (also x64).
User avatar
rdanner3
Level 2
Level 2
 
Posts: 84
Joined: Thu Jun 17, 2010 10:19 pm
Location: Central Alabama, USA

Linux Mint is funded by ads and donations.
 

Re: Searching Mint Forums - A Better Way

Postby mindhealer on Mon Feb 13, 2012 4:04 pm

Hi, I turned a firefox bookmark into a keyword for searching the forums with the default duckduckgo search engine and it works fine.

For example, this post comes right up searching for its name.
My command: "slmf a better way"
The result page:
http://duckduckgo.com/?t=lm&q=site%3Aforums.linuxmint.com+a%20better%20way

The address within the "slmf" (Search Linux Mint Forums) bookmark is:
Code: Select all
http://duckduckgo.com/?t=lm&q=site%3Aforums.linuxmint.com+%s

I think the "t=lm" is the part that ties the search into the ad-revenue deal.
mindhealer
Level 1
Level 1
 
Posts: 2
Joined: Sun Feb 12, 2012 7:25 pm

Re: Searching Mint Forums - A Better Way

Postby mindhealer on Tue Feb 14, 2012 11:28 pm

What I mentioned in my previous reply works just as well for Chromium; there is a setting for search engines in Preferences, and the one that is default is searched from the address bar, the others are searched if you type the associated keyword.
mindhealer
Level 1
Level 1
 
Posts: 2
Joined: Sun Feb 12, 2012 7:25 pm

Re: Searching Mint Forums - A Better Way - Not for me

Postby pgmer6809 on Sat Mar 22, 2014 4:16 pm

None of the suggestions or code in this thread works for me.
I put the mint-forums.src file in both my ~/.mozilla/firefox/mwad0hks.default/searchplugins directory and in the /usr/lib/firefox-addons/searchplugins directory along with the gif file.
I tried both flavors of the .src file posted here.
I restarted firefox several times.
At no time did I get anything in the search choices except the usual Duck Duck, yahoo, etc.
pgmer6809

:?
pgmer6809
Level 2
Level 2
 
Posts: 96
Joined: Sun Mar 04, 2012 9:06 pm

Re: Searching Mint Forums - A Better Way

Postby caribriz on Sun Mar 23, 2014 12:37 am

pgmer6809 wrote:None of the suggestions or code in this thread works for me.
I put the mint-forums.src file in both my ~/.mozilla/firefox/mwad0hks.default/searchplugins directory and in the /usr/lib/firefox-addons/searchplugins directory along with the gif file.
I tried both flavors of the .src file posted here.
I restarted firefox several times.
At no time did I get anything in the search choices except the usual Duck Duck, yahoo, etc.
pgmer6809

:?


I couldn't get it to work in LM16 Cinnamon, but this worked for me to get Firefox's search engine drop-down menu to show "Mint forums" in the search box:

In ~/.mozilla/firefox/mwad0hks.default/searchplugins folder, create a new folder named searchplugins-backup

Open searchplugins-backup folder - in there, create the file mint-forums.src containing this version:

Code: Select all
<search
    name="Mint Forums"
    method="GET"
    action="http://www.google.com/search"
    queryCharset="utf-8"
    >

    <input name="q" user>
    <input name="sitesearch" value="forums.linuxmint.com">
    </search>


Return to the folder ~/.mozilla/firefox/mwad0hks.default/searchplugins
In this folder, place the image mint-forums.gif and create a new document named mint-forums.xml which contains this text:

Code: Select all
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
<os:ShortName>Mint Forums</os:ShortName>
<os:InputEncoding>utf-8</os:InputEncoding>
<os:Image width="16" height="16">data:image/x-icon;base64,R0lGODlhEAAOAOeeAH7EN4LFPobERYbFRI3DVoHKNYzEUofHRYzFUo3HUorJSoXNO5PGX47JU4fOPY3LT5DLVJfJZZDNVIvRRZHOU47QS4/TSY/USZXSWJ/RbJ3SaKTQeKPRc6XQeaTSdqTSeKTTdqXTdZnbVp3aX6DZZZzdWafYd6nYeaPcaanZd6DfYajcdKzafaPhY6zce63cfqnfcKfjaK7ffa/ffrHfgq/gfq/gf7fck7DggbjclLHggbLhg7vcm7ndmKrmbazlcqvnbr3dnr3emr7enr/enbLlfrPlgbXkhr/hnbDqdcHhosDjncLkn7rpisbjqrXte8bjrMTlor/olsXlpcLnnMXmo7zsjcfnp8jnqMjop8jppsDuksfsoMzpr8Xtnc3pscHxkMPxls3tq9XrvcH2jMfzmtPtt8T2kNjrxtTuucr0ntXwut3ty832pM73o8/4ptH5qNz0xOHx09L6qeHyz+DzzODzzebz2tr7uej02+r04On13Or23fLy8vPy9Ov33/Tz9vXz9+744+754vH56ff39/P66/P67PH76PT67vP76/n5+ff79Pj79Pn89fv8+vr9+Pv9+Pv9+f38//z++fz++v/9//3+/P7+/f7+/v7+///+//7//v///v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yH+EUNyZWF0ZWQgd2l0aCBHSU1QACH5BAEKAP8ALAAAAAAQAA4AAAjkADVx4tRpk6eDCD39W/iPE545cNyoKRNmi5UmXBRtWsjpzRkybcA8SQIkRosSIuxY+ucJUZwig8T88OHFiAopKC4c+reoEKUjf7TAEHTJUyRHmkhQAbQwEg0+VWZ4WrEm0Yg6WGwEWgjpxR4mLjxhyELIQpouMrb+g3QiD5IUnihcMTTBzJe0XEPcEaJhzAMWUxxEWVJDbSUObNAIGHAgAIACSkzgUOuJyAZPeuT0yHEDipMKO9T+w9QhAo8hHzyAyKBggQ7RmTIFYUDAAIIEDSBIoOOH4cJJjxoxYtRIuCRPfQICADs=</os:Image>
<os:Url type="text/html" method="GET" template="http://www.google.com/search?q={searchTerms}&amp;sitesearch=forums.linuxmint.com">
</os:Url>
</SearchPlugin>


Restart Firefox.

Firefox Mint-forums search engine LM16 Cinnamon.png
Image
Desktop: C2D E6400 / Asus P5LD2SE / 2GB ram / Asus GeForce 210 / 320GB (WinXP) & 1TB (Mint - various)
Laptop: Asus A53E-SX1455V - i5 2450M / 4GB ram / Intel HD 3000 / 500GB (Win7/Mint 17 Cinnamon)
caribriz
Level 5
Level 5
 
Posts: 826
Joined: Mon Nov 28, 2011 7:43 am

Re: Searching Mint Forums - A Better Way

Postby UlotraCronic on Mon Apr 21, 2014 10:13 pm

[quote="altair4"]NOTE: I've rewritten this HowTo to reflect the current changes to both Mint and Firefox.

There is something very peculiar about the search function within this forum. I often ---------------------------------SNIP2SAVE--------------------------------

None of these src files work nor the other versions of it below, Firefox 24 persists on using .xml files for this, I splattered this src file in more places then I should have. Linux Mint Petra 16, 64 bit no luck. :(

Woops posted to soon, I'll try the xml methoud tomorrow, The quick bookmark method works also. Me bad, thought all I had to do was the src file, lazy me .
UlotraCronic
Level 1
Level 1
 
Posts: 6
Joined: Sat Apr 19, 2014 2:16 pm

Previous

Return to Tutorials / Howtos

Who is online

Users browsing this forum: robert leleu and 9 guests