General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
bafflement about searching ?!?
Posted by: smallhagrid
Date: December 15, 2015 05:04AM

I have been using K-Meleon for quite a while already as my secondary browser.
Now I am wanting to make it my primary browser and it has me stumped.

Having searched here for info on this and having found only a little bit, I hope there is more info that may help me in my quest...?

In older versions than 75.x I could choose search engines much more easily.

I found, cleaned up & re-saved the enormous list of them (search.xml) and they appear correctly in the preferences so I know I saved it correctly.

Only 6 appear when I right-click either the Search+ or the searchbar - and none were ones that I wish to use.

I found how to change these 6, for the search bar in about:config by filtering for 'search', but that did not change it for Search+.
(It did also change it for Search+, after a restart, thankfully.)

Even with those things corrected there is still a great big hole in this function for me with what I do pretty much every day;
I am almost constantly searching - and now I see that I am very spoiled by the built-in and extendable search abilities that FF has.

So I must ask, please:
Is there any way to get more & custom search abilities into some sort of a search bar for V75.x - so that any one of many may be chosen ??

Between the Mycroft site and the extension called 'Add to Search Bar' I've been able to utilize direct searching at all my most used sites - and without anything like this - to use the ~20 different searches I use so much I will have to alternate between K-Meleon & FF, which I'd rather not do at all.

Please help me out with this ??

Thanks.



Edited 1 time(s). Last edit at 12/15/2015 05:23AM by smallhagrid.

Options: ReplyQuote
Re: bafflement about searching ?!?
Posted by: siria
Date: December 15, 2015 06:49AM

1) You've edited search.xml manually
2) You're using the searchplus-macro in KM75pro
3) By default the menubuilding-loops use a x+1 counter and stop as soon as a pref-number is missing

Your menu stops at number7, that means your pref for "...search.engine7.name" is probably missing.
Just have no idea which way the xml-files are connected with prefs...



Edited 1 time(s). Last edit at 12/15/2015 07:24AM by siria.

Options: ReplyQuote
Re: bafflement about searching ?!?
Posted by: smallhagrid
Date: December 15, 2015 09:20PM

Hi Siria and thanks for replying.

Yes:
1) You've edited search.xml manually

Search+, yes:
2) You're using the searchplus-macro in KM75pro

OK - I think I follow here:
3) By default the menubuilding-loops use a x+1 counter and stop as soon as a pref-number is missing

The last entry in About:Config is=>
Quote

Your menu stops at number7, that means your pref for "...search.engine7.name" is probably missing.

kmeleon.plugins.macros.search.engine5.name

Of course if I can - I'll add more sequential entries so there's like 20 of them !!

The easy/quick way to do this is to make them in prefs.js manually when the browser is closed - which I just tested & it works.

I certainly do not know anything about this myself !!:
Quote

Just have no idea which way the xml-files are connected with prefs...

But my guess is that search.xml is quite disconnected & useless in this instance.



Edited 2 time(s). Last edit at 12/15/2015 09:35PM by smallhagrid.

Options: ReplyQuote
Re: bafflement about searching ?!?
Posted by: rodocop
Date: December 16, 2015 12:13AM

You don't need to get into manual editing of xml-file or prefs.

Just use Preferences->Finding websites->Web Search

Here you can add search engines to your Search button or Search panel as well as remove unused. Screenshot will describe it better than words
(click to show fullsize):





Edited 1 time(s). Last edit at 12/16/2015 12:18AM by rodocop.

Options: ReplyQuote
maybe a fix ??
Posted by: smallhagrid
Date: December 16, 2015 02:32AM

Thanks for replying Rodocop.

Yes - that was the natural assumption and I did that 1st - with zero result in either the released version or your version (I am using/testing both...):

Quote
rodocop
You don't need to get into manual editing of xml-file or prefs.
Just use Preferences->Finding websites->Web Search
Here you can add search engines to your Search button or Search panel as well as remove unused.

This is similar to 'manage search engines' in FF - except for one thing=>
That one works correctly !!

I have no idea why this function is disconnected as it is - but following Siria's reply I opened prefs.js in the active profile and found only these lines:

user_pref("kmeleon.plugins.macros.search.engine1.name", "wikipedia");
user_pref("kmeleon.plugins.macros.search.engine1.url",

"http://en.wikipedia.org/w/index.php?title=Special%3ASearch&fulltext=

Search&search=");
user_pref("kmeleon.plugins.macros.search.engine3.name", "yt");
user_pref("kmeleon.plugins.macros.search.engine3.url",

"http://www.youtube.com/results?search_query="winking smiley;
user_pref("kmeleon.plugins.macros.search.engine5.name", "truveo");
user_pref("kmeleon.plugins.macros.search.engine5.url",

"http://www.truveo.com/search?query="winking smiley;


Which explains how/why I had only those as well as DDG which is my default right now.

So, I then added the following lines manually to prefs.js:

user_pref("kmeleon.plugins.macros.search.engine6.name", "truveo2");
user_pref("kmeleon.plugins.macros.search.engine6.url",

"http://www.truveo.com/search?query="winking smiley;
user_pref("kmeleon.plugins.macros.search.engine7.name", "test2");
user_pref("kmeleon.plugins.macros.search.engine7.url",

"http://www.truveo.com/search?query="winking smiley;
user_pref("kmeleon.plugins.macros.search.engine8.name", "test3");
user_pref("kmeleon.plugins.macros.search.engine8.url",

"http://www.truveo.com/search?query="winking smiley;


Re-opened the browser - and there they ALL were, in both places.

I will simply copy what I need from FF and enter it manually - that will be easy enough.

Someone more skilled than myself may wish to fix this so that it works correctly at some point, I think.

Thanks !!

Options: ReplyQuote
Re: bafflement about searching ?!?
Posted by: siria
Date: December 17, 2015 12:05AM

Glad you could fix it yourself!

But at the moment I don't hold much hope that whatever caused this can be fixed, if we can't reproduce it. Have tried it myself now on KM75.1 and there it worked fine. Was not able to break any numbers or produce gaps by customizing the normal way via "Web Search" sheet.

Also am not quite sure if I understand this right:
Did you really have such double-linebreaks in the middle of the URL prefs or did that just happen somehow while copying?
And you did add and see more numbers via the prefsheet for **Web Search**, and they were not stored at all in prefs.js?
That would be very strange, unless there was some prob with write permissions. Then after a restart all changes would be lost again.
If you can figure out a way to reproduce it that would help.

The usual prob (mostly for useragents lists) is different, it's just a gap in the numbering, although the following entries are stored normal again. just not shown in menu.
On the other hand, that menubuilding stops at the first empty listnumber is by design, that allows unlimited lengths while beeing speedy for short lengths (I assume ;-))

Options: ReplyQuote
Re: bafflement about searching ?!?
Posted by: smallhagrid
Date: January 04, 2016 10:41PM

So...finally - after all that came before...

Apparently the problem itself was somehow caused when I was trying to change it from Russian to English.

I think this because I started fresh & re-did everything in the interests of making the same adjustments - and the search menu & functions do as they should have all along.

The broken copy is gone now, and I can proceed in making K-Meleon my 'daily driver'.

Of course I have more questions too - which I will now post.

Thanks for the replies here; you folks are really nice & helpful !!

Options: ReplyQuote
Re: bafflement about searching ?!?
Posted by: rodocop
Date: January 05, 2016 01:19AM

Sounds great! Good wishes with KM in new year!

Options: ReplyQuote


K-Meleon forum is powered by Phorum.