본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Adding custom search engine to Thunderbird

  • 12 답장
  • 5 이 문제를 만남
  • 6 보기
  • 최종 답변자: StirkRK

more options

Hello!

I'm using Thunderbird 52.5.0 (64-bit) on Debian Stretch.

So I am following https://support.mozilla.org/en-US/kb/add-search-engine-open-search to add a custom search engine to Thunderbird. (I want to add DDG as instructed at https://duck.co/help/desktop/thunderbird but for now I am following the support article.)

This is the google.xml https://pastebin.com/yRaXyJXb But I still can't see Google search engine in Preferences -> General -> Default Search Engine list. Am I missing something?

Any pointers will be really helpful.

Thank you!

Hello! I'm using Thunderbird 52.5.0 (64-bit) on Debian Stretch. So I am following https://support.mozilla.org/en-US/kb/add-search-engine-open-search to add a custom search engine to Thunderbird. (I want to add DDG as instructed at https://duck.co/help/desktop/thunderbird but for now I am following the support article.) This is the google.xml https://pastebin.com/yRaXyJXb But I still can't see Google search engine in Preferences -> General -> Default Search Engine list. Am I missing something? Any pointers will be really helpful. Thank you!

글쓴이 Avinash Sonawane 수정일시

선택된 해결법

1. Create a searchplugins folder in the profile folder, and copy into it the desired xml files such as ddg.xml, google.xml etc. 2. When you launch TB, the added search engines are not visible in Options, as expected. 3. Close TB and rename search.json.mozlz4 in the profile folder to search.json.mozlz4.OLD; a new search.json.mozlz4 is created when TB is launched, and now the added search engines are available in Options.

문맥에 따라 이 답변을 읽어주세요 👍 3

모든 댓글 (12)

more options

I used the Google Search add-on. It creates its own searchplugins folder into which you can put the ddg xml file.

more options

Zenos said

I used the Google Search add-on.

Thanks for the addon suggestion. But I really don't want to install yet another addon for the problem which has a direct knowledge base page https://support.mozilla.org/en-US/kb/add-search-engine-open-search

As long as the above mentioned page suggests a particular way I would like to stick to it please! ;)

more options

Avinash Sonawane said

Zenos said
I used the Google Search add-on.

Thanks for the addon suggestion. But I really don't want to install yet another addon for the problem which has a direct knowledge base page https://support.mozilla.org/en-US/kb/add-search-engine-open-search

As long as the above mentioned page suggests a particular way I would like to stick to it please! ;)


Then use the XML file it suggests instead of one you like from somewhere else. They are not the same.

Make sure you follow the case of the folder names. UNIX/Linux operating systems use case in folder names unlike windows. searchplugins is not the same as Searchplugins.

Ensure searchplugins is on the same level in your profile as mail and imapmail

Note that setting the default search engine is done in preferences > General. The heart stuff on Duck Duck go is some years old.

more options

Matt said

Avinash Sonawane said
Zenos said
I used the Google Search add-on.

Thanks for the addon suggestion. But I really don't want to install yet another addon for the problem which has a direct knowledge base page https://support.mozilla.org/en-US/kb/add-search-engine-open-search

As long as the above mentioned page suggests a particular way I would like to stick to it please! ;)


Then use the XML file it suggests instead of one you like from somewhere else. They are not the same.

Yes. They are the same! I don't know why you are saying they aren't. Can you please carefully look at the pastebin link I have provided?

PS - If you are thinking about xmlns attribute then it's there at KB article provided link! Ctrl+U should reveal that!

Matt said

Make sure you follow the case of the folder names. UNIX/Linux operating systems use case in folder names unlike windows. searchplugins is not the same as Searchplugins.

Again, if you would carefully look at that pastebin link you would have noticed it's searchplugins (all lower case) exactly what KB has suggested.

Matt said

Ensure searchplugins is on the same level in your profile as mail and imapmail

Same. Please have a look at the pastebin link.

Matt said

Note that setting the default search engine is done in preferences > General.

Yes, I kinda mentioned that in my original post.

Matt said

The heart stuff on Duck Duck go is some years old.

As I said, not interested in DDG for now. Just following the Knowledge Base article. So it's Google. (For now.)

more options

How stupid of me. Not to realize the orphaned line in the XML file you uploaded was something other than some sort of error.,

This is line 1 of what you posted after to orphan line

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">

This is line 1 of the text from bwintons blog. <SearchPlugin>

I do not think I need to go further to identify they are not the same, so this will be last post to this topic.

Did you verify your profile path using the show button in the troubleshooting information on the help menu? Or reading what it says in the profiles.ini file?

Have you restarted Thunderbird so it can read the XML file in the startup of the program? I think I recall that for about 5 years ago when I actually did this.

more options

Matt said

How stupid of me. Not to realize the orphaned line in the XML file you uploaded was something other than some sort of error.,

It's okay. :) Thank you for taking time to helping me out though. :)

Matt said

Did you verify your profile path using the show button in the troubleshooting information on the help menu? Or reading what it says in the profiles.ini file?

Yes, I did. Currently my Thunderbird installation has only one profile. The default one.

Matt said

Have you restarted Thunderbird so it can read the XML file in the startup of the program?

Yes, I did. A couple of times actually. But still can't see Google in search engines' list.

more options

선택된 해결법

1. Create a searchplugins folder in the profile folder, and copy into it the desired xml files such as ddg.xml, google.xml etc. 2. When you launch TB, the added search engines are not visible in Options, as expected. 3. Close TB and rename search.json.mozlz4 in the profile folder to search.json.mozlz4.OLD; a new search.json.mozlz4 is created when TB is launched, and now the added search engines are available in Options.

more options

That's it! Thank you very much! This solved the issue.

sfhowes said

3. Close TB and rename search.json.mozlz4 in the profile folder to search.json.mozlz4.OLD; a new search.json.mozlz4 is created when TB is launched, and now the added search engines are available in Options.

Can you please let us know how did you figure out this workaround?

more options

Avinash Sonawane said

Can you please let us know how did you figure out this workaround?

The question came up a few months ago in the mozilla.support.thunderbird newsgroup, and when I realized the old instructions didn't work after TB 45, I searched and found the key tip on this site.

more options

BTW clearly this is not how we want user to set the custom search engine. So I thought of filing a bug report but found an existing one instead. https://bugzilla.mozilla.org/show_bug.cgi?id=1427093

I have left comment linking this Mozilla Support Forum question. I hope the bug gets resolved soon!

more options

Avinash Sonawane said

BTW clearly this is not how we want user to set the custom search engine. So I thought of filing a bug report but found an existing one instead. https://bugzilla.mozilla.org/show_bug.cgi?id=1427093 I have left comment linking this Mozilla Support Forum question. I hope the bug gets resolved soon!
more options

Nothing above worked for me until I commented out the first line in the XML file:

<$ cat ~/.thunderbird/m422kcn9.default/searchplugins/google.xml