View previous topic :: View next topic |
Author |
Message |
Grothendieck n00b
Joined: 24 Jan 2007 Posts: 26 Location: Warszawa, Polska
|
Posted: Thu Dec 08, 2011 10:09 am Post subject: firefox+mozplugger doesnot swallow libreoffice |
|
|
Hi Guys,
after switching from OpenOffice to LibreOffice and upgrading Firefox to 8.0 my Firefox with Mozplugger stopped swallowing Office windows. There is no problem with opening the files, they just stay in separate windows. Moreover these windows are disconnected from the Firefox, i.e. they do NOT close when the parent tab or the whole Firefox is closed.
Here is the relevant part of /etc/mozpluggerrc
Code: |
### OpenOffice
define([OO],[swallow(VCLSalFrame) fill: libreoffice -nologo -norestore -view $1 "$file"
needs_xembed swallow(VCLSalFrame) fill: libreoffice -nologo -norestore -view $1 "$file"
swallow(VCLSalFrame) fill: libreoffice -nologo $1 "$file"])
application/x-msword:doc,dot:Microsoft Word Document
application/msword:doc,dot:Microsoft Word Document
OO()
repeat noisy swallow(kword): kword "$file"
repeat noisy swallow(AbiWord) fill: abiword --nosplash --geometry +9000+9000 "$file"
|
Maybe there is a problem with the name of the window to swallow (VCLSalFrame), however I couldn't find any help on it.
Any ideas?
EDIT: Other programs are swallowed without problem, e.g. evince. |
|
Back to top |
|
|
sirlark Guru
Joined: 25 Oct 2004 Posts: 306 Location: Limerick, Ireland
|
Posted: Thu Dec 08, 2011 1:30 pm Post subject: |
|
|
Forgive me for asking about the obvious, but just to get it out of the way, are the files not being swallowed .doc and not .docx, becasue your config doesn't look like it would work for .docx
You should be able to check the window name using xwininfo _________________ Adopt an unanswered post today |
|
Back to top |
|
|
Grothendieck n00b
Joined: 24 Jan 2007 Posts: 26 Location: Warszawa, Polska
|
Posted: Thu Dec 08, 2011 3:07 pm Post subject: |
|
|
Those not swallowed are doc. The config is missing docx entry and trying to open such a document results in opening the standard Firefox download dialog asking me if I want to download the file or open it with a selected program (as expected). Yep I know xwininfo, can I use it with mozpluggerrc? Anybody knows the reason why "swallow(evince)" works for evince but libreoffice needs this "VCLSalFrame" thing?
Thanks for the answer, cheers! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|