There is a very elegant solution to use shortkeys to search the internet (or translate on Google Translation etc) a text selected in a text editor/viewer, but that solution does not seem to work in programs installed under Wine, like Notepad and Office 2007.
I wander what the cause might be and whether there is a way to make it work.
(I created this question to bring this into spotlight, but in the end it may be closed as duplicate of the other one, and its answers migrated there. So, in case you feel like closing this, please wait until an accepted answer is posted, or even better try to answer it - here or there.)
Edit after IgnitE's comments:
A problem is that a text selected in a wine application it is not directly available outside wine. That might make unusable the script in the linked answer, which involves
xclip
(and that is clearly outside Wine).Wine is a Linux program. I use libreoffice and office2007 for translating, writing and editing texts and want to be able to use shortcuts to search selected text in search engines or to translate it quickly in the same way. it saves me a lot of time and am already able to do it in libreoffice.
Why not writing a wine script? winetricks is nothing but that
solution, you provided is making me search inside wine
. what is the solution you are reffering to? you mean the answer below on PDFXchange? in my case it opens my default Ubuntu browser, Firefox. It is an instance of a Wine text viewer from which selected text is searched outside Wine.