Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to search a text in google or other search engine in Firefox from context menu in LibreOffice?

Translating texts I need to go to the internet to look up the words and see context etc.

Could I do it directly from LibreOffice somehow?

Would look something like:

enter image description here

share|improve this question
I don't know about Libreoffice menus, but you could search mouse selection anywhere by using an app like Artha, or by keybinding sh -c 'firefox "$(xclip -o)"' (example given translate english into french). – user55822 Nov 13 '12 at 17:58
you mean that by Artha I could search google from LibreOffice? if that's the case please provide specific answer as such - instead of comment: i myself know nothing about keybinding, and therefore need a limited specific solution (instead of analogy) – cipricus Nov 13 '12 at 18:06
No, these are alternatives as I don't know anything about Libreoffice. That's why it's a comment. You would have to use a shortcut (eg Ctrl+Alt+G) instead of going into Libreoffice's menu after selecting some text. Artha doesn't open Google in Firefox, it has its own popup window with results. The command I gave you will open google translate in Firefox with your mouse selection (text highlighted) as a query. Use sh -c 'firefox "$(xclip -o)"' if you want regular Google over Google translate. And obviously, that would work everywhere, not just LibreOffice. – user55822 Nov 13 '12 at 18:40
@user55822: so, i have created a question so as to allow from you a full answer if you please: – cipricus Nov 26 '12 at 18:40
@user55822: my new question received an answer entirely based on your comment. all credit to you. i have edited the title of this one. if you wish to provide a full answer you may do it here or to the other one. but this is a duplicate now. Everything is pretty clear to me now. thank you – cipricus Nov 27 '12 at 11:24
up vote 1 down vote accepted

This question received an answer when I created a more general question to clarify the comment given by user55822 to this question.

I will not delete this question, although now it is a duplicate of the other one, because here we have the comment that deserves all the credit for the solution.

So, I'll just flag it as duplicate so that the comment with the solution will stay visible.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.